/* ============================================
   SODU'S CAFE — Brand Stylesheet
   Palette: Plum (#7C3AED) + Amber (#D97706)
   ============================================ */

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #fefefe;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #7C3AED;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

.text-plum { color: #7C3AED; }
.text-amber { color: #D97706; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background: #7C3AED;
    color: #fff;
    border: 2px solid #7C3AED;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #6D28D9;
    border-color: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.btn-ghost {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid rgba(26, 26, 46, 0.2);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: #7C3AED;
    color: #7C3AED;
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #D97706;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: #D97706;
    border-radius: 2px;
}

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

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 254, 254, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    border-radius: 8px;
    position: relative;
    flex-shrink: 0;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}

.logo-accent {
    color: #7C3AED;
}

/* ---------- Navigation ---------- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #7C3AED;
    background: rgba(124, 58, 237, 0.06);
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: rgba(124, 58, 237, 0.06);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    overflow: hidden;
    background: #0f0f1a;
}

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

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 20%, transparent 70%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 70% 50% at 30% 40%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(217, 119, 6, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #c4b5fd;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #D97706;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #9ca3af;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-actions .btn-ghost:hover {
    border-color: #D97706;
    color: #D97706;
    background: transparent;
}

/* ---------- Hero Stats ---------- */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 300px;
}

.stat-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card--plum .stat-card-inner {
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
}

.stat-card--amber .stat-card-inner {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
}

.stat-card--neutral .stat-card-inner {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.stat-card-inner {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.125rem;
}

/* ---------- About ---------- */
.about {
    padding: 6rem 0;
    background: #fefefe;
}

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

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

.about-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.2;
}

.about-accent-strip {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-left: 0.25rem;
}

.accent-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D97706;
    opacity: 0.6;
}

.accent-dot:nth-child(2) { opacity: 0.4; }
.accent-dot:nth-child(3) { opacity: 0.2; }

.about-content {
    padding: 1rem 0;
}

.about-content p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: #7C3AED;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a2e;
}

/* ---------- Offerings ---------- */
.offerings {
    padding: 6rem 0;
    background: #f8f7ff;
}

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

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.offering-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}

.offering-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.offering-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offering-card:hover .offering-card-img img {
    transform: scale(1.05);
}

.offering-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.3) 0%, transparent 50%);
}

.offering-card-content {
    padding: 1.5rem;
}

.offering-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D97706;
    background: rgba(217, 119, 6, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.offering-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.625rem;
    line-height: 1.25;
}

.offering-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6b7280;
}

/* ---------- Quality ---------- */
.quality {
    padding: 6rem 0;
    background: #fefefe;
}

.quality-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-content p {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quality-feature {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
}

.quality-feature-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #7C3AED;
    opacity: 0.3;
    line-height: 1;
    padding-top: 0.25rem;
}

.quality-feature-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.375rem;
}

.quality-feature-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6b7280;
}

.quality-image-stack {
    position: relative;
    padding-bottom: 2rem;
}

.quality-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.quality-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quality-img-float {
    position: absolute;
    bottom: -1rem;
    left: -2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
}

.quality-img-float img {
    width: 100%;
    display: block;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: #0f0f1a;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(217, 119, 6, 0.12) 0%, transparent 50%);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

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

.cta-desc {
    font-size: 1.125rem;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- Visit ---------- */
.visit {
    padding: 6rem 0;
    background: #f8f7ff;
}

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

.visit-info {
    padding: 2rem 0;
}

.visit-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.visit-detail {
    display: flex;
    gap: 1rem;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.visit-detail-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.visit-detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7C3AED;
    margin-bottom: 0.25rem;
}

.visit-detail-value {
    font-size: 1rem;
    color: #1a1a2e;
    line-height: 1.6;
}

.visit-link {
    color: #D97706;
    font-weight: 600;
    transition: color 0.2s;
}

.visit-link:hover {
    color: #7C3AED;
}

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

.visit-map-frame {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0f0f1a;
    color: #fff;
    padding: 3rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-top: 0.75rem;
    max-width: 320px;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-top: 0.75rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    font-size: 0.9375rem;
}

.footer-contact-item svg {
    color: #7C3AED;
    flex-shrink: 0;
}

.footer-link {
    color: #D97706;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #F59E0B;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(124, 58, 237, 0.1);
    z-index: 99;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7C3AED, #D97706);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ---------- Scroll Reveal ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-stats {
        max-width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-card {
        min-width: 0;
    }

    .about-grid,
    .quality-layout,
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .quality-image-stack {
        order: -1;
        max-width: 500px;
    }

    .quality-img-float {
        left: 1rem;
    }
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(124, 58, 237, 0.08);
        padding: 1rem 1.5rem 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
        align-items: stretch;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .main-nav .btn {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-contact {
        align-items: flex-start;
    }

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

    .quality-img-float {
        display: none;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .badge-dot {
        animation: none;
        opacity: 1;
    }
}
