/* ============================================
   Gulch Smoothies — Custom Styles
   Classic & elegant | Plum + Amber palette
   ============================================ */

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

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

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1.5rem;
    background: #6b3a5d;
    color: #f5f0f7;
    font-size: 0.875rem;
    border-radius: 0 0 0.5rem 0.5rem;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ---------- Header ---------- */
.header {
    background: rgba(245, 240, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107, 58, 93, 0.08);
}

.header.scrolled {
    background: rgba(245, 240, 247, 0.97);
    box-shadow: 0 1px 20px rgba(48, 26, 40, 0.08);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #d4a017;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #d4a017;
    color: #200f1a;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    border: 2px solid #d4a017;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary:hover {
    background: #b8860b;
    border-color: #b8860b;
    color: #f5f0f7;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 0.9375rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #f5f0f7;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    border: 2px solid rgba(245, 240, 247, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-outline-light:hover {
    background: rgba(245, 240, 247, 0.12);
    border-color: #f5f0f7;
    color: #f5f0f7;
    transform: translateY(-1px);
}
.btn-outline-light.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 0.9375rem;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(107, 58, 93, 0.08);
}

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

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(32, 15, 26, 0.82) 0%,
        rgba(107, 58, 93, 0.72) 50%,
        rgba(48, 26, 40, 0.80) 100%
    );
}

.hero-deco {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-deco-top {
    top: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
}

.hero-deco-bottom {
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(107, 58, 93, 0.3) 0%, transparent 70%);
}

.hero-content {
    padding-top: 5rem;
}

.hero-eyebrow {
    opacity: 0;
    animation: fadeDown 0.8s ease forwards 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.4s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.6s;
}

.hero-ctas {
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.8s;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.2s;
}

.scroll-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.scroll-line span {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 240, 247, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    color: rgba(245, 240, 247, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ---------- Section Layout ---------- */
.section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #d4a017;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #301a28;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #7d4f8e;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* ---------- Menu ---------- */
.menu-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(107, 58, 93, 0.08);
}
.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

.menu-item p {
    margin-left: 0;
}

/* Special Card */
.special-card {
    background: linear-gradient(135deg, #6b3a5d 0%, #44243a 100%);
    color: #f5f0f7;
}
.special-card h4 {
    color: #f5f0f7;
}
.special-card p {
    color: #d6c4df;
}

/* ---------- About ---------- */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 160, 23, 0.3);
    border-radius: 1rem;
    z-index: 0;
}

.about-img {
    transition: transform 0.6s ease;
}
.about-image-wrapper:hover .about-img {
    transform: scale(1.02);
}

.about-stat {
    text-align: center;
}
.about-stat span:last-child {
    display: block;
    margin-top: 0.25rem;
}

/* ---------- Map ---------- */
.map-wrapper {
    position: relative;
    box-shadow: 0 20px 60px rgba(48, 26, 40, 0.12);
}
.map-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px rgba(107, 58, 93, 0.08);
    pointer-events: none;
}

/* ---------- Contact Form ---------- */
.input {
    font-size: 0.9375rem;
}
.input:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.contact-form .btn-primary {
    min-width: 200px;
}

.success-message {
    animation: fadeUp 0.5s ease forwards;
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid rgba(107, 58, 93, 0.15);
}

/* ---------- Scroll Reveal ---------- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%       { transform: translateY(4px); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-accent {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-padding {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }
}

/* ---------- Focus Visible ---------- */
*:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(107, 58, 93, 0.2);
    color: #301a28;
}
