/* Index Page Specific Styles */

/* Empty State Placeholder - Common Style */
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced Gradient Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.6) 100%);
}

/* Subtle Vignette Effect */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 64rem;
}

.brand-name {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 2.8s ease-out forwards;
    animation-delay: 0.6s;
}

.brand-title {
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.brand-divider {
    width: 4rem;
    height: 1px;
    background: rgba(255,255,255,0.6);
    margin: 0 auto 1rem;
}

.brand-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.tagline {
    margin: 0.75rem 0 1.5rem;
    opacity: 0;
    animation: fadeInUp 2.8s ease-out forwards;
    animation-delay: 1.2s;
}

.tagline-main {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    margin-bottom: 0.75rem;
}

.tagline-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Enhanced Scroll Indicator - React Style */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    animation: fadeInScrollIndicator 2.8s cubic-bezier(0.12, 0, 0.39, 0) forwards;
    animation-delay: 2.8s;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.7s ease;
    animation: scrollBounce 3s infinite ease-in-out;
}

.scroll-container:hover {
    color: white;
    transform: scale(1.1);
    animation-play-state: paused;
}

/* Enhanced Mouse Design */
.scroll-mouse {
    width: 1.25rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
    transition: border-color 0.7s ease;
}

.scroll-container:hover .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Enhanced Scroll Dot with React-style Animation */
.scroll-dot {
    width: 0.25rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    position: absolute;
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
    animation: scrollDotMove 2s infinite ease-in-out;
}

/* Chevron with SVG-like styling */
.scroll-chevron {
    width: 0.875rem;
    height: 0.875rem;
    margin-bottom: 0.25rem;
    opacity: 0.6;
    transition: opacity 0.7s ease;
    position: relative;
}

.scroll-chevron::before {
    content: '';
    position: absolute;
    width: 0.875rem;
    height: 0.875rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

.scroll-container:hover .scroll-chevron {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.7s ease;
    margin-top: 0.25rem;
}

.scroll-container:hover .scroll-text {
    opacity: 1;
}

/* React-style Animations */
@keyframes fadeInScrollIndicator {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

@keyframes scrollDotMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* Brand Essence Section */
.essence-section {
    background: linear-gradient(to bottom, #fafaf9, #ffffff);
    padding: 4rem 0;
}

.section-container {
    max-width: 112rem;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-divider {
    width: 3rem;
    height: 1px;
    background: #d6d3d1;
    margin: 2rem auto;
}

.section-title {
    font-size: 1.25rem;
    color: #1c1917;
    font-weight: 300;
    letter-spacing: -0.025em;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 0.875rem;
    color: #78716c;
    font-weight: 300;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0 1rem;
}

.essence-image-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.essence-image {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.essence-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 100%);
}



/* Featured Pool Image */
.featured-pool {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.featured-pool.animate {
    opacity: 1;
    transform: translateY(0);
}

.featured-pool img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.featured-pool-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.featured-pool-text {
    text-align: center;
}

.featured-pool-title {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    color: white;
}

.featured-pool-description {
    font-size: 0.75rem;
    color: white;
    font-weight: 300;
}

/* Gallery & Signature Sections - Shared Styles */
.gallery-section,
.signature-section {
    background: linear-gradient(to bottom, #fafaf9, #f5f5f4);
    padding: 4rem 0;
}

.gallery-grid,
.signature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-height: 200px;
}

.gallery-item,
.signature-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.gallery-item.animate,
.signature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img,
.signature-item img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover img,
.signature-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay,
.signature-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
}

.gallery-item-text,
.signature-item-text {
    position: absolute;
    bottom: 1rem;
    left: 1.75rem;
}

.gallery-item-title,
.signature-item-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: white;
    margin-bottom: 0.25rem;
}

.gallery-item-subtitle,
.signature-item-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 0.25rem;
}

.gallery-item-description,
.signature-item-description {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

/* Closing Hero Pool Section */
.index-closing {
    background: white;
    position: relative;
    max-height: 30vh;
}

.index-closing img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
}

.index-closing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.index-closing-text {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.index-closing-text.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
    transition-delay: 0.3s;
}

.index-closing-title {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    color: white;
}

.index-closing-divider {
    width: 3rem;
    height: 1px;
    color: white;
    margin: 0 auto 0.75rem;
}

.index-closing-description {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.animate {
    animation: fadeInUp 1.2s ease-out forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
}

.fade-in-scale.animate {
    animation: fadeInScale 1.4s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .scroll-indicator {
        bottom: 3rem;
    }

    .scroll-mouse {
        width: 1.5rem;
        height: 3rem;
        margin-bottom: 1rem;
    }

    .scroll-dot {
        height: 0.75rem;
        top: 0.75rem;
    }

    .scroll-chevron {
        width: 1rem;
        height: 1rem;
        margin-bottom: 0.5rem;
    }

    .scroll-chevron::before {
        width: 1rem;
        height: 1rem;
    }

    .scroll-text {
        margin-top: 0.5rem;
    }

    @keyframes scrollDotMove {
        0%, 100% {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
        50% {
            transform: translateX(-50%) translateY(16px);
            opacity: 0.3;
        }
    }



    .brand-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .brand-divider {
        width: 5rem;
        margin-bottom: 1.5rem;
    }

    .brand-subtitle {
        font-size: 0.875rem;
        letter-spacing: 0.2em;
    }

    .tagline-main {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .tagline-sub {
        font-size: 0.875rem;
    }

    .essence-section,
    .gallery-section,
    .signature-section {
        padding: 6rem 0;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    .section-divider {
        width: 4rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .essence-image {
        height: 50vh;
    }

    .gallery-grid,
    .signature-grid {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .gallery-item img,
    .signature-item img {
        height: 16rem;
    }

    .featured-pool img {
        height: 40vh;
    }

    .featured-pool-title {
        font-size: 1.25rem;
    }

    .featured-pool-description {
        font-size: 0.875rem;
    }

    .index-closing-title {
        font-size: 1.25rem;
    }

    .index-closing-description {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .brand-title {
        font-size: 3rem;
    }

    .brand-divider {
        width: 6rem;
    }

    .tagline-main {
        font-size: 1.5rem;
    }

    .essence-section,
    .gallery-section,
    .signature-section {
        padding: 8rem 0;
    }

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

    .section-title {
        font-size: 1.875rem;
    }

    .section-description {
        font-size: 1.125rem;
    }

    .essence-image {
        height: 60vh;
    }

    .gallery-grid,
    .signature-grid {
        gap: 2rem;
    }

    .gallery-item img,
    .signature-item img {
        height: 20rem;
    }

    .featured-pool img {
        height: 50vh;
    }

    .featured-pool-title {
        font-size: 1.5rem;
    }

    .index-closing-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .brand-title {
        font-size: 3.75rem;
    }

    .tagline-main {
        font-size: 2rem;
    }

    .tagline-sub {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .gallery-grid,
    .signature-grid {
        gap: 3rem;
    }

    .essence-image,
    .featured-pool img {
        height: 70vh;
    }
}

@media (min-width: 1280px) {
    .brand-title {
        font-size: 4.5rem;
    }
}
