/*
Theme Name: Kozma Kft. Theme
Theme URI: https://napelem-szerviz-kozmakft.com
Author: Kozma Kft.
Author URI: https://napelem-szerviz-kozmakft.com
Description: Egyedi WordPress tema a Kozma Kft. napelemes weboldalhoz.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kozma-theme
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #0a0a0a;
    --secondary: #d4af37;
    --accent: #d4af37;
    --dark: #1a1a1a;
    --gray: #b0b0b0;
    --light: #141414;
    --white: #fff;
    --gold: #d4af37;
}
body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--primary);
    padding-bottom: 70px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.logo img {
    height: 55px;
    width: auto;
    display: block;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
nav a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: color 0.3s;
}
nav a:hover,
nav li.current-menu-item a,
nav li.current_page_item a { color: var(--gold); font-weight: 700; }
nav a.active { color: var(--gold); font-weight: 700; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.phone {
    color: #d4af37;
    font-weight: 700;
    text-decoration: none;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--gold);
    color: var(--primary);
}
.btn-primary:hover {
    background: #e5c04a;
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--gold);
    color: var(--primary);
}
.btn-accent:hover {
    background: #e5c04a;
    transform: translateY(-2px);
}
.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--primary);
}
.mobile-menu { display: none; cursor: pointer; }

/* Hero */
.hero {
    background: var(--primary);
    padding: 0;
    text-align: center;
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: var(--primary);
    text-align: center;
}
.page-header img {
    width: 100%;
    height: auto;
    display: block;
}
.page-header-content {
    padding: 50px 0;
}

/* Section base */
section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services { background: var(--primary); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--dark);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(212,175,55,0.15);
    transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212,175,55,0.4);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.service-card h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Why us */
.why-us { background: var(--dark); }
.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.why-us-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.why-us-list {
    list-style: none;
    margin-top: 25px;
}
.why-us-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.why-us-list .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.why-us-list strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

/* Brands */
.brands {
    background: var(--primary);
    text-align: center;
}
.brands h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 15px;
}
.brands p {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 30px;
}
.brands img {
    max-width: 900px;
    width: 100%;
    border-radius: 12px;
}

/* Partners */
.partners {
    background: var(--dark);
    text-align: center;
}
.partners h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 15px;
}
.partners > .container > p {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 40px;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.partner-card {
    background: var(--primary);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.15);
}
.partner-card h4 {
    color: var(--gold);
    margin-bottom: 10px;
}
.partner-card p {
    color: var(--gray);
    font-size: 0.95rem;
}
.partner-cta { margin-top: 30px; }

/* Process */
.process { background: var(--primary); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.step {
    text-align: center;
    padding: 30px;
    background: var(--dark);
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.15);
    position: relative;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 15px;
}
.step h3 {
    color: var(--white);
    margin-bottom: 10px;
}
.step p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Stats */
.stats {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('referencia-kepek-webre/fokep.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
}

/* FAQ */
.faq { background: var(--dark); }
.faq-item {
    background: var(--primary);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(212,175,55,0.15);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    color: var(--gold);
    font-weight: 600;
    cursor: pointer;
}
.faq-answer {
    padding: 0 20px 20px;
    color: var(--gray);
}

/* CTA */
.cta {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('referencia-kepek-webre/fokep.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
}
.cta h2 {
    color: var(--gold);
    font-size: 2.4rem;
    margin-bottom: 15px;
}
.cta p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact */
.contact { background: var(--primary); }
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-info h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.contact-info p {
    color: var(--gray);
    margin-bottom: 12px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px;
    border-radius: 6px;
    border: 1px solid rgba(212,175,55,0.2);
    background: var(--dark);
    color: var(--white);
    font-family: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #777; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form label { color: var(--gray); font-size: 0.9rem; }

/* Footer */
footer {
    background: #0d0d0d;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212,175,55,0.15);
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-col p,
.footer-col a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(212,175,55,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.95);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 9999;
    border-top: 1px solid rgba(212,175,55,0.3);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.sticky-cta .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
}

/* Lightbox / képnézegető */
.gallery-img {
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}
.gallery-img:hover {
    opacity: 0.85;
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.lightbox.active {
    display: flex;
}
.lightbox-img {
    max-width: 90%;
    max-height: 78%;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-close { top: 20px; right: 20px; font-size: 2.4rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
    color: var(--gray);
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
    max-width: 80%;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-card,
.gallery-item {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.15);
    position: relative;
}
.gallery-card img,
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.gallery-card:hover img,
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-card-caption {
    padding: 12px;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.85);
    color: var(--gold);
    padding: 12px;
    text-align: center;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* WordPress content */
.wp-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--gray);
    line-height: 1.8;
}
.wp-content h2 {
    color: var(--gold);
    margin: 40px 0 20px;
}
.wp-content p {
    margin-bottom: 20px;
}
.wp-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.wp-content li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    nav { display: none; position: absolute; top: 75px; left: 0; width: 100%; background: var(--primary); padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
    nav.open { display: block; }
    nav ul { flex-direction: column; gap: 15px; }
    .header-actions .btn { display: none; }
    .mobile-menu { display: block; font-size: 1.5rem; }
    .why-us-inner,
    .contact-inner { grid-template-columns: 1fr; }
    .hero { min-height: 350px; }
}
@media (max-width: 600px) {
    .hero-buttons { flex-direction: column; }
    section { padding: 60px 0; }
    .sticky-cta { flex-direction: column; align-items: center; }
    .sticky-cta .btn { width: 100%; max-width: 300px; text-align: center; }
}
