/* ========================================
   Ruby Liquor — Bold Editorial Style
   Charcoal + Coral Palette
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #1A1A1A;
    --charcoal-light: #2D2D2D;
    --charcoal-mid: #3A3A3A;
    --coral: #C84B3C;
    --coral-light: #E06B5C;
    --coral-dark: #A83A2C;
    --cream: #FAF7F4;
    --cream-dark: #F0EBE6;
    --white: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #888888;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--sans);
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.1;
}

.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--charcoal);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--coral);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 75, 60, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: padding 0.4s var(--ease-out);
}

.nav.scrolled .nav-inner {
    padding: 14px 0;
}

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

.nav-logo-icon {
    color: var(--coral);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--coral);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--white);
}

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

.nav-cta {
    background: var(--coral) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500 !important;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--coral-dark) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.55) 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Marquee --- */
.marquee {
    background: var(--charcoal);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.marquee span {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.marquee-dot {
    color: var(--coral) !important;
    font-size: 0.5rem !important;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--coral);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.15;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Selection --- */
.selection {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    border-radius: 4px;
    overflow: hidden;
    background: var(--cream);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.12);
}

.category-img {
    overflow: hidden;
    height: 240px;
}

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

.category-card:hover .category-img img {
    transform: scale(1.08);
}

.category-info {
    padding: 32px;
}

.category-info h3 {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.category-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Feature Banner --- */
.feature-banner {
    background: var(--charcoal);
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-item {
    text-align: center;
    padding: 32px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(200, 75, 60, 0.4);
    border-radius: 50%;
    color: var(--coral);
}

.feature-item h3 {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

.visit-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--coral);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.08);
}

.visit-detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--coral);
    transition: color 0.3s;
}

.visit-detail a:hover {
    color: var(--coral-dark);
}

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    height: 480px;
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
}

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

.contact-direct-link {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    background: var(--cream);
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
}

.contact-direct-link:hover {
    background: var(--charcoal);
}

.contact-direct-link:hover .contact-direct-label {
    color: rgba(255, 255, 255, 0.6);
}

.contact-direct-link:hover .contact-direct-value {
    color: var(--coral);
}

.contact-direct-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    transition: color 0.3s;
}

.contact-direct-value {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    transition: color 0.3s;
}

.contact-form-wrapper {
    background: var(--cream);
    padding: 48px;
    border-radius: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid rgba(26, 26, 26, 0.12);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(200, 75, 60, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #E8F5E9;
    border-radius: 4px;
    color: #2E7D32;
    font-weight: 500;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--coral);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-info h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--coral);
    padding-left: 4px;
}

.footer-info p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.25) !important;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .about-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 320px;
    }

    .about-image-accent {
        display: none;
    }

    .about-stats {
        gap: 32px;
    }

    .categories {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .visit-map {
        height: 300px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
}

/* --- Mobile overlay --- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.show {
    display: block;
}
