/* ============================================
   FORT MYERS ATELIER - PREMIUM WALLCOVERING STUDIO
   Florida Luxury, Modern Editorial Design
   ============================================ */

/* ============================================
   ROOT & BASE
   ============================================ */

:root {
    --ivory: #fdfcf8;
    --sand: #f5f1e9;
    --white: #ffffff;
    --palm: #8ca68c;
    --teal: #5f9ea0;
    --charcoal: #1f2937;
    --gold: #d4af37;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    --radius-sm: 20px;
    --radius-lg: 40px;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-serif);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.section-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--palm);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--palm);
    color: white;
}

.btn-primary:hover {
    background-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(95, 158, 160, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--charcoal);
    transform: translateY(-5px);
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border-bottom: 2px solid var(--gold);
    border-radius: 0;
    padding: 10px 0;
    color: var(--charcoal);
}

.btn-outline:hover {
    color: var(--palm);
}

.btn-text {
    text-decoration: none;
    color: var(--palm);
    font-weight: 700;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-text:hover {
    transform: translateX(10px);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--charcoal);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone-link {
    font-weight: 700;
    color: var(--charcoal);
    text-decoration: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-full {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 2rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.hero-glass-card h3 {
    margin-bottom: 1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 10rem 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    height: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.about-text h2 {
    margin-bottom: 2.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 10rem 0;
    background-color: var(--sand);
    border-radius: var(--radius-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-15px);
    border-bottom: 5px solid var(--gold);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose {
    padding: 10rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.benefit-block {
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   SHOWCASE SECTION
   ============================================ */

.showcase {
    padding: 10rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.showcase-images {
    position: relative;
    height: 500px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.before, .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.before {
    background: #e5e7eb;
    z-index: 1;
}

.after {
    background-size: cover;
    background-position: center;
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.5s ease;
}

.showcase-images:hover .after {
    clip-path: inset(0 0 0 0);
}

.before span, .after span {
    background: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 10rem 0;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.gallery-item.large {
    grid-row: span 2;
}

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

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-item:hover .gallery-info {
    opacity: 1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 10rem 0;
}

.testimonials-slider {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scrollbar-width: none;
}

.testimonial-card {
    min-width: 400px;
    background: var(--sand);
    padding: 4rem;
    border-radius: var(--radius-sm);
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-meta strong {
    display: block;
    color: var(--palm);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 10rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
}

summary {
    padding: 2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--palm);
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 2rem 2rem;
    color: var(--charcoal);
    opacity: 0.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 10rem 0;
    background: linear-gradient(135deg, var(--sand) 0%, var(--white) 100%);
}

.contact-glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    box-shadow: var(--shadow);
}

.contact-details {
    margin-top: 3rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--palm);
}

.contact-form-container .btn {
    width: 100%;
}

.success-message {
    text-align: center;
    padding: 4rem;
}

.success-message h3 {
    color: var(--palm);
}

/* ============================================
   MAPS SECTION
   ============================================ */

.maps {
    padding: 4rem 0;
}

.maps iframe {
    border-radius: var(--radius-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--charcoal);
    color: white;
    padding: 8rem 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer h4 {
    margin-bottom: 2rem;
    color: var(--gold);
}

.footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ============================================
   STICKY CALL BUTTON
   ============================================ */

.sticky-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--palm);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
    display: none;
}

/* ============================================
   FLOATING CTA
   ============================================ */

.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--teal);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.floating-cta:hover {
    transform: scale(1.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-container, .about-layout, .contact-glass {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-full {
        height: auto;
        padding: 8rem 0;
    }
    
    .sticky-call {
        display: block;
    }
    
    .floating-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-cta, .nav {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-glass {
        padding: 3rem;
    }
    
    .testimonial-card {
        min-width: 300px;
        padding: 2rem;
    }
}
