/* ============================================
   Broomall Wallpaper Installers - Main Stylesheet
   Design: Organic Modern Luxury
   ============================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
    --primary-bg: #2D3832;
    --secondary-bg: #3D4A43;
    --light-section: #F5F1E8;
    --text-light: #F8F6F1;
    --text-dark: #2E332F;
    --accent: #BC9B68;
    --accent-hover: #A68757;
    --white: #FFFFFF;
    --border-light: rgba(188, 155, 104, 0.2);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-bg);
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone,
.header-email {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.header-phone:hover,
.header-email:hover {
    color: var(--accent);
}

/* === NAVIGATION === */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.nav-list > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background 0.3s, color 0.3s;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    background: rgba(188, 155, 104, 0.15);
    color: var(--accent);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--primary-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background: rgba(188, 155, 104, 0.1);
    color: var(--accent);
}

/* === MOBILE MENU === */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: var(--primary-bg);
    z-index: 1050;
    padding: 80px 24px 40px;
    overflow-y: auto;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}

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

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    transition: all 0.3s;
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 16px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background 0.3s;
}

.mobile-nav-list li a:hover {
    background: rgba(188, 155, 104, 0.15);
    color: var(--accent);
}

.mobile-nav-list .mobile-dropdown-title {
    padding: 14px 16px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-list .mobile-sub-item a {
    padding-left: 32px;
    font-size: 0.9rem;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
}

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

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--primary-bg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-text p {
    color: rgba(248, 246, 241, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-text .hero-cta {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    min-height: 56px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(188, 155, 104, 0.3);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary-bg);
}

.btn-dark {
    background: var(--primary-bg);
    color: var(--text-light);
}

.btn-dark:hover {
    background: var(--secondary-bg);
    transform: translateY(-2px);
}

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

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

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

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

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

.section-header p {
    color: rgba(46, 51, 47, 0.7);
    font-size: 1.05rem;
}

.section-dark .section-header p {
    color: rgba(248, 246, 241, 0.7);
}

/* === SERVICES GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card-img {
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 24px;
}

.service-card-body h3 {
    margin-bottom: 0.5rem;
}

.service-card-body p {
    color: rgba(46, 51, 47, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-card-body a {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-body a:hover {
    color: var(--accent-hover);
}

/* === AREAS GRID === */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.area-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(188, 155, 104, 0.15);
    transition: all 0.3s;
}

.area-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.area-card span {
    font-weight: 600;
    color: var(--text-dark);
}

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

.feedback-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    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: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(45, 56, 50, 0.15);
    border-radius: var(--radius-sm);
    background: var(--light-section);
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(188, 155, 104, 0.1);
}

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

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

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--primary-bg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    min-height: 56px;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(188, 155, 104, 0.3);
}

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

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

/* === WHY CHOOSE US === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(188, 155, 104, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
}

.section-dark .feature-icon {
    background: rgba(188, 155, 104, 0.15);
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(188, 155, 104, 0.1);
}

.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: rgba(46, 51, 47, 0.8);
    margin-bottom: 16px;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* === MAP === */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

/* === CTA SECTION === */
.cta-section {
    background: var(--accent);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-bg);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(45, 56, 50, 0.8);
    max-width: 600px;
    margin: 0 auto 24px;
}

.cta-inline {
    background: var(--light-section);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

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

.cta-inline p {
    margin-bottom: 20px;
    color: rgba(46, 51, 47, 0.7);
}

/* === FOOTER === */
.site-footer {
    background: var(--primary-bg);
    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-col h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-col p {
    color: rgba(248, 246, 241, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.footer-col ul li a {
    color: rgba(248, 246, 241, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

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

/* === STICKY QUOTE BUTTON === */
.sticky-quote-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    padding: 16px 28px;
    background: var(--accent);
    color: var(--primary-bg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(188, 155, 104, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.sticky-quote-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(188, 155, 104, 0.5);
}

/* === MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 50%;
    background: var(--light-section);
    border: none;
    transition: all 0.3s;
    z-index: 10;
}

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

/* === PAGE HEADER (INNER PAGES) === */
.page-header {
    background: var(--primary-bg);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--text-light);
}

.page-header p {
    color: rgba(248, 246, 241, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 12px 0;
    background: var(--light-section);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb-list li a {
    color: var(--accent);
}

.breadcrumb-list li a:hover {
    text-decoration: underline;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 8px;
    color: rgba(46, 51, 47, 0.4);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li:last-child {
    color: rgba(46, 51, 47, 0.6);
}

/* === CONTENT PAGES === */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-section h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

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

.content-section ul {
    list-style: disc;
}

.content-section ol {
    list-style: decimal;
}

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

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(45, 56, 50, 0.1);
    padding: 24px 0;
}

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

.faq-item p {
    color: rgba(46, 51, 47, 0.75);
    line-height: 1.7;
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(188, 155, 104, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-info-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--accent);
}

.contact-info-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* === ABOUT PAGE === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .main-nav {
        display: none;
    }

    .header-contact {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        min-height: 70vh;
        padding: 100px 0 60px;
    }

    .hero-text .hero-cta {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feedback-form-container {
        padding: 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .sticky-quote-btn {
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
    }

    .sticky-quote-btn:hover {
        transform: translateX(50%) translateY(-3px);
    }

    .page-header {
        padding: 110px 0 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* === IMAGE GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* === NEIGHBORHOODS LIST === */
.neighborhoods-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.neighborhoods-list li {
    padding: 10px 16px;
    background: var(--light-section);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* === INTERNAL LINKS SECTION === */
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.related-links a {
    padding: 10px 20px;
    background: var(--light-section);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.related-links a:hover {
    background: var(--accent);
    color: var(--primary-bg);
    border-color: var(--accent);
}
