@import "tailwindcss";
@source "../views";
@import "./buttons.css";
@import "./peak.css";
@import "./typography.css";

@theme {
    --color-primary: #d5b75c;
    --color-primary-hover: #e5cb7a;

    --color-gold: #d5b75c;
    --color-gold-hover: #e5cb7a;
    --color-gold-muted: rgba(213, 183, 92, 0.2);

    --color-accent: #d5b75c;
    --color-accent-hover: #e5cb7a;
    --color-accent-light: #fef9ea;
    --color-accent-dark: #b39238;

    --color-canvas: #0a0b0e;
    --color-canvas-alt: #101217;
    --color-surface: #14171f;
    --color-surface-elevated: #1a1e28;
    --color-surface-card: #161922;

    --color-neutral: #f8fafc;
    --color-neutral-50: #ffffff;
    --color-neutral-100: #f1f5f9;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1e293b;
    --color-neutral-900: #0f172a;
    --color-neutral-950: #020617;

    --color-slate-400: #d0d0d0;

    --font-serif: "Playfair Display", Georgia, Cambria, "Times New Roman", Times, serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --radius-xs: 0px;
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-2xl: 0px;
    --radius-3xl: 0px;
    --radius-4xl: 0px;
    --radius-full: 0px;
    --radius: 0px;
}

@layer base {
    /* Complete removal of curved edges on buttons, blocks, images, and form fields */
    button,
    [type="button"],
    [type="submit"],
    [type="reset"],
    .button,
    .button-outline,
    input,
    textarea,
    select,
    img,
    video,
    article,
    section,
    [class*="rounded"] {
        border-radius: 0 !important;
    }

    html {
        color: var(--color-neutral);
        font-family: var(--font-sans);
        background-color: var(--color-canvas);
        color-scheme: dark;
    }

    body {
        background-color: var(--color-canvas);
        color: var(--color-neutral-300);
        font-weight: 300;
    }

    p {
        font-weight: 300;
    }

    h1, h2, h3, h4, .font-heading {
        font-family: var(--font-serif);
        letter-spacing: -0.01em;
        color: var(--color-neutral-50);
    }

    /* Elegant gold italic flourish in headings */
    h1:not(.hero-title) em, h1:not(.hero-title) i, h1:not(.hero-title) span,
    h2:not(.hero-title) em, h2:not(.hero-title) i, h2:not(.hero-title) span,
    h3:not(.hero-title) em, h3:not(.hero-title) i, h3:not(.hero-title) span,
    h4:not(.hero-title) em, h4:not(.hero-title) i, h4:not(.hero-title) span,
    .heading-flourish em, .heading-flourish i, .heading-flourish span {
        font-family: var(--font-serif);
        font-style: italic;
        color: var(--color-gold);
        font-weight: inherit;
    }

    ::selection,
    ::target-text {
        background-color: var(--color-gold);
        color: #0a0b0e;
    }
}

@layer utilities {
    /* Refined metallic gold foil gradient for headlines (as seen in NAYLOR) */
    .text-metallic-gold {
        background: linear-gradient(135deg, #f0deaa 0%, #e5cb7a 25%, #d5b75c 50%, #b8933b 80%, #d5b75c 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
        padding-left: 0.15em;
        margin-left: -0.15em;
        padding-right: 0.15em;
        margin-right: -0.1em;
    }

    /* Subtle gold glow shadow for luxury cards and buttons */
    .shadow-gold-glow {
        box-shadow: 0 0 25px rgba(213, 183, 92, 0.25);
    }

    .shadow-gold-subtle {
        box-shadow: 0 0 15px rgba(213, 183, 92, 0.12);
    }

    /* Hero headline: smaller unbold default text, massive bold gold span on asterisk flourish */
    .hero-title {
        font-family: var(--font-serif);
        font-weight: 400;
        color: #e2e8f0;
        text-transform: uppercase;
        letter-spacing: 0.22em;
        line-height: 1.1;
        font-size: 1.25rem;
    }

    @media (min-width: 640px) {
        .hero-title {
            font-size: 1.625rem;
        }
    }

    @media (min-width: 768px) {
        .hero-title {
            font-size: 2rem;
        }
    }

    @media (min-width: 1024px) {
        .hero-title {
            font-size: 2.35rem;
        }
    }

    .hero-title span,
    .hero-title em {
        display: block;
        font-family: var(--font-serif);
        font-weight: 700;
        letter-spacing: 0.1em;
        line-height: 0.92;
        font-style: normal;
        background: linear-gradient(135deg, #f0deaa 0%, #e5cb7a 25%, #d5b75c 50%, #b8933b 80%, #d5b75c 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 3rem;
        margin-top: -0.04em;
    }

    @media (min-width: 640px) {
        .hero-title span,
        .hero-title em {
            font-size: 4.5rem;
        }
    }

    @media (min-width: 768px) {
        .hero-title span,
        .hero-title em {
            font-size: 6rem;
        }
    }

    @media (min-width: 1024px) {
        .hero-title span,
        .hero-title em {
            font-size: 8rem;
        }
    }

    .hero-title br {
        display: none;
    }

    /* Photo gallery: featured first image spanning 2 columns while retaining exact same height as 4:3 1-col images */
    .photo-gallery-featured {
        @media (min-width: 768px) {
            aspect-ratio: 8 / 3;
            height: calc((100cqw - 1.5rem) * 3 / 8);
        }
        @media (min-width: 1024px) {
            height: calc((100cqw - 2rem) * 3 / 8);
        }
    }

    /* Ambient Hero Video: prevent any native controls, context overlays or highlights */
    .hero-bg-video {
        pointer-events: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    .hero-bg-video::-webkit-media-controls,
    .hero-bg-video::-webkit-media-controls-enclosure,
    .hero-bg-video::-webkit-media-controls-panel,
    .hero-bg-video::-webkit-media-controls-start-playback-button {
        display: none !important;
        -webkit-appearance: none !important;
        opacity: 0 !important;
    }

    /* All buttons use header font (Playfair Display) uppercase */
    button,
    .button,
    .button-outline,
    input[type="submit"],
    input[type="button"] {
        font-family: var(--font-serif);
        font-weight: 400;
        text-transform: uppercase;
    }
}



