/* Premium Dark Theme CSS for Cozetto */
:root {
    --primary: #FF7A00;
    --primary-hover: #FFA34D;
    --secondary: #00C853;
    --secondary-hover: #00E676;
    
    --bg-main: #0a0a0a;
    --bg-surface: #121212;
    --bg-card: #1c1c1c;
    --bg-card-hover: #242424;
    
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --text-inverse: #000000;
    
    --border-color: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 8px 30px rgba(255, 122, 0, 0.3);
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --radius-full: 999px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

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

ul {
    list-style: none;
}

/* Utilities */
.center { text-align: center; }
.text-white { color: var(--text-main); }
.text-green { color: var(--secondary); }
.text-red { color: #FF4D4D; }
.w-100 { width: 100%; }
.mt-auto { margin-top: auto; }
.section-header { margin-bottom: 4rem; }
.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 122, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline.active, .btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(0, 200, 83, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links li a:not(.btn) {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-links li a:not(.btn):hover, .nav-links li a:not(.btn).active {
    color: var(--text-main);
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links li a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 10rem 2rem 5rem;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    position: relative;
}

/* Background glow */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,122,0,0.15) 0%, rgba(10,10,10,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 200, 83, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 1.8rem;
    letter-spacing: -1px;
}

.hero h1 em {
    color: var(--primary);
    font-style: italic;
}

.hero > .hero-content > p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.quick-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 1rem;
}

.stat i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    height: 600px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover img {
    transform: scale(1.03);
}

.glass-card {
    position: absolute;
    top: 2.5rem;
    right: -1rem;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.2rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    animation: float 5s ease-in-out infinite;
    color: var(--text-main);
    font-weight: 500;
}

.glass-card i {
    color: #FFD700;
    font-size: 1.2rem;
}

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

/* Sections */
section {
    padding: 8rem 2rem;
}

.menu-section {
    max-width: 1250px;
    margin: 0 auto;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

/* Menu Card Flip Design */
.menu-card-wrapper {
    perspective: 1000px;
    height: 520px;
}

.menu-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.menu-card.flipped {
    transform: rotateY(180deg);
}

.menu-card-front, .menu-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.menu-card-front:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card-front:hover .card-image img {
    transform: scale(1.08);
}

.diet-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diet-badge.veg i { color: var(--secondary); }
.diet-badge.non-veg i { color: #FF4D4D; }

.card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.card-content .subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-content .description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: auto;
}

.flip-btn {
    margin-top: 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.8rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.flip-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Card Back (Nutrition) */
.menu-card-back {
    transform: rotateY(180deg);
    padding: 2rem;
    background: var(--bg-surface);
}

.back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.back-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th, .nutrition-table td {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.nutrition-table th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 400;
}

.nutrition-table td {
    text-align: right;
    font-weight: 600;
    color: var(--text-main);
}

/* Footer & Other minimal resets to fit new theme */
footer {
    background: var(--bg-surface);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}
.footer-content { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem;}
.footer-brand p, .footer-contact p, .footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; padding-top: 2rem; border-top: 1px solid var(--border-color);}