
:root {
    --primary-serif: 'Playfair Display', serif;
    --secondary-sans: 'Montserrat', sans-serif;
    --blossom-pink: #fdf2f2;
    --footer-rose: #c59b8b;
    --text-dark: #333;
    --btn-clay: #d1a494;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: var(--secondary-sans);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: var(--primary-serif);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

h2 {
    font-size: 2.5rem;
}

p {
    line-height: 2;
    font-weight: 300;
    color: #444;
    font-size: 1.15rem;
}

/* Navbar */
.navbar {
    padding: 1.8rem 0;
    background: transparent;
    transition: 0.4s ease-in-out;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--primary-serif);
    color: #fff !important;
    letter-spacing: 4px;
    font-size: 1.4rem;
    font-weight: 600;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    position: fixed;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-toggler i {
    color: var(--text-dark) !important;
}

.nav-link {
    color: #fff !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.navbar-toggler {
    border: none;
}

/* Hero */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Intro Overlap */
.intro-section {
    padding: 100px 0 140px;
    position: relative;
}

.overlap-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.overlap-img-box {
    margin-top: -180px;
    flex-shrink: 0;
}

.overlap-img {
    width: 350px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    display: block;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlap-img:hover {
    transform: translateY(-10px);
}

.intro-text {
    padding-top: 140px;
    max-width: 550px;
}

/* Image Strip */
.img-strip {
    display: flex;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #000;
}

.img-strip a {
    display: block;
    width: 20%;
    height: 100%;
    overflow: hidden;
}

.img-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
    opacity: 0.9;
}

.img-strip img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Blossom Section */
.blossom-section {
    background-color: var(--blossom-pink);
    padding: 120px 0;
    text-align: center;
}

.blossom-desc {
    max-width: 800px;
    margin: 0 auto 60px;
    font-style: italic;
    font-size: 1.1rem;
    padding: 0 20px;
    color: #555;
}

.swiper {
    width: 100%;
    padding: 20px 0 80px;
}

.swiper-slide {
    width: 250px;
    text-align: center;
}

.poster-card {
    background: transparent;
    transition: transform 0.4s ease;
}

.poster-card:hover {
    transform: translateY(-15px);
}

.poster-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.poster-card span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.5;
    font-weight: 600;
}

.poster-card .year {
    opacity: 0.5;
    margin-top: 5px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Causes */
.causes-section {
    background-color: var(--blossom-pink);
    padding: 100px 0 140px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.cause-card {
    text-align: center;
    margin-bottom: 70px;
}

.cause-logo {
    height: 90px;
    max-width: 85%;
    object-fit: contain;
    margin-bottom: 35px;
    filter: grayscale(1);
    transition: 0.4s;
}

.cause-card:hover .cause-logo {
    filter: grayscale(0);
    transform: scale(1.08);
}

.cause-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 25px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Bio Section */
.bio-section {
    padding: 140px 0;
    background: #fff;
}

.bio-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bio-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.4s;
}

.bio-images img:hover {
    filter: brightness(0.9);
}

.bio-content h2 {
    font-size: 1.8rem;
    letter-spacing: 0.4em;
    margin-bottom: 45px;
}

/* Footer */
footer {
    background-color: var(--footer-rose);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.footer-brand {
    font-family: var(--primary-serif);
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 5px;
    font-weight: 600;
}

.footer-socials a {
    color: white;
    margin: 0 15px;
    font-size: 1.4rem;
    transition: 0.3s;
}

/* Artistic Legacy Section */
.artistic-legacy {
    padding: 150px 0;
    background-color: #fff;
    overflow: hidden;
}

.legacy-img-grid {
    position: relative;
    padding-bottom: 50px;
}

.main-frame {
    width: 80%;
    height: 550px;
    overflow: hidden;
    box-shadow: 30px 30px 80px rgba(0, 0, 0, 0.1);
}

.main-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.accent-frame {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
    height: 350px;
    border: 15px solid #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.accent-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legacy-content .sub-title {
    color: var(--btn-clay);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background-color: var(--btn-clay);
}

.award-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--blossom-pink);
    border-radius: 4px;
    width: fit-content;
}

.award-badge i {
    font-size: 2.5rem;
    color: var(--btn-clay);
}

.award-badge strong {
    font-family: var(--primary-serif);
    font-size: 1.1rem;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .artistic-legacy {
        padding: 80px 0;
    }

    .main-frame {
        width: 100%;
        height: 400px;
    }

    .accent-frame {
        display: none;
    }

    /* Mobile e complexity komate hide kora hoyeche */
    .legacy-content {
        margin-top: 50px;
        text-align: center;
    }

    .decorative-line {
        margin: 0 auto 20px;
    }

    .award-badge {
        margin: 0 auto;
    }
}

.causes-section {
    background-color: #fdfdfd;
    padding: 120px 0;
}

.cause-card {
    padding: 20px;
}

.cause-inner {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.cause-inner:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: var(--btn-clay);
}

.cause-logo {
    height: 60px;
    margin-bottom: 30px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: 0.4s;
}

.cause-inner:hover .cause-logo {
    filter: grayscale(0);
    opacity: 1;
}

.cause-title {
    font-family: var(--primary-serif);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cause-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.btn-read-more {
    border: 1px solid var(--btn-clay);
    color: var(--btn-clay);
    padding: 10px 25px;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-read-more:hover {
    background: var(--btn-clay);
    color: #fff;
}

.swiper-wrapper {
    max-height: 450px !important;
}

/* Hero Update */
.hero {
    height: 100vh; /* Changed from 90vh to 100vh for full height */
    width: 100%; /* Ensures full width */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image fills the area without stretching */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Logo Update */
.navbar-brand {
    font-family: var(--primary-serif);
    color: #fff !important;
    letter-spacing: 4px;
    font-size: 2.2rem; /* Increased from 1.4rem */
    font-weight: 800; /* Increased from 600 for 'weight beshi' */
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.6rem; /* Slightly smaller on mobile to prevent layout breaking */
    }

    .hero {
        height: 35vh;
    }
    .overlap-img {
        width: 240px;
        margin-left: 40px;
    }
}

@media (max-width: 991px) {
    .overlap-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .overlap-img-box {
        margin-top: -120px;
        width: 80%;
    }

    .intro-text {
        padding-top: 10px;
        max-width: 90%;
    }

    .img-strip {
        height: 220px;
    }

    .img-strip a {
        width: 33.33%;
    }

    .img-strip a:nth-child(n+4) {
        display: none;
    }
}
