/* ============================================
   ABOUT PAGE STYLES - LUXURY RESORT REDESIGN
   ============================================ */

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for hero images */
.hero-image-item.reveal[data-delay="100"] {
    transition-delay: 0.1s;
}

.hero-image-item.reveal[data-delay="200"] {
    transition-delay: 0.2s;
}

.hero-image-item.reveal[data-delay="300"] {
    transition-delay: 0.3s;
}

/* ============================================
   NAVBAR FIX FOR LIGHT BACKGROUND
   ============================================ */

#navbar .logo {
    color: var(--text-primary) !important;
    transition: color 0.4s ease, opacity 0.3s ease;
}

#navbar .nav-link {
    color: var(--text-primary) !important;
    transition: color 0.4s ease, opacity 0.3s ease;
}

#navbar .nav-link:hover {
    opacity: 0.6;
}

#navbar.scrolled .logo {
    color: var(--text-primary) !important;
}

#navbar.scrolled .nav-link {
    color: var(--text-primary) !important;
}

.logo {
    color: #1a1a1a !important;
}

#header .logo {
    color: #1a1a1a !important;
}

/* ============================================
   HAMBURGER MENU STYLES
   ============================================ */

.hamburger {
    display: none;
}

.hamburger-line {
    background: var(--text-primary) !important;
}

#header.scrolled .hamburger-line {
    background: var(--text-primary) !important;
}

.hamburger.active .hamburger-line {
    background: white !important;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: relative;
    }
    
    .hamburger-line {
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    #navbar .nav-links .nav-link {
        font-size: 1.3rem;
        color: white !important;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        padding: 0.75rem 0;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    #navbar .nav-links.active .nav-link {
        opacity: 1;
        transform: translateX(0);
        color: white !important;
    }
    
    .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
    
    .nav-link::after {
        display: none;
    }
}

/* ============================================
   HERO SECTION WITH THREE IMAGES
   ============================================ */

.about-hero-new {
    background: #FAFAFA;
    padding: 8rem 0 6rem;
}

.hero-text-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 3rem;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    line-height: 1.15;
    margin-bottom: 0;
}

.hero-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 3rem;
}

.hero-image-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: 2px;
    background: #E5E5E5;
}

.hero-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-item:hover .hero-grid-image {
    transform: scale(1.05);
}

.hero-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.hero-description-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

/* ============================================
   FOUNDER STORY SECTION
   ============================================ */

.founder-story {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    padding: 6rem 0;
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    gap: 4rem;
    width: 100%;
    align-items: center;
}

.founder-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-image-wrapper {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-image-wrapper:hover .founder-image {
    transform: scale(1.03);
}

.founder-content-section {
    display: flex;
    align-items: center;
}

.founder-content {
    width: 100%;
}

.founder-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.founder-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.founder-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.founder-signature {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.signature-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ============================================
   MARKET INSIGHT - LUXURY RESORT STYLE
   ============================================ */

.market-insight-resort {
    background: #FFFFFF;
    padding: 8rem 0 8rem;
}

.market-resort-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Opening Section */
.market-resort-opening {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 8rem;
}

.market-resort-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.market-resort-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
}

/* Image + Text Blocks */
.market-resort-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.market-resort-block-reverse {
    direction: rtl;
}

.market-resort-block-reverse > * {
    direction: ltr;
}

.market-resort-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 2px;
    background: #F5F5F5;
}

.market-resort-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.market-resort-block:hover .market-resort-image {
    transform: scale(1.04);
}

.market-resort-content {
    padding: 2rem 0;
}

.market-resort-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    display: block;
    margin-bottom: 1.5rem;
}

.market-resort-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.8rem;
}

.market-resort-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 300;
}

/* Dual Column Section */
.market-resort-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 0;
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.market-resort-dual-item {
    padding: 2rem 0;
}

.market-resort-heading-small {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.005em;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* Footer animations */
footer .footer-logo,
footer .footer-tagline,
footer .footer-copyright {
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 1200px) {
    .founder-container {
        gap: 3rem;
    }
    
    .market-resort-container {
        max-width: 1000px;
    }
    
    .market-resort-block {
        gap: 3rem;
        margin-bottom: 6rem;
    }
    
    .market-resort-dual {
        gap: 4rem;
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .about-hero-new {
        padding: 6rem 0 5rem;
    }
    
    .hero-main-title {
        font-size: 4rem;
    }
    
    .founder-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .founder-image-wrapper {
        max-width: 450px;
    }
    
    .founder-title {
        font-size: 3rem;
    }
    
    .market-insight-resort {
        padding: 6rem 0 6rem;
    }
    
    .market-resort-title {
        font-size: 3.5rem;
    }
    
    .market-resort-opening {
        margin-bottom: 6rem;
    }
    
    .market-resort-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
    }
    
    .market-resort-block-reverse {
        direction: ltr;
    }
    
    .market-resort-image-container {
        aspect-ratio: 16/10;
    }
    
    .market-resort-dual {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .about-hero-new {
        padding: 5rem 0 4rem;
    }
    
    .hero-text-section {
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-image-item {
        aspect-ratio: 4/3;
    }
    
    /* Disable hover effects on mobile */
    .hero-image-item:hover .hero-grid-image {
        transform: none;
    }
    
    .hero-description {
        padding: 0 1.5rem;
    }
    
    .hero-description-text {
        font-size: 1.1rem;
    }
    
    .founder-story {
        padding: 5rem 0;
    }
    
    .founder-container {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }
    
    .founder-title {
        font-size: 2.5rem;
    }
    
    /* Disable hover effects on mobile */
    .founder-image-wrapper:hover .founder-image {
        transform: none;
    }
    
    .market-insight-resort {
        padding: 5rem 0 5rem;
    }
    
    .market-resort-container {
        padding: 0 1.5rem;
    }
    
    .market-resort-title {
        font-size: 2.8rem;
    }
    
    .market-resort-intro {
        font-size: 1.2rem;
    }
    
    .market-resort-opening {
        margin-bottom: 4rem;
    }
    
    .market-resort-block {
        margin-bottom: 4rem;
    }
    
    /* Disable hover effects on mobile */
    .market-resort-block:hover .market-resort-image {
        transform: none;
    }
    
    .market-resort-heading {
        font-size: 2rem;
    }
    
    .market-resort-text {
        font-size: 1rem;
    }
    
    .market-resort-dual {
        gap: 2.5rem;
        margin-bottom: 0;
        padding: 3rem 0;
    }
    
    .market-resort-heading-small {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .founder-title {
        font-size: 2.2rem;
    }
    
    .market-resort-title {
        font-size: 2.2rem;
    }
    
    .market-resort-heading {
        font-size: 1.8rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .founder-image,
    .hero-grid-image,
    .market-resort-image {
        transition: none !important;
        animation: none !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}