/* Elite Wallpaper Trends - Austin, TX */
/* Unique Design with Wallpaper-Inspired Animations */

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

/* ===== CSS Variables ===== */
:root {
    --primary-bg: #C4A484;          /* Muted clay/terracotta */
    --secondary-bg: #E8DDD4;        /* Warm sand */
    --dark-section: #3D2B1F;        /* Deep cocoa brown */
    --text-dark: #2C2420;           /* Dark brown-gray */
    --text-light: #FAF7F5;          /* Warm off-white */
    --accent: #4A6670;              /* Desaturated teal */
    --accent-charcoal: #3A3A3A;     /* Charcoal accent */
    --gold-accent: #B8860B;         /* Subtle gold */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 4px 20px rgba(61, 43, 31, 0.15);
    --shadow-strong: 0 8px 40px rgba(61, 43, 31, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-dark);
    background-color: var(--secondary-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1.25rem;
    font-weight: 400;
}

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

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

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

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark-section);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contact {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.top-bar-contact a:hover {
    color: var(--primary-bg);
}

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

.top-bar-address {
    color: rgba(250, 247, 245, 0.8);
    font-weight: 300;
}

/* ===== Header ===== */
header {
    background: var(--secondary-bg);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-section);
    letter-spacing: -0.5px;
}

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

/* ===== Navigation with Wallpaper Unroll Animation ===== */
nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li > a {
    display: block;
    padding: 12px 18px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    border-radius: 6px;
    letter-spacing: 0.3px;
}

nav ul li > a:hover {
    background: rgba(196, 164, 132, 0.3);
    color: var(--dark-section);
}

/* Dropdown - Wallpaper Unroll Effect */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--dark-section);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transform: scaleY(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

nav ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

/* Staggered appearance animation for dropdown items */
.dropdown a {
    display: block;
    padding: 14px 22px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid rgba(250, 247, 245, 0.08);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Wallpaper pattern overlay on hover */
.dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-bg), var(--gold-accent));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown a:hover::before {
    transform: scaleY(1);
}

.dropdown a:hover {
    background: rgba(196, 164, 132, 0.15);
    padding-left: 30px;
    color: var(--primary-bg);
}

.dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

/* Staggered animation delays */
nav ul li:hover .dropdown a:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.05s; }
nav ul li:hover .dropdown a:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.1s; }
nav ul li:hover .dropdown a:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }
nav ul li:hover .dropdown a:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.2s; }
nav ul li:hover .dropdown a:nth-child(5) { opacity: 1; transform: translateX(0); transition-delay: 0.25s; }
nav ul li:hover .dropdown a:nth-child(6) { opacity: 1; transform: translateX(0); transition-delay: 0.3s; }
nav ul li:hover .dropdown a:nth-child(7) { opacity: 1; transform: translateX(0); transition-delay: 0.35s; }
nav ul li:hover .dropdown a:nth-child(8) { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
nav ul li:hover .dropdown a:nth-child(9) { opacity: 1; transform: translateX(0); transition-delay: 0.45s; }
nav ul li:hover .dropdown a:nth-child(10) { opacity: 1; transform: translateX(0); transition-delay: 0.5s; }

/* CTA Button in Nav */
.nav-cta {
    background: var(--dark-section) !important;
    color: var(--text-light) !important;
    border-radius: 30px !important;
    padding: 12px 26px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(61, 43, 31, 0.3);
}

.nav-cta:hover {
    background: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 43, 31, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark-section);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, rgba(61, 43, 31, 0.85), rgba(74, 102, 112, 0.75)), 
                url('/assets/images/hero-austin-wallpaper-installation.webp') center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

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

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

.hero-text h1 {
    margin-bottom: 24px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-text h1 span {
    color: var(--primary-bg);
    display: block;
    font-style: italic;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(250, 247, 245, 0.12);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 247, 245, 0.15);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-bg);
}

/* Hero Form */
.hero-form {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
}

.hero-form h3 {
    color: var(--dark-section);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6rem;
}

/* ===== Form Styles ===== */
.feedback-form-container {
    max-width: 100%;
}

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

.contact-form .form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(61, 43, 31, 0.15);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    background: #fff;
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(74, 102, 112, 0.1);
}

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

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

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: var(--dark-section);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 102, 112, 0.4);
}

#form-success {
    text-align: center;
    padding: 30px;
    color: var(--accent);
    font-weight: 500;
}

/* ===== Section Styles ===== */
.section-light {
    background: var(--secondary-bg);
    padding: 100px 0;
}

.section-clay {
    background: var(--primary-bg);
    padding: 100px 0;
}

.section-dark {
    background: var(--dark-section);
    color: var(--text-light);
    padding: 100px 0;
}

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

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ===== Content Section ===== */
.content-section {
    padding: 100px 0;
}

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

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.content-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

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

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

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

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

.service-card-content {
    padding: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-section);
}

.service-card p {
    font-size: 15px;
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link:hover {
    color: var(--dark-section);
    gap: 12px;
}

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

.area-card {
    background: rgba(250, 247, 245, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(250, 247, 245, 0.15);
    transition: var(--transition-smooth);
}

.section-dark .area-card:hover {
    background: rgba(250, 247, 245, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-bg);
}

.area-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.area-card p {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 0;
}

/* ===== Portfolio Gallery ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(61, 43, 31, 0.9));
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

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

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: var(--font-heading);
    font-size: 80px;
    color: var(--primary-bg);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-author-info p {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 0;
}

/* ===== Map Section ===== */
.map-section {
    background: var(--dark-section);
    padding: 80px 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.map-container img,
.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--text-light);
    color: var(--dark-section);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.3);
    background: var(--primary-bg);
    color: var(--dark-section);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, rgba(61, 43, 31, 0.9), rgba(74, 102, 112, 0.8)), 
                url('/assets/images/texas-interior-design-wallpaper.webp') center/cover no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--primary-bg);
}

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

/* ===== FAQ Section ===== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    color: var(--dark-section);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-dark);
    opacity: 0.85;
}

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

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

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about h3 span {
    color: var(--primary-bg);
    font-style: italic;
}

.footer-about p {
    opacity: 0.8;
    font-size: 15px;
}

footer h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--primary-bg);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul a {
    opacity: 0.8;
    font-size: 14px;
}

footer ul a:hover {
    opacity: 1;
    color: var(--primary-bg);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-bg);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 247, 245, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ===== Sticky Quote Button ===== */
.sticky-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 18px 35px;
    background: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(74, 102, 112, 0.5);
    z-index: 999;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-quote-btn:hover {
    background: var(--dark-section);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(61, 43, 31, 0.5);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 43, 31, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.modal-content {
    background: var(--secondary-bg);
    padding: 50px;
    border-radius: 25px;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-dark);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-bg);
        padding: 20px;
        display: none;
        box-shadow: var(--shadow-soft);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li > a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(61, 43, 31, 0.1);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
        box-shadow: none;
        border-radius: 0;
        display: none;
    }
    
    nav ul li:hover .dropdown {
        display: block;
    }
    
    .dropdown a {
        opacity: 1;
        transform: translateX(0);
        padding-left: 40px;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-form {
        padding: 30px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sticky-quote-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .sticky-quote-btn:hover {
        transform: translateX(50%) translateY(-4px);
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes unrollWallpaper {
    from { 
        transform: scaleY(0);
        opacity: 0;
    }
    to { 
        transform: scaleY(1);
        opacity: 1;
    }
}

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

.slide-up {
    animation: slideUp 0.6s ease forwards;
}
