/* ============================================
   NilansCafe - Corporate Website Stylesheet
   Color Palette: Coffee, Tea & South Indian Snacks
   ============================================ */

:root {
    --coffee-dark: #2C1810;
    --coffee-brown: #4A2C2A;
    --coffee-medium: #6F4E37;
    --coffee-light: #8B6F47;
    --chai-gold: #C8A951;
    --chai-warm: #D4A017;
    --turmeric: #E8B931;
    --cardamom-green: #5B7B3A;
    --cream: #FFF8F0;
    --cream-dark: #F5E6D3;
    --cream-medium: #FAF0E4;
    --spice-orange: #D2691E;
    --chutney-green: #4A7C59;
    --sambar-red: #C65D3E;
    --text-dark: #2C1810;
    --text-body: #4A3728;
    --text-light: #7A6A5E;
    --white: #FFFFFF;
    --border: #E8DDD0;
    --shadow: rgba(44, 24, 16, 0.1);
    --shadow-strong: rgba(44, 24, 16, 0.2);
    --imaglance: #fc3174;
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

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

.section-header .subtitle {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--chai-warm);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--chai-warm);
}
.section-header .subtitle::before { left: -40px; }
.section-header .subtitle::after { right: -40px; }

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-medium));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 44, 42, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--coffee-medium), var(--coffee-brown));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 44, 42, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--coffee-brown);
}

.btn-gold {
    background: linear-gradient(135deg, var(--chai-warm), var(--turmeric));
    color: var(--coffee-dark);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}

.btn-nav {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--chai-warm), var(--turmeric));
    color: var(--coffee-dark) !important;
    border-radius: 50px;
    font-weight: 600;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--coffee-dark);
    color: var(--cream-dark);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 25px;
}
.top-bar-left i {
    color: var(--chai-warm);
    margin-right: 6px;
}

.top-bar-right a {
    color: var(--cream-dark);
    margin-left: 15px;
    font-size: 0.9rem;
}
.top-bar-right a:hover {
    color: var(--chai-warm);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px var(--shadow-strong);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coffee-brown);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--chai-warm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 25px;
    position: relative;
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--chai-warm);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 60%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--coffee-brown);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--coffee-brown);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.88), rgba(74, 44, 42, 0.82)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="%233E2723" width="1440" height="900"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200, 169, 81, 0.15), transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, 5%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(200, 169, 81, 0.2);
    border: 1px solid rgba(200, 169, 81, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chai-gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--chai-gold);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
    color: var(--chai-gold);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.hero-stat p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Decorative coffee cup */
.hero-decor {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 350px;
    height: 350px;
    border: 2px solid rgba(200, 169, 81, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.hero-decor::before {
    content: '☕';
    font-size: 8rem;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-brown));
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C8A951' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--white);
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.page-header .breadcrumb a {
    color: var(--chai-gold);
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 80px 0;
}

.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-dark {
    background: var(--coffee-dark);
    color: var(--cream);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--white);
}

/* ============================================
   Features / Why Choose Us
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--chai-warm), var(--turmeric));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(200, 169, 81, 0.15), rgba(212, 160, 23, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--chai-warm);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--chai-warm), var(--turmeric));
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h4 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.service-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-medium));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--chai-gold);
    position: relative;
    overflow: hidden;
}

.service-card-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--white);
    border-radius: 50% 50% 0 0;
}

.service-card-body {
    padding: 30px;
}

.service-card-body h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.service-card-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card-body ul {
    margin-bottom: 20px;
}

.service-card-body ul li {
    padding: 5px 0;
    color: var(--text-body);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.service-card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--chutney-green);
    font-weight: 700;
}

/* ============================================
   Menu Section
   ============================================ */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 25px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: transparent;
    color: var(--text-body);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.menu-tab.active,
.menu-tab:hover {
    background: var(--coffee-brown);
    color: var(--white);
    border-color: var(--coffee-brown);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.menu-item {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 4px solid transparent;
}

.menu-item:hover {
    border-left-color: var(--chai-warm);
    transform: translateX(5px);
    box-shadow: 0 5px 25px var(--shadow-strong);
}

.menu-item-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, rgba(200, 169, 81, 0.15), rgba(212, 160, 23, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.menu-item-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.menu-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.menu-item-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}

.tag-veg {
    background: rgba(74, 124, 89, 0.1);
    color: var(--chutney-green);
}

.tag-popular {
    background: rgba(212, 160, 23, 0.1);
    color: var(--chai-warm);
}

/* ============================================
   About / Stats
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--coffee-medium), var(--coffee-brown));
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--chai-gold);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--chai-warm), var(--turmeric));
    color: var(--coffee-dark);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(212, 160, 23, 0.4);
    font-weight: 700;
}

.about-badge .number {
    font-size: 2.5rem;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-feature-item i {
    color: var(--chutney-green);
    font-size: 1.1rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-brown));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-item h3 {
    color: var(--chai-gold);
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--coffee-medium), var(--coffee-brown));
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: var(--white);
    z-index: 2;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Gallery lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================
   Enquiry / Contact Form
   ============================================ */
.enquiry-section {
    background: linear-gradient(135deg, var(--cream), var(--cream-dark));
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--chai-warm);
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.15);
}

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

select.form-control {
    cursor: pointer;
}

/* Slider Input */
.slider-group {
    margin-bottom: 25px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.slider-value {
    font-weight: 700;
    color: var(--chai-warm);
    font-size: 1.1rem;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--chai-warm) 0%, var(--border) 0%);
    outline: none;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-medium));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74, 44, 42, 0.3);
    border: 3px solid var(--white);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-medium));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74, 44, 42, 0.3);
    border: 3px solid var(--white);
}

/* Contact info side */
.contact-info-box {
    background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-brown));
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
}

.contact-info-box h3 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.contact-info-item i {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(200, 169, 81, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chai-gold);
    font-size: 1.1rem;
}

.contact-info-item h4 {
    color: var(--chai-gold);
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 30px var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial-stars {
    color: var(--chai-warm);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author h4 {
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonial-dot.active {
    background: var(--chai-warm);
    transform: scale(1.2);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-dark));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C8A951' fill-opacity='0.06'%3E%3Cpath d='M20 20c-5.523 0-10-4.477-10-10S14.477 0 20 0s10 4.477 10 10-4.477 10-10 10z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Popup Modal
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-content img {
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.popup-content h3 {
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.popup-close:hover {
    color: var(--sambar-red);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--coffee-dark);
    color: var(--cream-dark);
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-logo .logo-text {
    font-size: 1.6rem;
}

.footer-desc {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-dark);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--chai-warm);
    color: var(--coffee-dark);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    color: var(--chai-warm);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--chai-warm);
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-credit {
    background: #1a0e09;
    padding: 12px 0;
    text-align: center;
}

.footer-credit p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.credit-brand {
    color: var(--imaglance) !important;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-medium));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(74, 44, 42, 0.3);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 44, 42, 0.4);
}

/* ============================================
   Scroll Animations
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}
[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}
[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}
[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="250"] { transition-delay: 0.25s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ============================================
   Success/Error Messages
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(74, 124, 89, 0.1);
    color: var(--chutney-green);
    border: 1px solid rgba(74, 124, 89, 0.2);
}

.alert-error {
    background: rgba(198, 93, 62, 0.1);
    color: var(--sambar-red);
    border: 1px solid rgba(198, 93, 62, 0.2);
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: var(--coffee-brown);
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.legal-content ul {
    margin: 10px 0 20px 25px;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* ============================================
   Admin Styles
   ============================================ */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-brown));
}

.admin-login-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.admin-login-box .logo-text {
    font-size: 2rem;
    margin-bottom: 30px;
    display: block;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--coffee-dark);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .logo-text {
    padding: 0 20px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    display: block;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left-color: var(--chai-warm);
}

.admin-sidebar-nav a i {
    width: 20px;
    text-align: center;
}

.admin-main {
    margin-left: 260px;
    padding: 30px;
    flex: 1;
    background: var(--cream);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.8rem;
}

.admin-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px var(--shadow);
    margin-bottom: 25px;
}

.admin-card h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.admin-stat-icon.bg-coffee { background: linear-gradient(135deg, var(--coffee-brown), var(--coffee-medium)); }
.admin-stat-icon.bg-gold { background: linear-gradient(135deg, var(--chai-warm), var(--turmeric)); }
.admin-stat-icon.bg-green { background: linear-gradient(135deg, var(--chutney-green), var(--cardamom-green)); }
.admin-stat-icon.bg-orange { background: linear-gradient(135deg, var(--spice-orange), var(--sambar-red)); }

.admin-stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.admin-stat-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--cream);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table tr:hover {
    background: var(--cream-medium);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-new { background: rgba(74, 124, 89, 0.1); color: var(--chutney-green); }
.badge-read { background: rgba(200, 169, 81, 0.1); color: var(--chai-warm); }
.badge-replied { background: rgba(44, 24, 16, 0.1); color: var(--coffee-brown); }

.btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-danger {
    background: var(--sambar-red);
    color: var(--white);
    border: none;
    cursor: pointer;
}

.btn-edit {
    background: var(--chai-warm);
    color: var(--coffee-dark);
    border: none;
    cursor: pointer;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .top-bar-left span:last-child { display: none; }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow);
        gap: 5px;
    }

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

    .hero {
        min-height: 70vh;
        padding: 60px 0;
    }

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

    .hero-decor { display: none; }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .admin-sidebar {
        width: 220px;
    }

    .admin-main {
        margin-left: 220px;
        padding: 20px;
    }
}

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

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

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

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
}
