@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    --radius: 0.625rem;
    --navy: oklch(0.22 0.08 265);
    --navy-deep: oklch(0.16 0.07 265);
    --crimson: oklch(0.52 0.21 27);
    --gold: oklch(0.82 0.14 85);
    --gold-foreground: oklch(0.18 0.05 265);
    --background: oklch(0.99 0.005 250);
    --foreground: oklch(0.16 0.07 265);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.16 0.07 265);
    --primary: oklch(0.22 0.08 265);
    --primary-foreground: oklch(0.99 0.005 250);
    --secondary: oklch(0.96 0.01 250);
    --muted: oklch(0.96 0.01 250);
    --muted-foreground: oklch(0.5 0.03 260);
    --accent: oklch(0.52 0.21 27);
    --accent-foreground: oklch(0.99 0.005 250);
    --destructive: oklch(0.55 0.22 27);
    --border: oklch(0.92 0.01 255);
    --input: oklch(0.92 0.01 255);
    --ring: oklch(0.52 0.21 27);
    --gradient-hero: linear-gradient(
        135deg,
        oklch(0.16 0.07 265) 0%,
        oklch(0.22 0.08 265) 50%,
        oklch(0.3 0.1 265) 100%
    );
    --shadow-elegant: 0 24px 60px -20px oklch(0.16 0.07 265 / 0.35);
    --shadow-card: 0 10px 30px -12px oklch(0.16 0.07 265 / 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}
.items-center {
    align-items: center;
}
.items-start {
    align-items: flex-start;
}
.justify-between {
    justify-content: space-between;
}
.justify-center {
    justify-content: center;
}
.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-5 {
    gap: 1.25rem;
}
.gap-6 {
    gap: 1.5rem;
}
.gap-7 {
    gap: 1.75rem;
}
.gap-8 {
    gap: 2rem;
}
.gap-10 {
    gap: 2.5rem;
}
.gap-12 {
    gap: 3rem;
}
.gap-14 {
    gap: 3.5rem;
}

.grid {
    display: grid;
}
.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.col-span-2 {
    grid-column: span 2;
}

.min-h-screen {
    min-height: 100vh;
}
.flex-1 {
    flex: 1;
}

.sticky {
    position: sticky;
}
.fixed {
    position: fixed;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.-right-10 {
    right: -2.5rem;
}
.-top-10 {
    top: -2.5rem;
}
.inset-0 {
    inset: 0;
}
.inset-x-0 {
    left: 0;
    right: 0;
}
.bottom-0 {
    bottom: 0;
}
.bottom-6 {
    bottom: 1.5rem;
}
.right-6 {
    right: 1.5rem;
}
.top-0 {
    top: 0;
}
.z-50 {
    z-index: 50;
}
.isolate {
    isolation: isolate;
}
.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.h-4 {
    height: 1rem;
}
.h-5 {
    height: 1.25rem;
}
.h-6 {
    height: 1.5rem;
}
.h-7 {
    height: 1.75rem;
}
.h-11 {
    height: 2.75rem;
}
.h-12 {
    height: 3rem;
}
.h-14 {
    height: 3.5rem;
}
.h-16 {
    height: 4rem;
}
.h-20 {
    height: 5rem;
}
.h-24 {
    height: 6rem;
}
.h-28 {
    height: 7rem;
}
.h-32 {
    height: 8rem;
}
.h-\[420px\] {
    height: 420px;
}
.w-4 {
    width: 1rem;
}
.w-5 {
    width: 1.25rem;
}
.w-6 {
    width: 1.5rem;
}
.w-7 {
    width: 1.75rem;
}
.w-11 {
    width: 2.75rem;
}
.w-12 {
    width: 3rem;
}
.w-14 {
    width: 3.5rem;
}
.w-16 {
    width: 4rem;
}
.w-20 {
    width: 5rem;
}
.w-24 {
    width: 6rem;
}
.w-28 {
    width: 7rem;
}
.w-32 {
    width: 8rem;
}
.max-w-7xl {
    max-width: 80rem;
}
.max-w-6xl {
    max-width: 72rem;
}
.max-w-5xl {
    max-width: 64rem;
}
.max-w-4xl {
    max-width: 56rem;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-2xl {
    max-width: 42rem;
}
.max-w-xl {
    max-width: 36rem;
}
.max-w-md {
    max-width: 28rem;
}
.max-w-sm {
    max-width: 24rem;
}
.max-w-lg {
    max-width: 32rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-5 {
    margin-top: 1.25rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mt-7 {
    margin-top: 1.75rem;
}
.mt-8 {
    margin-top: 2rem;
}
.mt-10 {
    margin-top: 2.5rem;
}
.mt-12 {
    margin-top: 3rem;
}
.mt-14 {
    margin-top: 3.5rem;
}
.mt-20 {
    margin-top: 5rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-14 {
    margin-bottom: 3.5rem;
}

.p-1 {
    padding: 0.25rem;
}
.p-2 {
    padding: 0.5rem;
}
.p-4 {
    padding: 1rem;
}
.p-5 {
    padding: 1.25rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-7 {
    padding: 1.75rem;
}
.p-8 {
    padding: 2rem;
}
.p-10 {
    padding: 2.5rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.px-7 {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.pt-8 {
    padding-top: 2rem;
}

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

.text-xs {
    font-size: 0.75rem;
}
.text-sm {
    font-size: 0.875rem;
}
.text-base {
    font-size: 1rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
}
.text-4xl {
    font-size: 2.25rem;
}
.text-5xl {
    font-size: 3rem;
}
.text-6xl {
    font-size: 3.75rem;
}
.text-7xl {
    font-size: 4.5rem;
}

.font-normal {
    font-weight: 400;
}
.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.font-bold {
    font-weight: 700;
}
.font-black {
    font-weight: 900;
}

.leading-tight {
    line-height: 1.25;
}
.leading-relaxed {
    line-height: 1.625;
}
.leading-\[1\.05\] {
    line-height: 1.05;
}

.tracking-wider {
    letter-spacing: 0.05em;
}
.tracking-widest {
    letter-spacing: 0.1em;
}
.tracking-\[0\.18em\] {
    letter-spacing: 0.18em;
}
.tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}
.tracking-\[0\.25em\] {
    letter-spacing: 0.25em;
}

.uppercase {
    text-transform: uppercase;
}
.capitalize {
    text-transform: capitalize;
}

.text-navy {
    color: var(--navy);
}
.text-gold {
    color: var(--gold);
}
.text-accent {
    color: var(--accent);
}
.text-muted-foreground {
    color: var(--muted-foreground);
}
.text-primary-foreground {
    color: var(--primary-foreground);
}
.text-accent-foreground {
    color: var(--accent-foreground);
}
.text-foreground {
    color: var(--foreground);
}
.text-foreground\/75 {
    color: color-mix(in srgb, var(--foreground) 75%, transparent);
}
.text-foreground\/80 {
    color: color-mix(in srgb, var(--foreground) 80%, transparent);
}
.text-primary-foreground\/60 {
    color: color-mix(in srgb, var(--primary-foreground) 60%, transparent);
}
.text-primary-foreground\/70 {
    color: color-mix(in srgb, var(--primary-foreground) 70%, transparent);
}
.text-primary-foreground\/75 {
    color: color-mix(in srgb, var(--primary-foreground) 75%, transparent);
}
.text-primary-foreground\/80 {
    color: color-mix(in srgb, var(--primary-foreground) 80%, transparent);
}
.text-primary-foreground\/85 {
    color: color-mix(in srgb, var(--primary-foreground) 85%, transparent);
}
.text-gold-foreground {
    color: var(--gold-foreground);
}

.bg-background {
    background-color: var(--background);
}
.bg-background\/80 {
    background-color: color-mix(in srgb, var(--background) 80%, transparent);
}
.bg-card {
    background-color: var(--card);
}
.bg-navy {
    background-color: var(--navy);
}
.bg-accent {
    background-color: var(--accent);
}
.bg-gold {
    background-color: var(--gold);
}
.bg-secondary\/40 {
    background-color: color-mix(in srgb, var(--secondary) 40%, transparent);
}
.bg-accent\/5 {
    background-color: color-mix(in srgb, var(--accent) 5%, transparent);
}
.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}
.bg-gradient-hero {
    background-image: var(--gradient-hero);
}
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.border {
    border: 1px solid var(--border);
}
.border-b {
    border-bottom: 1px solid var(--border);
}
.border-t {
    border-top: 1px solid var(--border);
}
.border-y {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.border-border {
    border-color: var(--border);
}
.border-border\/60 {
    border-color: color-mix(in srgb, var(--border) 60%, transparent);
}
.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}
.border-white\/15 {
    border-color: rgba(255, 255, 255, 0.15);
}
.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}
.border-gold\/40 {
    border-color: color-mix(in srgb, var(--gold) 40%, transparent);
}
.border-input {
    border-color: var(--input);
}

.rounded-sm {
    border-radius: calc(var(--radius) - 4px);
}
.rounded-md {
    border-radius: calc(var(--radius) - 2px);
}
.rounded-lg {
    border-radius: var(--radius);
}
.rounded-xl {
    border-radius: calc(var(--radius) + 4px);
}
.rounded-2xl {
    border-radius: calc(var(--radius) + 8px);
}
.rounded-3xl {
    border-radius: calc(var(--radius) + 16px);
}
.rounded-full {
    border-radius: 9999px;
}

.shadow-card {
    box-shadow: var(--shadow-card);
}
.shadow-elegant {
    box-shadow: var(--shadow-elegant);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.object-cover {
    object-fit: cover;
}
.object-contain {
    object-fit: contain;
}

.opacity-40 {
    opacity: 0.4;
}

.transition-all {
    transition: all 0.3s ease;
}
.transition-colors {
    transition: color 0.2s ease;
}
.transition-transform {
    transition: transform 0.3s ease;
}
.duration-700 {
    transition-duration: 0.7s;
}

.hover\:-translate-y-0\.5:hover {
    transform: translateY(-0.125rem);
}
.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}
.hover\:shadow-elegant:hover {
    box-shadow: var(--shadow-elegant);
}
.hover\:scale-110:hover {
    transform: scale(1.1);
}
.hover\:bg-secondary:hover {
    background-color: var(--secondary);
}
.hover\:bg-white\/10:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.hover\:bg-accent:hover {
    background-color: var(--accent);
}
.hover\:text-accent:hover {
    color: var(--accent);
}
.hover\:text-gold:hover {
    color: var(--gold);
}
.hover\:underline:hover {
    text-decoration: underline;
}
.hover\:gap-3:hover {
    gap: 0.75rem;
}
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}
.group:hover .group-hover\:scale-150 {
    transform: scale(1.5);
}
.group:hover .group-hover\:bg-accent\/10 {
    background-color: color-mix(in srgb, var(--accent) 10%, transparent);
}

.place-items-center {
    place-items: center;
}
.inline-grid {
    display: inline-grid;
}

.inline-flex {
    display: inline-flex;
}
.inline-flex {
    display: inline-flex;
}
.block {
    display: block;
}
.hidden {
    display: none;
}

.font-display {
    font-family: "Playfair Display", serif;
}
.shrink-0 {
    flex-shrink: 0;
}

.resize-none {
    resize: none;
}
.outline-none {
    outline: none;
}
.focus\:border-accent:focus {
    border-color: var(--accent);
}

/* ===== GALLERY ===== */
.columns-2 { columns: 2; }
.columns-3 { columns: 3; }
.columns-4 { columns: 4; }
.break-inside-avoid { break-inside: avoid; }
.gallery-item img { display: block; width: 100%; height: auto; }

@media (max-width: 640px) {
  .columns-2 { columns: 2; }
  .columns-3 { columns: 2; }
  .columns-4 { columns: 2; }
}

/* ===== LIGHTBOX ===== */
#lightbox { transition: opacity 0.25s ease; }
#lightbox.hidden { opacity: 0; pointer-events: none; }
#lightbox.flex { opacity: 1; }
#lightboxImg { transition: transform 0.3s ease; }

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
        opacity 1.2s ease-in-out,
        transform 8s ease;
    transform: scale(1.05);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        oklch(0.16 0.07 265 / 0.92),
        oklch(0.22 0.08 265 / 0.5),
        transparent
    );
}
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px oklch(0.82 0.14 85 / 0.5);
}
.hero-dot:hover {
    border-color: var(--gold);
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
    will-change: max-height, opacity;
}
#mobileMenu.open {
    max-height: 600px;
    opacity: 1;
}
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .md\:flex {
        display: none;
    }
    .md\:hidden {
        display: block;
    }
    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    .md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:col-span-2 {
        grid-column: span 1;
    }
    .md\:text-5xl {
        font-size: 2.5rem;
    }
    .md\:text-6xl {
        font-size: 3rem;
    }
    .md\:text-4xl {
        font-size: 2rem;
    }
    .md\:py-32 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .md\:p-14 {
        padding: 2rem;
    }
    .md\:p-10 {
        padding: 1.5rem;
    }
    .md\:flex-row {
        flex-direction: column;
    }
    .md\:items-center {
        align-items: flex-start;
    }
    .md\:justify-between {
        justify-content: flex-start;
    }
    .px-6 {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .text-5xl {
        font-size: 2.5rem;
    }
    .text-6xl {
        font-size: 3rem;
    }
    .h-\[420px\] {
        height: 300px;
    }
}

@media (min-width: 769px) {
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .md\:col-span-2 {
        grid-column: span 2;
    }
    .md\:text-5xl {
        font-size: 3rem;
    }
    .md\:text-6xl {
        font-size: 3.75rem;
    }
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    .md\:py-32 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
    .md\:p-14 {
        padding: 3.5rem;
    }
    .md\:p-10 {
        padding: 2.5rem;
    }
    .md\:flex-row {
        flex-direction: row;
    }
    .md\:items-center {
        align-items: center;
    }
    .md\:justify-between {
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .lg\:col-span-2 {
        grid-column: span 2;
    }
    .lg\:col-span-3 {
        grid-column: span 3;
    }
    .lg\:text-7xl {
        font-size: 4.5rem;
    }
    .lg\:py-40 {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}
