/* Modern Wallpaper Installation - Main Stylesheet */
/* Color Palette & Design System */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
    --primary-bg: #D7CDBE;
    --secondary-bg: #9E9487;
    --light-section: #F7F3EC;
    --text-light: #FAF8F4;
    --text-dark: #3B3732;
    --accent: #B79A74;
    --accent-hover: #A28461;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(59, 55, 50, 0.06);
    --shadow-md: 0 4px 20px rgba(59, 55, 50, 0.1);
    --shadow-lg: 0 8px 40px rgba(59, 55, 50, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-section);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-top {
    background: var(--text-dark);
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.header-top a {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top a:hover {
    color: var(--accent);
}

.header-top svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-main {
    padding: 16px 0;
}

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

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > li {
    list-style: none;
    position: relative;
}

.main-nav > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.main-nav > li > a:hover {
    background: var(--light-section);
    color: var(--accent);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.main-nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    list-style: none;
    opacity: 0;
    transform: translateX(-10px);
    animation: dropdownItemIn 0.3s ease forwards;
}

.dropdown li:nth-child(1) { animation-delay: 0.05s; }
.dropdown li:nth-child(2) { animation-delay: 0.1s; }
.dropdown li:nth-child(3) { animation-delay: 0.15s; }
.dropdown li:nth-child(4) { animation-delay: 0.2s; }
.dropdown li:nth-child(5) { animation-delay: 0.25s; }
.dropdown li:nth-child(6) { animation-delay: 0.3s; }
.dropdown li:nth-child(7) { animation-delay: 0.35s; }
.dropdown li:nth-child(8) { animation-delay: 0.4s; }
.dropdown li:nth-child(9) { animation-delay: 0.45s; }
.dropdown li:nth-child(10) { animation-delay: 0.5s; }
.dropdown li:nth-child(11) { animation-delay: 0.55s; }

.main-nav > li:not(:hover) .dropdown li {
    opacity: 0;
    transform: translateX(-10px);
    animation: none;
}

@keyframes dropdownItemIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--light-section);
    color: var(--accent);
    padding-left: 26px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px auto;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    min-width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1050;
    padding: 80px 30px 40px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-section);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: var(--accent);
    color: var(--white);
}

.mobile-nav-close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav > ul > li {
    border-bottom: 1px solid rgba(59, 55, 50, 0.08);
}

.mobile-nav > ul > li > a {
    display: block;
    padding: 16px 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Manrope', sans-serif;
}

.mobile-nav .mobile-dropdown-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.mobile-nav .mobile-dropdown-title svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.mobile-nav .mobile-dropdown-title.active svg {
    transform: rotate(180deg);
}

.mobile-nav .mobile-sub {
    display: none;
    padding: 0 0 12px 16px;
}

.mobile-nav .mobile-sub.active {
    display: block;
}

.mobile-nav .mobile-sub li a {
    display: block;
    padding: 10px 0;
    color: var(--secondary-bg);
    font-size: 0.92rem;
    transition: var(--transition);
}

.mobile-nav .mobile-sub li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 55, 50, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 110px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 55, 50, 0.75) 0%, rgba(59, 55, 50, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 0;
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.hero-content p {
    color: rgba(250, 248, 244, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #2E2925;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #2E2925;
    box-shadow: 0 4px 16px rgba(183, 154, 116, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light-section);
}

.section-primary {
    background: var(--primary-bg);
}

.section-dark {
    background: var(--text-dark);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3 {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header p {
    color: var(--secondary-bg);
    font-size: 1.05rem;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    margin-bottom: 12px;
}

.card-body p {
    color: var(--secondary-bg);
    font-size: 0.95rem;
}

/* ===== FORM STYLES ===== */
.feedback-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
}

.feedback-form-container h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(59, 55, 50, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--light-section);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(183, 154, 116, 0.15);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .form-submit {
    margin-top: 8px;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent);
    color: #2E2925;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(183, 154, 116, 0.4);
    transform: translateY(-2px);
}

#form-success {
    text-align: center;
    padding: 30px;
}

#form-success p {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1rem;
}

/* ===== CTA SECTION ===== */
.cta-block {
    text-align: center;
    padding: 40px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.cta-block h3 {
    margin-bottom: 12px;
}

.cta-block p {
    margin-bottom: 20px;
    color: var(--text-dark);
    opacity: 0.85;
}

/* ===== MAP ===== */
.map-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 30px 0;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== STICKY QUOTE BUTTON ===== */
.sticky-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    padding: 16px 28px;
    background: var(--accent);
    color: #2E2925;
    border: none;
    border-radius: 60px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.sticky-quote-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(183, 154, 116, 0.5);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 55, 50, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--light-section);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(250, 248, 244, 0.7);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-col h4 {
    color: var(--text-light);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(250, 248, 244, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 244, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(250, 248, 244, 0.5);
    font-size: 0.85rem;
}

/* ===== PAGE SPECIFIC ===== */
.page-hero {
    margin-top: 110px;
    padding: 60px 0;
    background: var(--primary-bg);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--secondary-bg);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Service page content */
.content-section {
    padding: 50px 0;
}

.content-section h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(59, 55, 50, 0.08);
}

.content-section h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.content-section ul, .content-section ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--secondary-bg);
    font-size: 0.95rem;
}

/* Contact page */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-info-item svg {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.contact-info-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-info-item p, .contact-info-item a {
    color: var(--secondary-bg);
    font-size: 0.9rem;
}

/* Areas served grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.area-link {
    display: block;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.area-link:hover {
    background: var(--accent);
    color: #2E2925;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Image with text section */
.img-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.img-text-section img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.img-text-section.reverse {
    direction: rtl;
}

.img-text-section.reverse > * {
    direction: ltr;
}

/* Neighborhoods list */
.neighborhoods-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.neighborhoods-list li {
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border-left: 3px solid var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero {
        min-height: 70vh;
        margin-top: 90px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .img-text-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .img-text-section.reverse {
        direction: ltr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .feedback-form-container {
        padding: 24px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .sticky-quote-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .sticky-quote-btn:hover {
        transform: translateX(50%) translateY(-3px);
    }
    
    .page-hero {
        margin-top: 90px;
        padding: 40px 0;
    }
    
    .header-top .container {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .feedback-form-container {
        padding: 20px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Animation for fadeIn */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
