/* Pacific Perk — Styles */

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

:root {
    --navy: #1B2A4A;
    --navy-light: #243557;
    --navy-dark: #131F36;
    --gold: #D4A84B;
    --gold-light: #E8C97A;
    --gold-pale: #F5E6C0;
    --cream: #FAF8F4;
    --cream-dark: #F3F0EA;
    --white: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #6B6B6B;
    --text-muted: #9A9A9A;
    --border: #E8E4DD;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.logo-mark {
    color: var(--navy);
}

.site-header.scrolled .logo,
.site-header.scrolled .logo-mark {
    color: var(--navy);
}

/* ── Nav ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-list a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-list a:hover {
    color: var(--navy);
}

.nav-list a:hover::after {
    width: 100%;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--navy);
    background: var(--white);
}

.btn-full {
    width: 100%;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--navy-dark) 0%,
        var(--navy) 30%,
        #1e3a5f 50%,
        #2a4a6b 70%,
        #3d5a72 100%
    );
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(212, 168, 75, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 168, 75, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(27, 42, 74, 0.3) 0%, transparent 70%);
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A84B' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
}

.hero-actions .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.35);
}

.hero-actions .btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Section shared ── */
.pillars,
.menu,
.gallery,
.visit,
.contact,
.cta {
    padding: 120px 0;
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 60px;
}

/* ── Pillars ── */
.pillars {
    background: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.pillar {
    padding: 48px 40px;
    border-right: 1px solid var(--border);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.pillar:last-child {
    border-right: none;
}

.pillar.visible {
    opacity: 1;
    transform: translateY(0);
}

.pillar-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.pillar-text {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ── Menu ── */
.menu {
    background: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.menu-category-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--navy);
}

.menu-category-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--text);
}

.menu-item-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
}

.menu-note {
    margin-top: 48px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* ── Gallery ── */
.gallery {
    background: var(--white);
    padding: 120px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--large {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    min-height: 500px;
}

.gallery-item:not(.gallery-item--large) {
    min-height: 240px;
}

.gallery-item--wide {
    grid-column: 6 / 13;
    min-height: 240px;
}

/* ── Visit ── */
.visit {
    background: var(--cream);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0;
}

.visit-row dt {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.visit-row dd {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.visit-row dd a {
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    transition: border-color var(--transition);
}

.visit-row dd a:hover {
    border-color: var(--gold);
}

.visit-map {
    min-height: 420px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.visit-map iframe {
    filter: grayscale(0.4) contrast(1.05);
}

/* ── Contact ── */
.contact {
    background: var(--navy);
    color: var(--white);
}

.contact .section-label {
    color: var(--gold);
}

.contact .section-title {
    color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-copy {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 400px;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 4px;
    transition: border-color var(--transition), color var(--transition);
}

.contact-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── Form ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    padding: 14px 16px;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    border-radius: 0;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--gold);
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

/* ── CTA ── */
.cta {
    background: var(--cream-dark);
    text-align: center;
    padding: 120px 0;
}

.cta-eyebrow {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 300;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-copy {
    font-size: 1.0625rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 72px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .menu-grid {
        gap: 40px 48px;
    }

    .visit-layout {
        gap: 48px;
    }

    .contact-layout {
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
    }

    .nav-list.open {
        transform: translateX(0);
    }

    .nav-list a {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

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

    .pillar {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 36px 0;
    }

    .pillar:first-child {
        padding-top: 0;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .gallery-item--large {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 300px;
    }

    .gallery-item--wide {
        grid-column: 1 / -1;
        min-height: 200px;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        min-height: 180px;
    }

    .visit-layout {
        grid-template-columns: 1fr;
    }

    .visit-map {
        min-height: 300px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 100px 24px 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: 2.125rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .gallery-item--large {
        min-height: 260px;
    }

    .menu-item {
        flex-direction: column;
        gap: 4px;
    }

    .menu-item-desc {
        text-align: left;
    }
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
