/* ==========================================================================
   Numair Coffee Baar - Premium Stylesheet
   Theme: Coffee Brown & Lavender
   ========================================================================== */

/* --- Custom Variables & Tokens --- */
:root {
    /* Color Palette */
    --coffee-darker: #150b06;
    --coffee-dark: #23120a;
    --coffee-medium: #4a2c1b;
    --coffee-light: #7c5c43;
    --coffee-warm: #a67c52;
    
    --lavender-dark: #463073;
    --lavender-medium: #7858b0;
    --lavender-light: #ab8ce3;
    --lavender-soft: #d3c3f3;
    --lavender-cream: #f4f0fa;
    --lavender-accent: #c4b0f9;
    
    --bg-dark: #120a06;
    --bg-light: #fdfbf7;
    --bg-card-dark: rgba(35, 18, 10, 0.7);
    --bg-card-light: rgba(253, 251, 247, 0.8);
    
    /* Layout & Styling */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --border-radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    
    --glass-background: rgba(21, 11, 6, 0.75);
    --glass-border: rgba(187, 159, 251, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --accent-glow: 0 0 20px rgba(187, 159, 251, 0.4);
    --coffee-glow: 0 0 20px rgba(166, 124, 82, 0.2);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--lavender-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

input, textarea, button {
    font-family: inherit;
    border: none;
    outline: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--coffee-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--coffee-medium);
    border-radius: var(--border-radius-full);
    border: 2px solid var(--coffee-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--lavender-medium);
}

/* --- Selection Color --- */
::selection {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
}

/* --- Typography Helpers --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--lavender-cream);
    margin-bottom: 12px;
}

.section-title span {
    color: var(--lavender-accent);
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--lavender-medium);
    z-index: -1;
    opacity: 0.3;
    border-radius: var(--border-radius-full);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #cfc7c0;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--coffee-warm), var(--lavender-accent));
    border-radius: var(--border-radius-full);
    margin-bottom: 24px;
}

.accent-line.center {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-lavender {
    color: var(--lavender-accent);
}

.hidden {
    display: none !important;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--coffee-warm) 0%, var(--lavender-medium) 100%);
    color: var(--lavender-cream);
    box-shadow: 0 4px 15px rgba(120, 88, 176, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 88, 176, 0.6);
    background: linear-gradient(135deg, var(--lavender-medium) 0%, var(--coffee-warm) 100%);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--lavender-cream);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--lavender-cream);
    color: var(--coffee-darker);
    border-color: var(--lavender-cream);
}

.btn-outline {
    background-color: transparent;
    color: var(--lavender-accent);
    border: 2px solid var(--lavender-medium);
}

.btn-outline:hover {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    box-shadow: var(--accent-glow);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- Main Header / Nav --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-background);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 12px 0;
    box-shadow: var(--glass-shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
    height: 60px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lavender-cream);
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--lavender-accent);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #cfc7c0;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--lavender-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lavender-accent);
    transition: var(--transition-normal);
    border-radius: var(--border-radius-full);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--lavender-cream);
    transition: var(--transition-normal);
    border-radius: var(--border-radius-full);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--coffee-darker);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: var(--transition-slow);
    opacity: 0;
}

.mobile-nav-overlay.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #cfc7c0;
}

.mobile-nav-link:hover {
    color: var(--lavender-accent);
}

.mobile-order-btn {
    margin-top: 16px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 30%, rgba(120, 88, 176, 0.15) 0%, rgba(35, 18, 10, 0) 60%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    filter: grayscale(30%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(187, 159, 251, 0.1);
    border: 1px solid rgba(187, 159, 251, 0.2);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lavender-accent);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--lavender-cream);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--lavender-accent);
    text-shadow: 0 0 15px rgba(187, 159, 251, 0.3);
}

.hero-description {
    font-size: 1.15rem;
    color: #cfc7c0;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Hero Interactive Visual */
.hero-interactive {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1.2s ease-out forwards;
}

.floating-cup-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: var(--border-radius-full);
    background: radial-gradient(circle, rgba(120, 88, 176, 0.2) 0%, transparent 70%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 320px;
    height: 320px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    border: 6px solid rgba(187, 159, 251, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), var(--accent-glow);
}

/* Steam Animation */
.steam-container {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.steam-line {
    width: 4px;
    height: 40px;
    background: linear-gradient(to top, rgba(187, 159, 251, 0.8), transparent);
    border-radius: var(--border-radius-full);
    filter: blur(2px);
    animation: riseSteam 3s infinite linear;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 0.8s; }
.line-3 { animation-delay: 1.4s; }

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.badge-1 {
    top: 20%;
    left: -20px;
    animation: floatAnimation 4s ease-in-out infinite;
}

.badge-2 {
    bottom: 20%;
    right: -20px;
    animation: floatAnimation 4s ease-in-out infinite 2s;
}

/* --- Info Banner --- */
.info-banner {
    background-color: var(--coffee-dark);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 0;
}

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

.banner-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(120, 88, 176, 0.15);
    border: 1px solid rgba(120, 88, 176, 0.3);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lavender-accent);
}

.banner-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lavender-cream);
    margin-bottom: 4px;
}

.banner-text p {
    font-size: 0.9rem;
    color: #cfc7c0;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

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

.about-visual {
    position: relative;
}

.img-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.frame-primary {
    border: 2px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.img-frame:hover .about-image {
    transform: scale(1.05);
}

.about-text {
    font-size: 1.1rem;
    color: #cfc7c0;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.feat-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--lavender-medium);
    line-height: 1;
}

.feat-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lavender-cream);
    margin-bottom: 4px;
}

.feat-info p {
    font-size: 0.9rem;
    color: #9c948e;
}

/* --- Menu Section --- */
.menu-section {
    padding: 100px 0;
    background-color: var(--coffee-darker);
    position: relative;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.menu-tab-btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: transparent;
    color: #cfc7c0;
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.menu-tab-btn.active, .menu-tab-btn:hover {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    border-color: var(--lavender-medium);
    box-shadow: var(--accent-glow);
}

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

.menu-item-card {
    background-color: var(--bg-card-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    opacity: 1;
    transform: translateY(0);
}

.menu-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--lavender-accent);
    box-shadow: 0 12px 40px rgba(187, 159, 251, 0.25);
}

.item-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.item-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.menu-item-card:hover .item-img-wrapper img {
    transform: scale(1.08);
}

.item-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
}

.item-details {
    padding: 24px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--lavender-cream);
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lavender-accent);
}

.item-desc {
    font-size: 0.95rem;
    color: #cfc7c0;
    margin-bottom: 24px;
    min-height: 60px;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-rating {
    font-size: 0.85rem;
    color: var(--coffee-warm);
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-rating i {
    color: var(--lavender-accent);
}

.btn-order-add {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: var(--coffee-medium);
    color: var(--lavender-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-order-add:hover {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    transform: rotate(90deg);
}

/* --- Virtual Brewer Section --- */
.brewer-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.brewer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.brewer-intro {
    font-size: 1.1rem;
    color: #cfc7c0;
    margin-bottom: 32px;
}

.brewer-controls {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.control-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lavender-accent);
    margin-bottom: 12px;
}

.brewer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-option {
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    background-color: var(--coffee-dark);
    color: #cfc7c0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.btn-option:hover {
    border-color: var(--lavender-medium);
}

.btn-option.active {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    border-color: var(--lavender-medium);
    box-shadow: 0 4px 10px rgba(120, 88, 176, 0.3);
}

/* Mug Visualizer */
.visualizer-card {
    background-color: var(--bg-card-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mug-visualizer-container {
    height: 280px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    margin-bottom: 32px;
}

.mug {
    position: relative;
    width: 160px;
    height: 180px;
    border: 6px solid var(--lavender-cream);
    border-top: none;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mug-handle {
    position: absolute;
    top: 35px;
    right: -45px;
    width: 50px;
    height: 90px;
    border: 6px solid var(--lavender-cream);
    border-left: none;
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
    z-index: 1;
}

.mug-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
}

.liquid-base {
    height: 0%;
    background-color: var(--coffee-medium);
    transition: height 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.15);
}

.liquid-milk {
    height: 0%;
    background-color: #f7eedb;
    transition: height 1.5s cubic-bezier(0.1, 0.8, 0.3, 1) 0.5s;
}

.liquid-topping {
    height: 0%;
    background-color: var(--lavender-soft);
    transition: height 1s cubic-bezier(0.1, 0.8, 0.3, 1) 1.2s;
    box-shadow: inset 0 -4px 10px rgba(187, 159, 251, 0.3);
}

/* Custom Steam on visualizer */
.brew-steam {
    position: absolute;
    top: 20px;
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.brew-steam span {
    width: 6px;
    height: 50px;
    background: linear-gradient(to top, var(--lavender-light), transparent);
    border-radius: var(--border-radius-full);
    filter: blur(3px);
}

.brew-steam.active {
    opacity: 0.85;
}

.brew-steam.active span {
    animation: riseSteam 2.5s infinite linear;
}

.brew-steam span:nth-child(2) { animation-delay: 0.4s; }
.brew-steam span:nth-child(3) { animation-delay: 0.8s; }

/* Result Details */
.brew-result-card {
    text-align: center;
    width: 100%;
}

.brew-result-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--lavender-accent);
    margin-bottom: 16px;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    background-color: rgba(0,0,0,0.2);
    padding: 16px;
    border-radius: var(--border-radius-md);
}

.result-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #cfc7c0;
}

.stat-bar {
    width: 140px;
    height: 8px;
    background-color: var(--coffee-dark);
    border-radius: var(--border-radius-full);
    overflow: hidden;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--coffee-warm), var(--lavender-medium));
    width: 0%;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.result-description {
    font-size: 0.95rem;
    color: #cfc7c0;
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 48px;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--coffee-dark);
    border-top: 1px solid var(--glass-border);
}

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

.testimonial-card {
    background-color: var(--bg-card-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--lavender-medium);
    transform: translateY(-5px);
}

.rating-stars {
    color: var(--lavender-accent);
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-style: italic;
    color: #cfc7c0;
    margin-bottom: 28px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    background-color: rgba(187, 159, 251, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--lavender-accent);
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lavender-cream);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #9c948e;
}

/* --- Contact & Booking --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
}

.contact-intro {
    font-size: 1.1rem;
    color: #cfc7c0;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

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

.detail-icon {
    font-size: 1.5rem;
    color: var(--lavender-accent);
    width: 40px;
    display: flex;
    justify-content: center;
}

.detail-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lavender-cream);
    margin-bottom: 6px;
}

.detail-text p {
    font-size: 0.95rem;
    color: #cfc7c0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender-cream);
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    box-shadow: var(--accent-glow);
    transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--bg-card-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--glass-shadow);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--lavender-cream);
    margin-bottom: 32px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--lavender-cream);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--lavender-medium);
    box-shadow: 0 0 10px rgba(120, 88, 176, 0.2);
}

.form-response {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 24px 0;
}

.form-response i {
    font-size: 3.5rem;
    color: var(--lavender-accent);
}

.form-response p {
    font-size: 1.1rem;
    color: var(--lavender-cream);
}

/* --- Floating Checkout Cart drawer --- */
.floating-cart {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--coffee-warm) 0%, var(--lavender-medium) 100%);
    color: var(--lavender-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--accent-glow);
    z-index: 990;
    transition: var(--transition-normal);
}

.floating-cart:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--lavender-cream);
    color: var(--coffee-darker);
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coffee-dark);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background-color: var(--coffee-darker);
    border-left: 1px solid var(--glass-border);
    z-index: 1005;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close {
    background: transparent;
    font-size: 1.5rem;
    color: #cfc7c0;
    cursor: pointer;
}

.cart-close:hover {
    color: var(--lavender-accent);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9c948e;
    gap: 16px;
}

.cart-empty-state i {
    font-size: 3rem;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.cart-item-info span {
    font-size: 0.85rem;
    color: var(--lavender-accent);
}

.cart-item-remove {
    background: transparent;
    color: #9c948e;
    cursor: pointer;
    font-size: 1rem;
}

.cart-item-remove:hover {
    color: #ff6b6b;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--glass-border);
    background-color: rgba(0, 0, 0, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- Footer --- */
.footer-main {
    background-color: var(--coffee-darker);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    font-size: 0.9rem;
    color: #9c948e;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes riseSteam {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scaleX(1.4);
        opacity: 0.3;
    }
    95% {
        opacity: 0;
    }
    100% {
        transform: translateY(-50px) scaleX(0.8);
        opacity: 0;
    }
}

/* --- Interactive & Contact Link Styles --- */
.contact-call-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lavender-accent);
    background: rgba(187, 159, 251, 0.1);
    border: 1px solid rgba(187, 159, 251, 0.25);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--coffee-glow);
    margin-top: 5px;
}

.contact-call-link:hover {
    background-color: var(--lavender-medium);
    color: var(--coffee-darker);
    box-shadow: var(--accent-glow);
    transform: translateY(-2px);
}

.contact-call-link i {
    font-size: 0.95rem;
}

/* --- Floating Call Button --- */
.floating-call {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--lavender-medium) 0%, var(--lavender-dark) 100%);
    color: var(--lavender-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--accent-glow);
    z-index: 990;
    transition: var(--transition-normal);
    animation: pulseCall 2s infinite;
}

.floating-call:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--lavender-light) 0%, var(--lavender-medium) 100%);
}

@keyframes pulseCall {
    0% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(187, 159, 251, 0.4);
    }
    70% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(187, 159, 251, 0);
    }
    100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(187, 159, 251, 0);
    }
}

/* --- Footer Flex & Dev-tag --- */
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.dev-tag {
    color: var(--lavender-accent);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.dev-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--lavender-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.dev-tag:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Responsive Breakpoints --- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-container, .about-grid, .brewer-grid, .contact-grid {
        gap: 40px;
    }
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
    }
    .header-actions .btn {
        display: none;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .floating-cup-wrapper {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    .hero-image {
        width: 260px;
        height: 260px;
    }
    .about-grid, .brewer-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .banner-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-image {
        height: 350px;
    }
    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .floating-cup-wrapper {
        width: 280px;
        height: 280px;
    }
    .hero-image {
        width: 220px;
        height: 220px;
    }
    .floating-badge {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .badge-1 { left: -10px; }
    .badge-2 { right: -10px; }
    .contact-form-card {
        padding: 24px;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    /* Floating button offsets to avoid overlaps on small phones */
    .floating-call {
        bottom: 24px;
        left: 24px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    .floating-cart {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
