/* ===== ENHANCED GLOBAL STYLES ===== */

/* CSS Variables with Gradient Theme */
:root {
    /* Primary Colors - Coffee Inspired */
    --primary: #8B4513;
    --primary-dark: #6B3410;
    --primary-light: #A0522D;
    --primary-gradient: linear-gradient(135deg, #8B4513, #A0522D);
    
    /* Secondary Colors - Cream & Beige */
    --secondary: #F5E6D3;
    --secondary-dark: #E8D9C5;
    --secondary-light: #FFF8F0;
    --secondary-gradient: linear-gradient(135deg, #F5E6D3, #FFF8F0);
    
    /* Accent Colors - Sage Green */
    --accent: #556B2F;
    --accent-light: #6B8E23;
    --accent-dark: #3D4A21;
    --accent-gradient: linear-gradient(135deg, #556B2F, #6B8E23);
    
    /* Neutral Colors */
    --light: #FFFDFA;
    --light-gray: #F8F5F0;
    --dark: #2C1810;
    --dark-light: #3D2B1F;
    
    /* Text Colors */
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    
    /* White & Black */
    --white: #FFFFFF;
    --black: #000000;
    
    /* Effects */
    --shadow: 0 8px 30px rgba(139, 69, 19, 0.12);
    --shadow-heavy: 0 20px 50px rgba(139, 69, 19, 0.2);
    --shadow-light: 0 4px 15px rgba(139, 69, 19, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
}

/* Dark Theme */
body.dark-theme {
    --light: #121212;
    --light-gray: #1E1E1E;
    --dark: #FFFFFF;
    --dark-light: #E8D9C5;
    --secondary: #2D2D2D;
    --secondary-dark: #252525;
    --secondary-light: #363636;
    --text: #E0E0E0;
    --text-light: #B0B0B0;
    --text-lighter: #808080;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    transition: var(--transition-slow);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(85, 107, 47, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

body.dark-theme::before {
    background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(85, 107, 47, 0.1) 0%, transparent 50%);
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 { 
    font-size: 4.5rem; 
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 { 
    font-size: 3.5rem; 
    margin-bottom: 1.5rem;
}

h3 { 
    font-size: 2.2rem; 
    margin-bottom: 1rem;
}

h4 { 
    font-size: 1.8rem; 
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--secondary);
    z-index: -1;
    opacity: 0.5;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header::before {
    content: '✦';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: var(--shadow-light);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.5px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(85, 107, 47, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    backdrop-filter: blur(10px);
}

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

.btn-rounded {
    border-radius: 50px;
}

/* Preloader - Enhanced */
/* Preloader Container - Adaptive to your Global Themes */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--light); /* Uses your global background color */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: var(--transition-slow);
}

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

.coffee-loading {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto;
}

/* The Cup - Using your Dark-Light Variable for the Outline */
.coffee-cup {
    position: relative;
    width: 70px;
    height: 55px;
    margin: 30px auto 0;
}

.cup {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--secondary-light);
    border: 4px solid var(--dark-light);
    border-radius: 4px 4px 30px 30px;
    overflow: hidden;
    z-index: 2;
}

.cup-handle {
    position: absolute;
    right: -15px;
    top: 10px;
    width: 25px;
    height: 28px;
    border: 4px solid var(--dark-light);
    border-radius: 0 12px 12px 0;
    z-index: 1;
}

/* The Liquid Wave - Uses your Primary Gradient */
.coffee-wave {
    position: absolute;
    top: 100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    border-radius: 42%; /* Creates the organic slosh shape */
    animation: sloshFill 2s ease-in-out infinite;
}

/* Steam - Uses Accent Color for subtle contrast */
.coffee-steam {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.steam {
    width: 4px;
    height: 18px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0;
    animation: steamRise 2s infinite;
}

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

/* Text & Dots Styling */
.preloader-content p {
    margin-top: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: dotPulse 1s infinite alternate;
}

/* 2-Second Synchronized Keyframes */
@keyframes sloshFill {
    0%, 100% {
        top: 90%;
        transform: rotate(0deg);
    }
    50% {
        top: 20%; /* Fills up at 1 second mark */
        transform: rotate(180deg);
    }
}

@keyframes steamRise {
    0% { transform: translateY(10px); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: translateY(-25px); opacity: 0; }
}

@keyframes dotPulse {
    from { transform: scale(0.8); opacity: 0.3; }
    to { transform: scale(1.2); opacity: 1; }
}

/* Navigation - FIXED & RESPONSIVE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 250, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: clamp(10px, 2vw, 10px) 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

body.dark-theme .navbar {
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: clamp(8px, 2.5vw, 10px) 0;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.dark-theme .navbar.scrolled {
    background: rgba(18, 18, 18, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Logo - RESPONSIVE */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 15px);
    text-decoration: none;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

.logo-icon {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

.logo-icon i {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--white);
}

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

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Desktop Navigation Menu - HIDDEN ON MOBILE */
.nav-menu-container {
    display: flex;
    align-items: center;
    gap: clamp(10px, 3vw, 20px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(3px, 1vw, 5px);
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 5px);
    padding: clamp(8px, 2vw, 10px) clamp(12px, 2vw, 18px);
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    white-space: nowrap;
}

.nav-link i {
    font-size: clamp(1rem, 2vw, 1.1rem);
    transition: transform 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.1;
}

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

.nav-link:hover i {
    transform: translateY(-2px);
}

.nav-cta {
    margin-left: clamp(10px, 2vw, 20px);
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 20px);
}

/* Theme Toggle */
.theme-toggle {
    width: clamp(40px, 8vw, 44px);
    height: clamp(40px, 8vw, 44px);
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle i {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--primary);
    transition: transform 0.5s ease;
}

.theme-toggle:hover {
    background: var(--primary);
    transform: rotate(180deg);
}

.theme-toggle:hover i {
    color: var(--white);
    transform: scale(1.2);
}

/* Mobile Hamburger - VISIBLE ONLY ON MOBILE */
.hamburger {
    display: none;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
    transform-origin: center;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu - FIXED */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--light);
    box-shadow: -10px 0 50px rgba(0,0,0,0.1);
    z-index: 1002;
    transition: var(--transition);
    padding: clamp(30px, 6vw, 40px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

body.dark-theme .mobile-menu {
    background: var(--light-gray);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(30px, 6vw, 40px);
    padding-bottom: clamp(15px, 3vw, 20px);
    border-bottom: 1px solid var(--secondary);
}

.mobile-menu-header h3 {
    color: var(--primary);
    font-size: clamp(1.5rem, 4vw, 1.8rem);
}

.close-menu {
    width: clamp(36px, 8vw, 40px);
    height: clamp(36px, 8vw, 40px);
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.close-menu i {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text);
}

.close-menu:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.close-menu:hover i {
    color: var(--white);
}

.mobile-nav {
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: clamp(5px, 1.5vw, 10px);
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.5vw, 15px);
    padding: clamp(15px, 3vw, 18px) clamp(16px, 3vw, 20px);
    border-radius: var(--border-radius);
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-left: 4px solid transparent;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--secondary);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: clamp(20px, 4vw, 24px);
}

.mobile-nav i {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    width: clamp(20px, 4vw, 24px);
    text-align: center;
}

.mobile-menu-footer {
    padding-top: clamp(25px, 5vw, 30px);
    border-top: 1px solid var(--secondary);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vw, 15px);
    margin-bottom: clamp(25px, 5vw, 30px);
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 12px);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.95rem, 2.2vw, 1rem);
}

.mobile-contact a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.mobile-hours {
    background: var(--secondary);
    padding: clamp(20px, 4vw, 25px);
    border-radius: var(--border-radius);
}

.mobile-hours h4 {
    color: var(--primary);
    margin-bottom: clamp(12px, 2.5vw, 15px);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.mobile-hours p {
    display: flex;
    justify-content: space-between;
    margin: clamp(6px, 1.5vw, 8px) 0;
    color: var(--text-light);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: floatElement 20s linear infinite;
}

.floating-element.coffee {
    width: 60px;
    height: 60px;
    background: url('https://img.icons8.com/color/96/000000/coffee-to-go.png') center/contain no-repeat;
    top: 20%;
    left: 5%;
}

.floating-element.croissant {
    width: 50px;
    height: 50px;
    background: url('https://img.icons8.com/color/96/000000/croissant.png') center/contain no-repeat;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.floating-element.bean {
    width: 40px;
    height: 40px;
    background: url('https://img.icons8.com/color/96/000000/coffee-beans-.png') center/contain no-repeat;
    bottom: 30%;
    left: 15%;
    animation-delay: -10s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

/* Footer - Premium */
.footer {
    background: var(--dark-light);
    color: var(--text);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

body.dark-theme .footer {
    background: var(--black);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Q50,80 0,100 Z" fill="rgba(139,69,19,0.03)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    font-size: 1.3rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-logo-text h3 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.footer-logo-text span {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-social a:hover i {
    color: var(--white);
    transform: scale(1.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 0;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-links a:hover i {
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-contact div {
    flex: 1;
}

.footer-contact strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-contact span {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 16px 20px;
    background: var(--secondary);
    border: 1px solid var(--secondary-dark);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateX(-2px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.footer-payments {
    display: flex;
    gap: 15px;
}

.footer-payments i {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-payments i:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Back to Top & WhatsApp */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    animation: floatWhatsApp 3s ease-in-out infinite;
    text-decoration: none;
    transition: var(--transition);
}

@keyframes floatWhatsApp {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    50% { 
        transform: translateY(-10px) rotate(5deg);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    animation: none;
}

/* Particle Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticle 20s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100vw, 100vh);
    }
}

/* Common Components */
.card {
    background: var(--light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

body.dark-theme .card {
    background: var(--light-gray);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.badge-secondary {
    background: var(--accent-gradient);
    color: var(--white);
}

.badge-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

/* Utility Classes */
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }

.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }

.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }

.text-sm { font-size: 0.9rem; }
.text-lg { font-size: 1.2rem; }
.text-xl { font-size: 1.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }