/* ==========================================
   1. GLOBAL & RESET STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f7f9f7;
    color: #333;
    overflow-x: hidden;
    animation: fadeInPage 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   2. HEADER & NAVIGATION BAR
   ========================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(238,242,235,0.8) 0%, rgba(238,242,235,0) 100%);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.designer-name {
    font-size: 13px;
    font-weight: 800;
    color: #2a352e;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.designer-name .highlight {
    color: #b15e61;
}

.designer-title {
    font-size: 8px;
    font-weight: 600;
    color: #69776c;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
    position: relative;
}

.designer-title::before,
.designer-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 1px;
    background-color: #69776c;
    opacity: 0.5;
}

.designer-title::before {
    left: -12px;
}

.designer-title::after {
    right: -12px;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    position: relative;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a.active {
    color: #ffb400;
    background-color: rgba(255, 180, 0, 0.1);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #ffb400;
    border-radius: 2px;
}

.nav-links .btn-account {
    border: 1px solid #333;
    padding: 6px 16px;
    border-radius: 6px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================
   3. HERO SECTION & LAYERS
   ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
    overflow: hidden;
    cursor: crosshair;
    background: linear-gradient(180deg, #d3dcd7 0%, #eef2eb 100%);
}

.mountain-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/hill.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    opacity: 0.28; 
    filter: contrast(105%) brightness(1.05);
    z-index: 1;
}

.clouds-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: repeat-x;
    background-position: bottom;
    pointer-events: none;
}

.cloud-back {
    background-image: url('/images/cloud-front.png');
    background-size: contain;
    z-index: 2;
    opacity: 0.35;
    animation: moveClouds 35s linear infinite;
}

.cloud-front {
    background-image: url('/images/cloud_PNG28.png');
    background-size: contain;
    z-index: 4;
    opacity: 0.55;
    animation: moveClouds 22s linear infinite reverse;
}

@keyframes moveClouds {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.photographer-bg {
    position: absolute;
    top: 59%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.person-img {
    max-height: 95vh;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
    transition: transform 0.2s ease-out;
}

.mouse-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    z-index: 10;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.hero-section:hover .mouse-lens {
    transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
}

.hero-content {
    position: relative;
    z-index: 20;
}

.hero-content h1 {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
    color: #1a252c;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-dark {
    background-color: #38483d;
    color: white;
}

.btn-outline {
    border: 1px solid #38483d;
    color: #38483d;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

/* ==========================================
   4. COLLECTION SECTION
   ========================================== */
.collection-section {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background-color: #fff;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    max-width: 800px;
    padding: 24px;
    gap: 25px;
    align-items: center;
    border: 1px solid rgba(220, 225, 220, 0.6);
    transition: all 0.4s ease;
}

.card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.card-image img {
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.card-content h2 {
    font-size: 1.4rem;
    color: #1f2723;
    margin-bottom: 10px;
}

.card-content p {
    color: #5a685e;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================
   5. STORY SECTION
   ========================================== */
.story-section {
    padding: 80px 20px;
    background-color: #f4f7f4;
}

.story-section .container {
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 60px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d5ded7;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    position: relative;
}

.story-section .container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #c0ccc2;
    border-radius: 14px;
    pointer-events: none;
}

.quote-card {
    position: relative;
    background: rgba(253, 253, 253, 0.8);
    border-left: 4px solid #b15e61;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    z-index: 1;
}

.quote-icon {
    font-size: 50px;
    position: absolute;
    top: -10px;
    left: 12px;
    color: #e0e7e1;
    font-family: Georgia, serif;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #4a584f;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.bio-content {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.greeting {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2723;
    margin-bottom: 5px;
}

.highlight-name {
    color: #b15e61;
}

.subtitle {
    font-size: 0.95rem;
    color: #69776c;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.intro-paragraph, .story-paragraph {
    font-size: 1.05rem;
    color: #3d4a41;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: #2c3531;
    margin-bottom: 30px;
}

.section-title span {
    color: #5d6d63;
    border-bottom: 2px solid #b15e61;
    padding-bottom: 4px;
}

/* ==========================================
   RHYTHM CARDS STYLING (Fixed Positioning & Spacing)
   ========================================== */
.rhythms-container {
    margin-top: 80px; /* লেখাটির নিচে পর্যাপ্ত স্পেস রাখার জন্য মার্জিন বাড়ানো হয়েছে */
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.rhythms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding-top: 20px;
}

.rhythm-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    
    padding: 32px 20px 25px 20px;
    border-radius: 18px;
    
    border: 1.8px solid rgba(177, 94, 97, 0.35); 
    
    /* কার্ডটি আগের মতো অনেক ওপরের দিকে উঠে লেখার ওপর চলে যাবে না */
    transform: translateY(0); 
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    text-align: center;
}

.rhythm-card:hover {
    transform: translateY(-8px); /* মাউস নিলে সামান্য ওপরে উঠবে */
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(177, 94, 97, 0.8);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.18), 0 12px 25px rgba(177, 94, 97, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.card-icon {
    font-size: 30px;
    margin-bottom: 15px;
    display: inline-flex;
    padding: 14px;
    background: rgba(177, 94, 97, 0.08);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.rhythm-card:hover .card-icon {
    background: rgba(177, 94, 97, 0.16);
    transform: scale(1.12);
}

.rhythm-card h4 {
    font-size: 1.05rem;
    color: #1f2723;
    margin-bottom: 10px;
    font-weight: 700;
}

.rhythm-card p {
    font-size: 0.9rem;
    color: #5a685e;
    line-height: 1.5;
}

.closing-note {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.dream-text {
    font-size: 1.05rem;
    color: #3d4a41;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.welcome-box {
    background-color: rgba(240, 244, 241, 0.85);
    display: inline-block;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid #c5d3c7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.welcome-box p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3531;
}

/* ==========================================
   6. SITE FOOTER STYLES
   ========================================== */
.site-footer {
    background-color: #1a211d;
    color: #e0e7e1;
    padding: 70px 20px 20px 20px;
    border-top: 2px solid #323e36;
    font-family: inherit;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.footer-logo .logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
}

.footer-logo .highlight {
    color: #b15e61;
}

.footer-logo .logo-subtitle {
    font-size: 0.65rem;
    color: #8c9c90;
    letter-spacing: 3px;
    margin-top: 2px;
}

.footer-bio {
    font-size: 0.9rem;
    color: #a3b3a7;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 2px;
    background-color: #b15e61;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a3b3a7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-social p {
    font-size: 0.9rem;
    color: #a3b3a7;
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: #27322b;
    color: #e0e7e1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #38473d;
}

.social-btn:hover {
    background: #b15e61;
    color: #ffffff;
    transform: translateY(-4px);
    border-color: #b15e61;
    box-shadow: 0 5px 15px rgba(177, 94, 97, 0.4);
}

.footer-bottom {
    max-width: 1100px;
    margin: 25px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #7d8c81;
}

.footer-bottom strong {
    color: #c2d1c5;
}

.designed-by .heart {
    color: #b15e61;
}

/* ==========================================
   7. RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================== */
@media (max-width: 768px) {
    .mountain-bg {
        background-image: url('/images/hill-mobile.jpg');
        opacity: 0.38;
        background-size: cover;
        background-position: center bottom;
    }

    .navbar {
        padding: 15px 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: white;
        width: 200px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
    }

    .nav-links.show {
        display: flex;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .mouse-lens {
        width: 90px;
        height: 90px;
    }

    .card {
        flex-direction: column;
    }

    .card-image img {
        width: 100%;
        height: auto;
    }

    .story-section .container {
        padding: 30px 20px;
    }

    .story-section .container::before {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
    }

    .intro-paragraph, .story-paragraph {
        text-align: left;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}