/* Modern Design System - CAM TEA & EMBER */
:root {
    /* Refined Palette */
    --primary: #5D4037;
    /* Deep Tea Brown */
    --primary-light: #8D6E63;
    --accent: #D4AF37;
    /* Muted Gold */
    --bg-warm: #FDFBF7;
    /* Paper/Rice color */
    --bg-muted: #F5F1E8;
    --text-main: #2C2C2C;
    --text-muted: #666666;
    --white: #FFFFFF;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 12px;

    /* Spacing & Layout */
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 10px 40px rgba(93, 64, 55, 0.08);
    --shadow-hover: 0 20px 50px rgba(93, 64, 55, 0.15);
}

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

body {
    background-color: var(--bg-warm);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem !important;
}

.btn-nav:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: url('public/images/cam-tea-and-ember-mount-austin.jpg') center/cover no-repeat fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(253, 251, 247, 0.9) 0%, rgba(253, 251, 247, 0.7) 100%);
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    /* Large Headline */
    margin-bottom: 16px;
    font-weight: 700;
}

.subtitle {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent);
    margin-top: 10px;
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(93, 64, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-icon {
    position: absolute;
    font-size: 4rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 8%;
}

.icon-2 {
    bottom: 15%;
    right: 8%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Common Layouts */
.section {
    padding: 120px 0;
}

.bg-muted {
    background-color: var(--bg-muted);
}

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

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

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-header p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 80px;
    align-items: center;
}

/* Cards */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--bg-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    color: var(--primary);
}

/* About Section */
.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-hover);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: 0.5s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* Contact / Hours */
.text-red {
    color: #D32F2F;
    font-weight: 600;
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.card p {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 6px 0;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: 80px 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Page Headers */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, var(--bg-warm), var(--bg-muted));
}

/* Filters */
.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-buttons button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Page Transitions */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

.w-full {
    width: 100%;
}

.nav-logo {
    height: 24px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.logo {
    display: flex;
    align-items: center;
}

/* Promotional Banner */
.promo-banner {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent) 0%, #C19A2E 100%);
    color: white;
    padding: 12px 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.promo-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.promo-text {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Hero Carousel */
.hero-carousel {
    background: none !important;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: var(--accent);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Popular Items */
.popular-item {
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #C19A2E 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.popular-item img {
    transition: transform 0.5s ease;
}

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

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.font-bold {
    font-weight: 700;
}

.rounded {
    border-radius: var(--radius-md);
}

.relative {
    position: relative;
}

.block {
    display: block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--text-muted);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 900px) {
    .promo-banner {
        top: 60px;
        padding: 10px 0;
    }

    .promo-text {
        font-size: 0.8rem;
    }

    .hero {
        height: 80vh;
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .popular-badge {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .card {
        padding: 24px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .floating-icon {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .promo-text {
        font-size: 0.7rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* About Page Specific & Utilities */
.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

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

.about-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    margin: 2rem 0;
    line-height: 1.4;
}

.feature-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-muted);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(93, 64, 55, 0.1);
}

.bg-primary {
    background-color: var(--primary);
}

@media (max-width: 900px) {
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

/* Menu Page Enhancements */
.top-nav {
    top: 75px;
    /* Height of the main navbar */
    transition: all 0.3s ease;
}

.menu-nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 100px;
}

.menu-nav-link:hover,
.menu-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.popular-badge {
    position: absolute;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 5;
}

/* Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-stretch {
    align-items: stretch;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-12 {
    gap: 3rem;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.overflow-x-auto {
    overflow-x: auto;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mt-auto {
    margin-top: auto;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.max-w-xl {
    max-width: 36rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.opacity-80 {
    opacity: 0.8;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.border-b {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pb-4 {
    padding-bottom: 1.5rem;
}

.space-y-1>*+* {
    margin-top: 0.25rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .justify-center-md {
        justify-content: center;
    }
}

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 36px;
    padding: 0 14px;
    background: var(--bg-muted);
    color: var(--primary) !important;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(93, 64, 55, 0.15);
}

.lang-switch:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.2);
}

@media (max-width: 900px) {
    .lang-switch {
        margin-top: 16px;
        width: 100%;
    }
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Quote Style */
.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent);
    margin: 20px 0;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
}

/* Philosophy Section */
.philosophy-ch {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 3px;
}

.philosophy-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 15px auto;
    max-width: 700px;
    line-height: 1.8;
}

.philosophy-subtext {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 15px auto;
    max-width: 700px;
    line-height: 1.8;
}

.philosophy-tagline {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 30px;
    letter-spacing: 2px;
}

/* Footer Tagline */
.footer-tagline {
    font-size: 0.95rem;
    margin-top: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
}