/* =========================
   1. ROOT + GLOBAL
========================= */
:root {
    --primary: #1e2d59;
    --primary-dark: #182448;
    --accent: #f0b524;
    --cta: #f1592a;
    --text: #1c2238;
    --muted: #5e6476;
    --bg: #f4f6fb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Barlow", "Segoe UI", Tahoma, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(36, 62, 132, 0.08), transparent 42%),
        radial-gradient(circle at 90% 20%, rgba(244, 166, 38, 0.11), transparent 34%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}


/* =========================
   2. TOP INFO BAR
========================= */
.top-info-bar {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.top-info-bar .container {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.info-left,
.info-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.info-left span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.info-left i {
    color: var(--accent);
}

.info-center {
    text-align: center;
}

.info-center img {
    height: 64px;
}

.info-right {
    justify-content: flex-end;
}

.info-right a:first-child {
    font-weight: 700;
}

.info-right i {
    font-size: 18px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.info-right i:hover {
    color: var(--accent);
    transform: translateY(-2px);
}


/* =========================
   3. HEADER / NAVBAR
========================= */
.main-header {
    background: var(--white);
    box-shadow: 0 8px 24px rgba(17, 27, 58, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 94px;
}

.brand img {
    height: 62px;
}

.main-nav {
    margin-left: auto;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    padding: 9px 0;
    display: inline-block;
}

.main-nav > ul > li::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    margin-top: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.main-nav > ul > li:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 40px;
    border: 0;
    background: var(--primary);
    border-radius: 5px;
    padding: 8px 9px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--white);
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle span + span {
    margin-top: 6px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* =========================
   4. GALLERY HERO / SRIJAN HERO
========================= */
.gallery-page-hero {
    background:
        linear-gradient(120deg, rgba(20, 34, 76, 0.92), rgba(37, 61, 124, 0.86)),
        url("assets/img2.jpg") center/cover no-repeat;
    color: #fff;
    padding: 62px 0;
}

.gallery-page-hero h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.08;
    margin-bottom: 12px;
}

.gallery-page-hero p:last-child {
    max-width: 720px;
    color: #dde6ff;
    font-size: 17px;
    line-height: 1.7;
}

.media-kicker {
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.srijan-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 217, 121, 0.26), transparent 30%),
        radial-gradient(circle at bottom right, rgba(62, 127, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #12224f, #1d3774 55%, #2e57a5);
}

.srijan-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.25;
    pointer-events: none;
}


/* =========================
   5. MAIN ALBUM PAGE
========================= */
.album-page {
    padding: 48px 0 64px;
}


/* =========================
   6. ALBUM TABS / CHIPS
========================= */
.album-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.album-tab {
    padding: 10px 16px;
    border-radius: 999px;
    background: #eef3ff;
    border: 1px solid #d9e3fb;
    color: #29458f;
    font-weight: 700;
    transition: 0.25s ease;
}

.album-tab:hover {
    background: #dfe9ff;
}

.album-tab.active {
    background: #29458f;
    color: #fff;
    border-color: #29458f;
}


/* =========================
   7. ALBUM SECTION CARD
========================= */
.album-section {
    margin-bottom: 30px;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dde5fa;
    box-shadow: 0 14px 28px rgba(18, 33, 77, 0.07);
}

.album-section-head h2 {
    color: #1e2d59;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 36px;
    margin-bottom: 8px;
}

.album-section-head p {
    color: #5a6482;
    line-height: 1.7;
    margin-bottom: 18px;
}


/* =========================
   8. PHOTO WALL
========================= */
.photo-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.photo-wall img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid #dde5f8;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-wall img:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 20px rgba(28, 48, 105, 0.12);
}


/* =========================
   9. FOOTER
========================= */
.main-footer {
    color: #edf2ff;
}

.footer-top {
    background: linear-gradient(180deg, #2a3d72, #223660);
    position: relative;
}

.footer-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/footer-bg.png") bottom center no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.footer-grid {
    position: relative;
    z-index: 1;
    padding: 58px 0 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 15px;
    letter-spacing: 0.8px;
}

.footer-col li,
.footer-col p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.footer-col li a:hover {
    color: #9fc0ff;
}

.address i {
    color: #8eb2ff;
    margin-right: 7px;
}

.footer-bottom {
    background: #1c2b51;
}

.bottom-flex {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.bottom-flex img {
    height: 52px;
}

.bottom-flex p {
    font-size: 14px;
}

.bottom-flex p span {
    color: #8eb2ff;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #30467f;
}

.social-icons a:hover {
    background: #3d58a0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 85%;
  max-height: 85%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.close:hover {
  color: red;
}

.photo-wall img {
  cursor: pointer;
  transition: 0.3s;
}

.photo-wall img:hover {
  transform: scale(1.05);
}

/* =========================
   TABLET (≤ 1024px)
========================= */
@media (max-width: 1024px) {

    .album-tabs {
        gap: 8px;
    }

    .album-tab {
        padding: 9px 14px;
        font-size: 14px;
    }

    /* photo grid */
    .photo-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    /* footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   MOBILE NAV (≤ 900px)
========================= */
@media (max-width: 900px) {

    /* top bar */
    .top-info-bar .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
        padding: 10px 0;
    }

    .info-left,
    .info-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* navbar */
    .nav-wrap {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: 0.3s;
    }

    .main-nav.nav-open {
        max-height: 80vh;
        opacity: 1;
    }

    .main-nav ul {
        flex-direction: column;
        background: #f8faff;
    }

    .main-nav li {
        border-bottom: 1px solid #ddd;
        padding: 10px;
    }

    /* footer */
    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


/* =========================
   MOBILE (≤ 576px)
========================= */
@media (max-width: 576px) {

    /* tabs */
.album-tabs {
    justify-content: center;
    margin-bottom: 22px;
  }

  .album-tab {
    font-size: 12px;
    padding: 8px 12px;
    border: 1px solid #d9e3fb;
    text-align: center;
    font-size: 14px;
    padding: 12px;
  }

 .album-section-head h2 {
        font-size: 28px;
    }

    /* images */
    .photo-wall {
        grid-template-columns: 1fr;
    }

    .photo-wall img {
        height: 200px;
    }

    /* footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   EXTRA SMALL (≤ 420px)
========================= */
@media (max-width: 420px) {

    .container {
        width: 94%;
    }

    .brand img {
        height: 50px;
    }

    .gallery-page-hero h1 {
        font-size: 28px;
    }
}