/* ==============================================================
   CURRY KINGDOM: Premium Restaurant Styles
   ============================================================== */

   :root {
    /* Color Palette */
    --primary: #fdb813;
    --primary-light: #ffc436;
    --primary-dark: #e59d00;
    
    --accent: #fdb813; /* Orange/Amber */
    --accent-light: #ffce54;
    
    --bg-dark: #ffffff;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    
    --text-main: #1a1a1d;
    --text-muted: #555555;
    
    /* Typography */
    --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-serif: 'Poppins', sans-serif;
    --font-cursive: 'Marck Script', cursive;
    
    /* Dimensions & Spacing */
    --nav-height: 80px;
    --section-pad: 80px;
    --wrapper-width: 1200px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 4px 15px rgba(253, 184, 19, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

/* Layout Utilities */
.wrapper {
    max-width: var(--wrapper-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-header .section-title {
    font-size: 3rem;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-outline {
    display: inline-block;
    padding: 13px 31px;
    background: transparent;
    color: var(--accent) !important;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(229, 185, 106, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 185, 106, 0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--strip-height, 0px);
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--wrapper-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-icon {
    font-size: 2rem;
}

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

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

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

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-order-btn {
    padding: 12px 28px;
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-order-btn:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: calc(var(--nav-height) + var(--strip-height, 0px));
    left: 0;
    width: 100%;
    height: calc(100vh - (var(--nav-height) + var(--strip-height, 0px)));
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + var(--strip-height, 0px)) 24px 0;
    background: url('images/heroimage.png') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Lighter overlay */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.hero p.hero-welcome {
    font-family: var(--font-cursive);
    color: #ffffff;
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 0px;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero h1 {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 6.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
    font-weight: 400;
}

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
}

/* About Section */
.about {
    position: relative;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.6s ease;
}

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

/* Menu Grid (API) */
.menu {
    background: var(--bg-light);
    position: relative;
}

.popular-items .items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.menu-image-container {
    height: 240px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.menu-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.menu-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffffff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--primary);
}

.menu-details {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-details h3 {
    font-size: 1.35rem;
    margin-bottom: 0px;
    line-height: 1.3;
}

.menu-price {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

.menu-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-action {
    text-align: center;
    margin-top: 50px;
}

/* API Skeletons */
.skeleton-card {
    height: 420px;
    background: #f0f0f0;
    border-radius: var(--border-radius);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { background: #f0f0f0; }
    50% { background: #e0e0e0; }
    100% { background: #f0f0f0; }
}

/* Contact & Location */
.contact-location {
    position: relative;
    background: var(--bg-dark);
}

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

.contact-info-panel {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background: rgba(232, 67, 10, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.info-content p, .info-content a, .info-content span {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.info-content a:hover {
    color: var(--primary-light);
}

.hours-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row.today {
    color: var(--accent);
    font-weight: 500;
}

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Footer */
.site-footer {
    background: #1a1a1d;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-brand p {
    color: #aaaaaa;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4, .footer-hours h4 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
}

.footer-links h4::after, .footer-contact h4::after, .footer-hours h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #aaaaaa;
}

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

.footer-contact p, .footer-contact a {
    color: #aaaaaa;
    display: block;
    margin-bottom: 12px;
}

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    color: #aaaaaa;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 6px;
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours li.today {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #aaaaaa;
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Styling */
@media (max-width: 1024px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero p.hero-welcome {
        font-size: 4.5rem;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-order-btn {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero p.hero-welcome {
        font-size: 3.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand, .footer-hours {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
}
