html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #0a132b;
    background: #fff;
}

.font-display {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.01em;
}

.gold-divider {
    background: linear-gradient(90deg, transparent 0%, #c5a35a 20%, #e8cf94 50%, #c5a35a 80%, transparent 100%);
    height: 1px;
}

.hero-bg {
    background-image: linear-gradient(180deg, rgba(6, 12, 31, 0.78) 0%, rgba(10, 19, 43, 0.85) 60%, rgba(10, 19, 43, 0.95) 100%),
    url('../img/hero_background.jpg');
    background-size: cover;
    background-position: center;
}

.ornament::before, .ornament::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c5a35a);
    vertical-align: middle;
    margin: 0 14px;
}

.ornament::after {
    background: linear-gradient(90deg, #c5a35a, transparent);
}

.card-hover {
    transition: transform .4s ease, box-shadow .4s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -25px rgba(10, 19, 43, 0.35);
}

.gold-link {
    position: relative;
}

.gold-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 0;
    background: #c5a35a;
    transition: width .3s ease;
}

.gold-link:hover::after {
    width: 100%;
}

.step-line {
    background-image: linear-gradient(90deg, #c5a35a 50%, transparent 50%);
    background-size: 12px 1px;
    background-repeat: repeat-x;
    background-position: 0 50%;
}

/* AT logo SVG sizing */
.at-logo {
    width: 44px;
    height: 44px;
    display: block;
}

.at-logo-lg {
    width: 56px;
    height: 56px;
    display: block;
}


.header-bg {
    background: linear-gradient(180deg, rgba(6, 12, 31, 0.85) 0%, rgba(10, 19, 43, 0.95) 100%);
}

/* Gallery (left big + 4 small) */
.gal {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 540px;
}

.gal > .g-main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.gal > .g-2 {
    grid-column: 2;
    grid-row: 1;
}

.gal > .g-3 {
    grid-column: 3;
    grid-row: 1;
}

.gal > .g-4 {
    grid-column: 2;
    grid-row: 2;
}

.gal > .g-5 {
    grid-column: 3;
    grid-row: 2;
}

.gal-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: zoom-in;
    background: #0a132b;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.gal-item:hover img {
    transform: scale(1.06);
}

.gal-item .show-all {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #0a132b;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
}

.gal-item .show-all:hover {
    background: #c5a35a;
    color: #fff;
}

@media (max-width: 768px) {
    .gal {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 120px 120px;
        height: auto;
    }

    .gal > .g-main {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .gal > .g-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .gal > .g-3 {
        grid-column: 2;
        grid-row: 2;
    }

    .gal > .g-4 {
        grid-column: 1;
        grid-row: 3;
    }

    .gal > .g-5 {
        grid-column: 2;
        grid-row: 3;
    }
}

/* Lightbox */
.lb {
    position: fixed;
    inset: 0;
    background: rgba(6, 12, 31, .96);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.lb.open {
    opacity: 1;
    pointer-events: auto;
}

.lb img {
    max-width: 88vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
}

.lb .thumbs {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    max-width: 90vw;
    overflow-x: auto;
    padding: 4px;
}

.lb .thumbs img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity .2s;
    max-width: none;
    max-height: none;
}

.lb .thumbs img.active {
    opacity: 1;
    outline: 2px solid #c5a35a;
}

/* Tabs */
.tab-btn {
    position: relative;
    padding: 18px 4px;
    color: rgba(10, 19, 43, 0.55);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color .25s ease;
    border: 0;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #0a132b;
}

.tab-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: transparent;
    transition: background .25s ease;
}

.tab-btn.active {
    color: #0a132b;
}

.tab-btn.active::after {
    background: #c5a35a;
}

.tab-panel {
    display: none;
    animation: fadeIn .35s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

details summary::-webkit-details-marker {
    display: none;
}