/* ==========================================================================
   BOSTON WALLPAPER HANGER - GLOBAL STYLES
   ========================================================================== */

/* Variables */
:root {
    --primary-bg: #D4BFA7; /* Sandstone */
    --secondary-bg: #B89D84; /* Warm Clay */
    --light-bg: #F8F4ED; /* Soft Ivory */
    --text-dark: #FCFAF6; /* Warm White (on dark bg) */
    --text-light: #2F2924; /* Espresso Brown (on light bg) */
    --accent: #B97745; /* Brushed Copper */
    --accent-hover: #9F6337;
    
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 4px;
    --box-shadow: 0 10px 30px rgba(47, 41, 36, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--light-bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

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

.section-clay {
    background-color: var(--secondary-bg);
    color: var(--text-dark);
}

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

/* Typography Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #FFFFFF;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-hover);
    color: #FFFFFF;
}

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

.btn-outline:hover {
    background-color: var(--accent);
    color: #FFFFFF;
}

/* Header & Navigation */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.top-bar {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 8px 0;
    font-size: 14px;
}

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

.top-bar a {
    color: var(--text-dark);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu > li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-family: var(--font-heading);
    padding: 10px 0;
    display: block;
}

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

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    min-width: 220px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    font-size: 15px;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-bg);
    overflow: hidden;
}

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

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Contact Form - REQUIRED STRUCTURE */
.feedback-form-container {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.feedback-form-container h3 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-light);
}

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

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

.form-row .form-group {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0D8D0;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 16px;
    background-color: #FAFAFA;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #FFFFFF;
}

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

.submit-btn {
    width: 100%;
    background-color: var(--accent);
    color: #FFFFFF;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent-hover);
}

#form-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
}

/* Layout Blocks */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 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: 20px;
}

.card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    height: 100%;
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.image-block {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Features List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Sticky Button & Modal */
.sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    background-color: var(--accent);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(185, 119, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.sticky-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: white;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 41, 36, 0.8);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
}

/* Footer */
.footer {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 80px 0 30px;
}

.footer h3 {
    color: var(--primary-bg);
    margin-bottom: 20px;
}

.footer p, .footer a {
    color: rgba(252, 250, 246, 0.8);
}

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

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 14px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0D8D0;
}

.breadcrumbs a {
    color: var(--text-light);
}

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

.breadcrumbs span {
    margin: 0 10px;
    color: #999;
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #E0D8D0;
    border-radius: var(--border-radius);
    background-color: #FFFFFF;
}

.faq-question {
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Inner Page Headers */
.page-header {
    background-color: var(--primary-bg);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 100vh;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu > li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background-color: transparent;
        display: none;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    
    /* Sticky Button */
    .sticky-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        text-align: center;
    }
    
    .sticky-btn:hover {
        transform: translateX(50%) translateY(-2px);
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .top-bar {
        display: none;
    }
}
