/* ============================================
   KUPPA THYME — Tearoom & Gift Shop
   Classic, Elegant, Charcoal + Coral
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --charcoal: #2C2C2C;
    --charcoal-light: #3D3D3D;
    --charcoal-mid: #4A4A4A;
    --coral: #C75B39;
    --coral-light: #D4735A;
    --coral-dark: #A84828;
    --cream: #FAF7F4;
    --cream-dark: #F0EBE6;
    --warm-white: #FFFCF9;
    --text-primary: #1A1A1A;
    --text-secondary: #5A5A5A;
    --text-muted: #8A8A8A;
    --border: #E8E2DC;
    --shadow-sm: 0 1px 3px rgba(44, 44, 44, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 44, 44, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 44, 44, 0.12);
    --shadow-xl: 0 16px 60px rgba(44, 44, 44, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.7;
    -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;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--coral);
    color: white;
    box-shadow: 0 4px 16px rgba(199, 91, 57, 0.3);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(199, 91, 57, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 247, 244, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.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: white;
    transition: var(--transition);
}

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

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.navbar.scrolled .nav-links a:hover {
    color: var(--charcoal);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--coral);
    color: white !important;
    border-radius: 50px;
    font-weight: 500 !important;
}

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

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

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger {
    background: var(--charcoal);
}

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

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

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -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-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.82) 0%,
        rgba(44, 44, 44, 0.65) 50%,
        rgba(44, 44, 44, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 780px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-xl);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline br {
    display: none;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Floating Cards */
.floating-cards {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: floatIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
    pointer-events: auto;
}

.float-card:nth-child(1) {
    bottom: 20%;
    left: 5%;
    animation-delay: 0.3s;
}

.float-card:nth-child(2) {
    top: 28%;
    right: 6%;
    animation-delay: 0.5s;
}

.float-card:nth-child(3) {
    bottom: 12%;
    right: 12%;
    animation-delay: 0.7s;
}

.float-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
}

.float-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.float-icon {
    color: var(--coral);
    flex-shrink: 0;
}

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

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

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

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

.about-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

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

.about-content {
    padding: 20px 0;
}

.about-content .section-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.about-signature .sig-text {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.about-signature .sig-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--coral);
}

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

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

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

.menu-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.menu-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.menu-category h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.menu-category > p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li span:first-child {
    font-weight: 500;
    color: var(--charcoal);
}

.menu-list .tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--cream);
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
    margin-left: 12px;
}

/* --- Gifts --- */
.gifts {
    padding: 120px 0;
    background: var(--charcoal);
    overflow: hidden;
}

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

.gifts-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.gifts-content .section-eyebrow {
    color: var(--coral-light);
}

.gifts-content .section-title {
    color: white;
}

.gifts-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.gifts-content .btn-primary {
    margin-top: 16px;
}

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

.section-header {
    margin-bottom: 72px;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.visit-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.visit-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.visit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-line;
}

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

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

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-detail svg {
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    background: white;
    box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #F0F7F2;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.92rem;
    color: #4A7C59;
    font-weight: 500;
}

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

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

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition);
}

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

.footer-hours p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-phone {
    display: inline-block;
    margin-top: 12px;
    color: var(--coral-light) !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.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 {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

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

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

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .gifts-showcase,
    .contact-grid {
        gap: 48px;
    }
    
    .menu-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .float-card:nth-child(1) {
        bottom: 15%;
        left: 3%;
    }
    
    .float-card:nth-child(2) {
        top: 30%;
        right: 3%;
    }
    
    .float-card:nth-child(3) {
        bottom: 8%;
        right: 6%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-secondary) !important;
        font-size: 1rem;
    }
    
    .nav-links a:hover {
        color: var(--coral) !important;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-card {
        padding: 40px 28px;
    }
    
    .hero-headline br {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-cards {
        display: none;
    }
    
    .about-grid,
    .gifts-showcase,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap img,
    .gifts-image img {
        height: 360px;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .hero-card {
        padding: 32px 20px;
    }
    
    .about,
    .menu,
    .gifts,
    .visit,
    .contact {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
