/* ───────────────────────────────────────────
   Gallery Lounge Inc — Custom Styles
   Palette: Midnight Blue (#0a2540) + Mint (#23ad66)
   Fonts: DM Serif Display + DM Sans
   ─────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #0a2540;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── UTILITY ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─── SECTION LABEL ─── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #23ad66;
    background: #d6f0e0;
    padding: 0.35em 0.9em;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-label--light {
    color: #a8e6c3;
    background: rgba(168, 230, 195, 0.15);
}

.section-label--dark {
    color: #188a50;
    background: #d6f0e0;
}

/* ─── SECTION BASE ─── */
.section {
    padding: 6rem 0;
}

.section--light {
    background: #f0faf4;
}

.section--navy {
    background: #0a2540;
}

.section--mint {
    background: linear-gradient(135deg, #d6f0e0 0%, #a8e6c3 100%);
}

.section--white {
    background: #ffffff;
}

.section-subtitle {
    max-width: 560px;
    margin: 0.75rem auto 0;
    color: #1f537d;
    font-size: 1.05rem;
}

.section--navy .section-subtitle {
    color: #9bbdd5;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--mint {
    background: #23ad66;
    color: #ffffff;
    border-color: #23ad66;
}

.btn--mint:hover,
.btn--mint:focus-visible {
    background: #188a50;
    border-color: #188a50;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(35, 173, 102, 0.35);
}

.btn--navy {
    background: #0a2540;
    color: #ffffff;
    border-color: #0a2540;
}

.btn--navy:hover,
.btn--navy:focus-visible {
    background: #163d5e;
    border-color: #163d5e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.35);
}

.btn--outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.6);
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 0.6rem 1.4rem; font-size: 0.875rem; }

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 37, 64, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 230, 195, 0.12);
    transition: background 0.3s ease;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #ffffff;
}

.nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #23ad66, #a8e6c3);
    border-radius: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: #0a2540;
    flex-shrink: 0;
}

.nav__name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
}

.nav__name--accent {
    color: #a8e6c3;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav__link {
    color: #c5d9e8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: #ffffff;
    background: rgba(168, 230, 195, 0.1);
}

.nav__cta {
    margin-left: 0.75rem;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a2540;
    overflow: hidden;
    padding: 7rem 1.5rem 4rem;
}

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

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 37, 64, 0.92) 0%,
        rgba(10, 37, 64, 0.75) 50%,
        rgba(10, 37, 64, 0.88) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8e6c3;
    background: rgba(168, 230, 195, 0.12);
    border: 1px solid rgba(168, 230, 195, 0.25);
    padding: 0.45em 1em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-style: italic;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.hero__em {
    color: #a8e6c3;
    font-style: italic;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #c5d9e8;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #9bbdd5;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__trust-item svg {
    color: #a8e6c3;
}

/* ─── ABOUT ─── */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(10, 37, 64, 0.18);
}

.about__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.about__float-card {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about__float-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-style: italic;
    color: #23ad66;
    line-height: 1;
}

.about__float-label {
    font-size: 0.8rem;
    color: #1f537d;
    font-weight: 500;
}

.about__text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-style: italic;
    line-height: 1.25;
    color: #0a2540;
    margin-bottom: 1.25rem;
}

.about__text p {
    color: #1f537d;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about__text .btn {
    margin-top: 0.5rem;
}

/* ─── CARDS ─── */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(168, 230, 195, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 230, 195, 0.12);
    border-radius: 14px;
    color: #a8e6c3;
    margin-bottom: 1.25rem;
}

.card__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.card__body {
    color: #9bbdd5;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── GALLERY ─── */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.18);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/4;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.04);
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.8) 0%, transparent 100%);
    color: #ffffff;
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    font-style: italic;
}

/* ─── VISIT ─── */
.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.visit__info h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-style: italic;
    color: #0a2540;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.visit__info > p {
    color: #1f537d;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.visit__details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.visit__detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #0a2540;
    font-size: 0.95rem;
    font-weight: 500;
}

.visit__detail svg {
    color: #23ad66;
    flex-shrink: 0;
    margin-top: 2px;
}

.visit__link {
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.visit__link:hover {
    color: #23ad66;
    text-decoration: underline;
}

.visit__map-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.15);
    aspect-ratio: 4/3;
}

.visit__map-frame iframe {
    width: 100%;
    height: 100%;
}

/* ─── CONTACT ─── */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-style: italic;
    color: #0a2540;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.contact__text > p {
    color: #1f537d;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.contact__quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact__quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    background: #f0faf4;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
}

.contact__quick-link:hover {
    background: #d6f0e0;
    transform: translateX(4px);
}

.contact__quick-link svg {
    color: #23ad66;
    flex-shrink: 0;
}

/* Form */
.contact__form-wrap {
    background: #f0faf4;
    border-radius: 24px;
    padding: 2.5rem;
}

.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #d6f0e0;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #0a2540;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #9bbdd5;
}

.form__input:focus,
.form__textarea:focus {
    border-color: #23ad66;
    box-shadow: 0 0 0 4px rgba(35, 173, 102, 0.15);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__privacy {
    font-size: 0.78rem;
    color: #70a1c2;
    text-align: center;
    margin-top: 0.5rem;
}

/* Success state */
.contact__success {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #0a2540;
}

.success__text {
    color: #1f537d;
    font-size: 0.95rem;
}

/* ─── FOOTER ─── */
.footer {
    background: #061828;
    color: #c5d9e8;
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__brand .nav__logo {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.footer__name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #ffffff;
}

.footer__name--accent { color: #a8e6c3; }

.footer__tagline {
    color: #70a1c2;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer__heading {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: #a8e6c3;
    margin-bottom: 1rem;
}

.footer__links,
.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a,
.footer__contact-list a {
    color: #9bbdd5;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s, transform 0.2s;
}

.footer__links a:hover,
.footer__contact-list a:hover {
    color: #a8e6c3;
    transform: translateX(3px);
}

.footer__contact-list svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer__bottom {
    border-top: 1px solid rgba(168, 230, 195, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #70a1c2;
}

/* ─── REVEAL ANIMATIONS (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* Default visible state for reduced-motion / no-JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced state — applied by JS only */
@media (prefers-reduced-motion: no-preference) {
    .reveal.reveal--anim {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.reveal--visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .about__grid,
    .visit__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__float-card {
        bottom: 1rem;
        right: 1rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }

    .nav__toggle { display: flex; }

    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 24, 40, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 2rem 1.5rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: auto;
    }

    .nav__menu.is-open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .nav__link {
        display: block;
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .nav__cta {
        margin-left: 0;
        text-align: center;
        margin-top: 1rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .contact__form-wrap {
        padding: 1.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.1rem; }
    .hero { padding: 6rem 1.1rem 3rem; }
    .section { padding: 3rem 0; }
}
