/* --- About Hero --- */
.about-hero {
    padding: 180px 5% 100px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.about-hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    transition: color 0.4s ease;
}
.dot-divider {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}
.dot-divider::before, .dot-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: rgba(220, 179, 88, 0.3);
}
.dot-divider::before { right: 20px; }
.dot-divider::after { left: 20px; }

/* --- Story Sections --- */
.bg-alternate {
    background-color: var(--bg-secondary);
    transition: background-color 0.4s ease;
}
.story-section {
    padding: 100px 5%;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.reverse-grid {
    direction: rtl;
}
.reverse-grid > * {
    direction: ltr; /* resets text direction inside */
}

.story-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}
.story-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: color 0.4s ease;
}

.story-image {
    position: relative;
    border-radius: 30px;
}
.story-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.floating-info-card {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: var(--card-bg);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    max-width: 80%;
    border: 1px solid var(--border-color);
    transition: background-color 0.4s, border-color 0.4s;
}
.floating-info-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 5px;
}
.floating-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 5%;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: background-color 0.4s, border-color 0.4s, transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(220, 179, 88, 0.3);
}
.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Bottom CTA --- */
.about-cta {
    text-align: center;
    padding: 120px 5%;
}
.about-cta h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}
.about-cta p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
    transition: color 0.4s ease;
}
.cta-btn {
    font-size: 1rem;
    padding: 15px 40px;
}

/* =========================================
   ANIMATIONS & HOVER EFFECTS
   ========================================= */

/* Hover Lifts */
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* Scroll Reveal Base States */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Specific directional slides */
.slide-left { transform: translateX(50px); }
.slide-right { transform: translateX(-50px); }
.fade-in { transform: translateY(20px); opacity: 0; }

/* In-View Activation Class (Triggered by JS) */
.in-view {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

/* Delays for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.6s; }


/* =========================================
   RESPONSIVE (ABOUT SPECIFIC)
   ========================================= */
@media screen and (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reverse-grid {
        direction: ltr; /* Remove RTL reverse trick on mobile */
    }
    .about-hero h1 { font-size: 3rem; }
    .story-text h2 { font-size: 2.5rem; }
    .floating-info-card {
        bottom: -20px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

@media screen and (max-width: 768px) {
    .about-hero { padding-top: 130px; }
    .about-hero h1 { font-size: 2.5rem; }
    .about-cta h2 { font-size: 2.5rem; }
    .story-image img { height: 400px; }
    .features-grid { grid-template-columns: 1fr; }
}

/* --- Premium Awwwards Style Features Section --- */
.awwwards-features {
    padding: 8rem 5%;
    background-color: var(--bg-color); /* Assumes you have a theme variable */
    overflow: hidden;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 10rem;
}

.feature-showcase.reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* Typography Enhancements */
.accent-gold {
    color: #D4AF37; /* Luxury Gold */
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

.split-text {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #D4AF37;
}

/* Image Reveal & Parallax Animation Base */
.image-reveal-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.parallax-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Starts slightly zoomed in */
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-visual:hover .parallax-zoom {
    transform: scale(1); /* Zooms out smoothly on hover */
}

/* Glassmorphism Floating Cards */
.glass-float-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(0, 0, 0, 0.5); /* Slightly darker for better readability over images */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 10;
    max-width: 300px;
    color: #ffffff; /* Explicitly white for contrast */
}

.left-float {
    right: auto;
    left: -30px;
}

.glass-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #D4AF37;
}

.glass-icon svg {
    width: 100%;
    height: 100%;
}

.glass-float-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
}

.glass-float-card p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85); /* Off-white for visual hierarchy */
}

/* Elegant Explore Link */
.link-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.link-explore::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.4s ease;
}

.link-explore:hover::after {
    width: 100%;
}

.link-explore span {
    transition: transform 0.3s ease;
}

.link-explore:hover span {
    transform: translateX(10px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .feature-showcase, .feature-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 6rem;
    }
    
    .feature-showcase.reverse .feature-content {
        order: 2; /* Forces text under image on mobile */
    }
    
    .image-reveal-wrapper {
        height: 400px;
    }
    
    .glass-float-card, .left-float {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
    }
}