/* ========================================
   SOLOWAY COFFEE — Stylesheet
   Classic & Elegant · Plum + Amber
   ======================================== */

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

:root {
    --plum-deep: #3D1A30;
    --plum: #6B2F5B;
    --plum-mid: #8B4070;
    --plum-light: #A85588;
    --plum-pale: #D4A0B8;
    --plum-ghost: #F5E6EE;
    
    --amber: #C8923A;
    --amber-light: #D4A04A;
    --amber-pale: #F0D9A0;
    --amber-ghost: #FDF6E8;
    
    --cream: #FDF8F4;
    --cream-dark: #F5EDE5;
    --warm-white: #FEFCF9;
    
    --text-primary: #1A0A14;
    --text-secondary: #4A2038;
    --text-muted: #7A5068;
    --text-light: #A07890;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

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

.navbar.scrolled {
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(107, 47, 91, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-white);
    transition: color 0.4s var(--ease-smooth);
}

.navbar.scrolled .nav-logo {
    color: var(--plum-deep);
}

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

.navbar.scrolled .nav-logo-icon {
    color: var(--plum);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(254, 252, 249, 0.8);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

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

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

.nav-link:hover {
    color: var(--warm-white);
}

.navbar.scrolled .nav-link:hover {
    color: var(--plum);
}

.nav-cta-btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 24px;
    border: 1.5px solid rgba(212, 160, 74, 0.6);
    border-radius: 100px;
    color: var(--amber-light) !important;
    transition: all 0.3s var(--ease-smooth);
    letter-spacing: 0.02em;
}

.nav-cta-btn::after {
    display: none;
}

.nav-cta-btn:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--plum-deep) !important;
}

.navbar.scrolled .nav-cta-btn {
    border-color: var(--plum);
    color: var(--plum) !important;
}

.navbar.scrolled .nav-cta-btn:hover {
    background: var(--plum);
    border-color: var(--plum);
    color: var(--warm-white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 1.5px;
    background: var(--warm-white);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.navbar.scrolled .nav-toggle-line {
    background: var(--plum-deep);
}

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

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

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

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

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

.hero-gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--plum-deep) 0%, 
        var(--plum) 30%, 
        #7B3A68 50%, 
        var(--plum-mid) 70%, 
        #5A2548 100%);
}

.hero-gradient-2 {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(200, 146, 58, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(168, 85, 136, 0.3) 0%, transparent 50%);
}

.hero-gradient-3 {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(212, 160, 74, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(107, 47, 91, 0.4) 0%, transparent 40%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 10, 20, 0.2) 0%,
        rgba(26, 10, 20, 0.1) 50%,
        rgba(26, 10, 20, 0.4) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-pale);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--warm-white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-pale);
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(254, 252, 249, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(254, 252, 249, 0.65);
}

.hero-detail svg {
    color: var(--amber-light);
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease-smooth);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--plum-deep);
}

.btn-primary:hover {
    background: var(--amber-light);
    border-color: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 146, 58, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: rgba(254, 252, 249, 0.4);
    color: var(--warm-white);
}

.btn-outline:hover {
    border-color: var(--warm-white);
    background: rgba(254, 252, 249, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 0.95rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.4s forwards;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(254, 252, 249, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(254, 252, 249, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

.about-image-col {
    position: relative;
}

.about-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(107, 47, 91, 0.12);
}

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

.about-image-main:hover img {
    transform: scale(1.03);
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(107, 47, 91, 0.15);
    border: 4px solid var(--cream);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-col {
    padding: 20px 0;
}

.about-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--plum-ghost);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
    flex-shrink: 0;
}

.about-value h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-value p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Menu ---------- */
.menu {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.menu-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

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

.menu-category {
    padding: 40px 32px;
    background: var(--cream);
    border-radius: 20px;
    border: 1px solid rgba(107, 47, 91, 0.06);
    transition: all 0.4s var(--ease-smooth);
}

.menu-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(107, 47, 91, 0.08);
    border-color: rgba(107, 47, 91, 0.12);
}

.menu-category-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-number {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--amber);
    background: var(--amber-ghost);
    padding: 4px 10px;
    border-radius: 100px;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(107, 47, 91, 0.06);
}

.menu-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

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

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

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

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

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

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 26, 48, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--warm-white);
    font-style: italic;
}

.gallery-item--large {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.gallery-item--wide {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
}

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

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

.visit-info {
    padding: 20px 0;
}

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

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

.visit-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--plum-ghost);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
    flex-shrink: 0;
}

.visit-detail h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

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

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

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(107, 47, 91, 0.1);
    min-height: 450px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--plum-deep);
    color: rgba(254, 252, 249, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(254, 252, 249, 0.08);
}

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

.footer-logo svg {
    color: var(--amber-light);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(254, 252, 249, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(254, 252, 249, 0.5);
    transition: color 0.3s;
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: rgba(254, 252, 249, 0.5);
}

.footer-contact a {
    color: rgba(254, 252, 249, 0.5);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(254, 252, 249, 0.3);
}

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

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

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .menu-categories {
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-rows: repeat(2, 240px);
    }
    
    .footer-top {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-accent {
        right: 20px;
        bottom: -20px;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--large {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 300px;
    }
    
    .gallery-item {
        min-height: 220px;
    }
    
    .gallery-item--wide {
        grid-column: 1 / -1;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 350px;
    }
    
    .visit-map iframe {
        min-height: 350px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--plum-deep);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: rgba(254, 252, 249, 0.8) !important;
        font-size: 1.1rem;
    }
    
    .nav-link:hover {
        color: var(--amber-light) !important;
    }
    
    .nav-cta-btn {
        border-color: rgba(212, 160, 74, 0.5);
        color: var(--amber-light) !important;
        margin-top: 8px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .about-image-accent {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 16px;
    }
    
    .about-image-accent img {
        height: 250px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .about, .menu, .gallery, .visit {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large {
        grid-column: auto;
    }
    
    .menu-category {
        padding: 28px 24px;
    }
}
