/* ==========================
   Washer Theme - Acton-style design
   From dev-html - Elegant minimal design
   ========================== */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #18446e;
    --primary-light-color: #2876a4;
    --secondary-color: #94cdde;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --teal-border: #14b8a6;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

.container-full {
    width: 100%;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1, .h1 { font-size: 2.5rem; font-weight: 700; }
h2, .h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3, .h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
strong { color: var(--text-dark); }
iframe{ border: none; width: 100%; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); }
/* === HEADER & NAVIGATION === */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}
.logo a { color: inherit; }
.logo-text strong { display: block;  }
.logo-text span { display: block; font-size: 0.875rem; color: var(--primary-light-color); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

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

.dropdown { position: relative; }
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
}
.dropdown-toggle::after { content: '▼'; font-size: 0.7rem; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}
.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-light-color);
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--bg-white);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}
.mobile-menu-toggle:hover {
    border-color: rgba(30, 58, 138, 0.25);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}
.mobile-menu-toggle-box {
    width: 1.25rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
}
.mobile-menu-toggle-line {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
}
.mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-light-color);  color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3); }
.btn-secondary { background-color: white; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3); }
.btn-accent { background-color: var(--accent-color); color: white; }
.btn-accent:hover { background-color: #d97706; color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.phone-btn.is-loading { opacity: 0.8; cursor: progress; }

/* === HERO === */
.hero {
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    color: var(--text-dark);
    text-align: center;
}
.hero-bg {
    background-image: url('../images/banner.webp');
    overflow: hidden;
    background-attachment: fixed;
}
.hero-bg .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: #FFF;
    background: linear-gradient(90deg,rgba(242, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}
.hero .container,
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-label {
    display: inline-block;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero h1 { font-size: 3rem; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats, .hero-features {
    display: flex;
    justify-content: space-around;
    gap: 1rem 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(30, 58, 138, 0.2);
    flex-wrap: wrap;
}

.hero-feature-icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }
.stat-item, .feature-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); display: block; margin-bottom: 0.5rem; }
.stat-label { font-size: 1rem; color: var(--text-light); font-weight: 500; }

.brand-hero .hero-features { border-color:rgba(255, 255, 255, 0.2); }
.brand-hero .stat-label { color: white; }
.brand-hero .hero-subtitle { color: white; }
.brand-hero .hero-content { max-width: 100%; }

/* === BRANDS SECTION === */
.brands-section { padding: 5rem 0; background-color: var(--bg-light); }
.brands-section h2 { text-align: center; color: var(--text-dark); margin-bottom: 3rem; }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}
.brand-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    text-decoration: none;
    color: inherit;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
.brand-logo { height: 60px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.brand-name { font-size: 1.5rem; font-weight: 700; color: #E31B23; }

/* === CONTENT SECTION === */
.content-section { padding: 5rem 0; background-color: var(--bg-white); }
.content-section h2 { color: var(--primary-color); margin-top: 3rem; margin-bottom: 1.5rem; }
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { color: var(--text-dark); margin-top: 2rem; margin-bottom: 1rem; }
.content-section p { margin-bottom: 1.5rem; }
.content-section ul { margin: 1.5rem 0; padding-left: 1rem; }
.content-section li { margin-bottom: 0.5rem; color: var(--text-light); }

.contact-block,
.seo-content address {
    background-color: var(--bg-light);
    border-left: 4px solid var(--teal-border);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 4px;
}
.contact-block h3,
.seo-content address strong { color: var(--primary-color); font-size: 1.25rem; margin-bottom: 1rem; }
.contact-block p { margin-bottom: 0.5rem; color: var(--text-dark); }
.contact-block a { color: var(--secondary-color); font-weight: 500; }
.contact-block a:hover { text-decoration: underline; }

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light-color) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    width: 100%;
}
.cta-section h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section p { color: rgba(255, 255, 255, 0.9); font-size: 1.25rem; margin-bottom: 2rem; }

/* === FOOTER === */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}
.footer-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-bottom: 2rem; }
.footer-section .h3 { color: white; margin-bottom: 1.5rem; }
.footer-section p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s ease; }
.footer-section a:hover { color: white; }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* === CONTACT PAGE === */
.contact-page { padding: 5rem 0; background-color: var(--bg-light); }
.contact-form {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group label .required { color: var(--error-color); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--error-color); font-size: 0.875rem; margin-top: 0.25rem; display: none; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--error-color); }
.form-group.error .form-error { display: block; }

/* === BRAND PAGES === */
.brand-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light-color) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}
.brand-logo-large { height: 80px; width: auto; margin: 0 auto 2rem; display: block; }
.brand-hero h1 { color: white; margin-bottom: 1rem; }
.brand-hero-subtitle { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 2.5rem; }
.brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}
.brand-stat-item { text-align: center; }
.brand-stat-number { font-size: 2.5rem; font-weight: 700; color: white; display: block; margin-bottom: 0.5rem; }
.brand-stat-label { font-size: 1rem; color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.brand-hero .brand-name-large { font-size: 4rem; color: white; font-weight: 700; }

/* === 404 PAGE === */
.error-404-section {
    padding: 4rem 0 6rem;
}
.error-404-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}
.error-404-header {
    margin-bottom: 2rem;
}
.error-404-code {
    font-size: clamp(5rem, 12vw, 8rem);
    line-height: 1;
    font-weight: 700;
    color: #d1d5db;
    margin-bottom: 1rem;
}
.error-404-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
}
.error-404-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0;
}
.error-404-message {
    background-color: var(--bg-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.error-404-message p {
    color: var(--text-dark);
    margin-bottom: 0;
}
.error-404-actions {
    display: flex;
    justify-content: center;
}
.error-404-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.error-404-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }
    .logo {
        flex: 1;
        min-width: 0;
    }
    .logo img {
        width: 58px;
    }
    .nav {
        position: relative;
        margin-left: auto;
    }
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 0.9rem);
        right: 0;
        left: auto;
        width: min(22rem, calc(100vw - 2rem));
        background: var(--bg-white);
        border: 1px solid rgba(30, 58, 138, 0.1);
        border-radius: 1.25rem;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
        padding: 1rem;
        gap: 0.35rem;
        z-index: 1001;
    }
    .nav-links::before {
        content: '';
        position: absolute;
        top: -0.45rem;
        right: 1.5rem;
        width: 0.9rem;
        height: 0.9rem;
        background: var(--bg-white);
        border-top: 1px solid rgba(30, 58, 138, 0.1);
        border-left: 1px solid rgba(30, 58, 138, 0.1);
        transform: rotate(45deg);
    }
    .nav-links > li {
        width: 100%;
    }
    .nav-links > li > a,
    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.95rem 1rem;
        border-radius: 0.9rem;
        color: var(--text-dark);
        font-weight: 600;
        background-color: transparent;
    }
    .nav-links > li > a:hover,
    .dropdown-toggle:hover {
        color: var(--primary-color);
        background-color: rgba(30, 58, 138, 0.06);
    }
    .dropdown {
        position: static;
    }
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    .dropdown-toggle::after {
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }
    .dropdown.is-open .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    .dropdown.is-open:hover .dropdown-menu {
        display: block;
    }
    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 0.35rem;
        padding: 0.5rem;
        border-radius: 1rem;
        background-color: rgba(249, 250, 251, 0.95);
        box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.08);
    }
    .dropdown.is-open .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 0.85rem 1rem;
        border-radius: 0.8rem;
        font-size: 0.95rem;
    }
    .dropdown-menu a:hover {
        background-color: var(--bg-white);
        color: var(--primary-color);
    }
    .nav-phone-item {
        margin-top: 0.5rem;
    }
    .nav-phone-item .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.25rem;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats, .hero-features { flex-direction: column; }
    .feature-item { display: flex; justify-content: center; gap: 5px; }
    .hero-feature-icon{ margin-bottom: 0; margin-top: 4px;}
    .stat-label{ align-self: center; }
    .brands-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .brand-stats { grid-template-columns: 1fr; }
    .error-404-section { padding: 3rem 0 4rem; }
    .error-404-message { padding: 1.25rem; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .contact-form { padding: 1.5rem; }
    .nav-links.active {
        width: calc(100vw - 1.5rem);
        right: -0.50rem;
    }
    
    .mobile-menu-toggle-label {
        display: none;
    }
}
