* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: #3E2A26;
    background: linear-gradient(135deg, #EFE9DC 0%, #E6DEC8 40%, #D49C90 75%, #B86B5E 100%);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

.glass-nav {
    position: sticky;
    top: 12px;
    z-index: 900;
    max-width: 1180px;
    margin: 12px auto 0;
    padding: 10px 14px;
    background: rgba(255, 252, 247, 0.58);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(92, 52, 45, 0.12);
}

.nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.nav-item {
    text-decoration: none;
    color: #4A322D;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 8px 13px;
    border-radius: 12px;
    background: rgba(230, 222, 200, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
    text-align: center;
}

.nav-item:hover {
    background: #B86B5E;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(184, 107, 94, 0.35);
    border-color: #B86B5E;
}

.container {
    max-width: 1180px;
    margin: 28px auto 40px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.glass-card {
    background: rgba(255, 251, 245, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 26px;
    padding: 32px;
    box-shadow: 0 10px 35px rgba(92, 52, 45, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.glass-card:hover {
    background: rgba(255, 251, 245, 0.54);
    box-shadow: 0 14px 42px rgba(92, 52, 45, 0.16);
}

.hero {
    text-align: center;
    padding: 45px 25px;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.65), rgba(230, 222, 200, 0.45));
}

.badge {
    display: inline-block;
    background: #B86B5E;
    color: #FFFDF9;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(184, 107, 94, 0.3);
}

.hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #4A2C27;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.08rem;
    color: #5E433E;
    max-width: 680px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 22px;
}

.section-header h2 {
    font-size: 1.48rem;
    font-weight: 800;
    color: #8E4A3E;
    margin-bottom: 8px;
}

.section-header .line {
    width: 75px;
    height: 4px;
    background: linear-gradient(90deg, #B86B5E, #E6DEC8);
    border-radius: 4px;
}

.section-desc {
    color: #533B36;
    margin-bottom: 20px;
    font-size: 1.04rem;
}

.merged-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.text-box h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #7D4036;
    margin-bottom: 10px;
}

.text-box p {
    color: #4B3530;
    margin-bottom: 14px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-list li {
    position: relative;
    padding-right: 24px;
    color: #3E2A26;
    font-weight: 500;
    font-size: 1.02rem;
}

.info-list li::before {
    content: "✦";
    position: absolute;
    right: 0;
    color: #B86B5E;
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.img-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 20px rgba(92, 52, 45, 0.1);
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.img-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.single-img-wrapper .img-card img {
    height: 280px;
}

.img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(184, 107, 94, 0.28);
    border-color: #B86B5E;
}

.img-card:hover img {
    transform: scale(1.06);
}

.caption,
.zoom-hint {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #4A2C27;
    background: rgba(230, 222, 200, 0.65);
    transition: background 0.3s ease, color 0.3s ease;
}

.img-card:hover .caption,
.img-card:hover .zoom-hint {
    background: #B86B5E;
    color: #FFFFFF;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(45, 24, 20, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: zoom-out;
}

.lightbox img {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 86vh;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    object-fit: contain;
    background: #EFE9DC;
}

.glass-footer {
    text-align: center;
    padding: 24px 20px;
    margin: 20px auto 30px;
    max-width: 1180px;
    background: rgba(255, 252, 247, 0.52);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(92, 52, 45, 0.1);
}

.glass-footer .disclaimer {
    color: #7D4036;
    font-weight: 700;
    font-size: 0.96rem;
    background: rgba(230, 222, 200, 0.6);
    border: 1px solid rgba(184, 107, 94, 0.35);
    padding: 12px 18px;
    border-radius: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.glass-footer .copyright {
    color: #4A322D;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 850px) {
    .merged-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 175px;
    }

    .glass-nav {
        margin: 8px 10px 0;
        padding: 8px;
        border-radius: 16px;
    }

    .nav-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .nav-item {
        font-size: 0.74rem;
        padding: 7px 6px;
        line-height: 1.35;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .glass-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .gallery-grid,
    .gallery-grid.two-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .img-card img {
        height: 160px;
    }

    .single-img-wrapper .img-card img {
        height: 220px;
    }

    .glass-footer {
        margin: 16px 10px 24px;
        padding: 18px 14px;
    }

    .glass-footer .disclaimer {
        font-size: 0.86rem;
    }
}