/*
Theme Name: Cotswold Clean - Végleges (Gmail, Reszponzív, WhatsApp, Facebook, Videó, About Us)
Theme URI: https://example.com
Author: Gemini AI
Description: Teljesen testreszabható WordPress sablon helyi takarítócég számára Chipping Norton területén. Tartalmazza a háttérvideót, About Us szekciót, 6 szolgáltatáskártyát, WhatsApp & Facebook integrációt, reszponzív dizájnt, valamint a közvetlen Google Gmailre (WordPress wp_mail funkción keresztül) futó árajánlatkérő űrlapot.
Version: 5.0
Text Domain: cotswold-clean
*/

:root {
    --primary: #1b4332;
    --secondary: #2d6a4f;
    --accent: #d8f3dc;
    --dark: #1f2937;
    --light: #f9fafb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigáció (Teljesen reszponzív mobilra és tabletre) */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 45px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-phone {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Social ikonok */
.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-wa {
    background-color: #25D366;
}

.social-fb {
    background-color: #1877F2;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

/* Hero szekció (Videó + Kép borító) */
.hero {
    position: relative;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.52);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 30px;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-wa-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.btn-wa-hero:hover {
    opacity: 0.92;
}

.btn-wa-hero svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* About Us (Rólunk) szekció */
.about-section {
    background: var(--white);
    padding: 80px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    object-fit: cover;
    max-height: 420px;
}

.about-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text h2 {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.25;
}

.about-text p {
    margin-bottom: 15px;
    color: #4b5563;
    font-size: 1.02rem;
}

.about-highlights {
    list-style: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.about-highlights li span {
    color: var(--secondary);
    font-weight: 800;
}

/* Szolgáltatások szekció */
.services {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
    color: #4b5563;
    font-size: 1.02rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--secondary);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.25rem;
}

.card p {
    color: #4b5563;
    font-size: 0.98rem;
}

/* Kapcsolat / Ajánlatkérés szekció */
.quote-section {
    background: var(--accent);
    padding: 80px 20px;
}

.quote-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Lebegő WhatsApp gomb a sarokban */
.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.25s;
}

.floating-wa:hover {
    transform: scale(1.08);
}

.floating-wa svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Reszponzív optimalizáció táblagépre és mobilra */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        text-align: center;
    }
    .about-image img {
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
    }
    nav ul {
        justify-content: center;
        gap: 15px;
    }
    .header-right {
        justify-content: center;
        width: 100%;
    }
    .hero {
        padding: 90px 15px;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero p {
        font-size: 1.05rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .quote-box {
        padding: 25px 20px;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
