/* ===================================
   KAÏDO Restaurant - Styles
   Thaï & Japonais
   =================================== */

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

:root {
    /* Color Scheme - Based on Flyer */
    --primary-red: #C41E3A;
    --primary-dark: #1a1a1a;
    --secondary-gold: #D4AF37;
    --bg-dark: #0f0f0f;
    --bg-light: #ffffff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --accent-green: #2d5016;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

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

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(196, 30, 58, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 15, 15, 0.98);
}

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

.logo h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 3px;
    margin-bottom: -5px;
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1414 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(196,30,58,0.05)"/></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
    background: #a01729;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-dark);
}

.hero-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-red);
}

.feature span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ===================================
   Hours Section
   =================================== */
.hours-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

.hours-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hours-section i {
    color: var(--primary-red);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hours-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(196, 30, 58, 0.3);
}

.hours-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.hours-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hours-item.closed {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.hours-item.closed strong {
    color: var(--text-gray);
}

/* ===================================
   Menu Section
   =================================== */
.menu-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.menu-tab {
    padding: 0.8rem 1.8rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.menu-tab:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.menu-tab.active {
    background: var(--primary-red);
    color: var(--text-light);
    border-color: var(--primary-red);
}

.menu-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.menu-category.active {
    display: block;
}

.category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

.menu-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.menu-item:hover {
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.15);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.8rem;
}

.item-header h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.price {
    font-size: 1.3rem;
    color: var(--primary-red);
    font-weight: 700;
    white-space: nowrap;
}

.item-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Menu Specific Styles */
.item-code {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-light);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.menu-note {
    text-align: center;
    background: rgba(196, 30, 58, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: var(--primary-red);
    font-weight: 600;
}

/* Supplements Section */
.supplements-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(196, 30, 58, 0.05);
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.supplements-section h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.supplement-category {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.supplement-category strong {
    display: block;
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.supplement-category p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Plateau Styles */
.menu-item.plateau {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05) 0%, rgba(255,255,255,1) 100%);
}

.plateau-content {
    list-style: none;
    margin-top: 1rem;
}

.plateau-content li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.plateau-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Compose Section */
.compose-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

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

.compose-type {
    background: rgba(196, 30, 58, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.compose-type h4 {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-red);
}

.compose-type ul {
    list-style: none;
}

.compose-type li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.compose-type li:last-child {
    border-bottom: none;
}

.compose-type strong {
    color: var(--primary-red);
}

.compose-type.compose-main {
    grid-column: 1 / -1;
    background: rgba(196, 30, 58, 0.1);
    border: 2px solid var(--primary-red);
}

.compose-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-style: italic;
}

/* ===================================
   Delivery Section
   =================================== */
.delivery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d1414 100%);
    color: var(--text-light);
}

.delivery-section .section-title {
    color: var(--text-light);
}

.delivery-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.delivery-table {
    max-width: 1000px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(196, 30, 58, 0.3);
}

.delivery-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    background: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.delivery-header div {
    padding: 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.delivery-header div:last-child {
    border-right: none;
}

.delivery-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.delivery-row:last-child {
    border-bottom: none;
}

.delivery-row div {
    padding: 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.delivery-row div:last-child {
    border-right: none;
}

.delivery-row:hover {
    background: rgba(196, 30, 58, 0.1);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.15);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #a01729;
}

.social-links {
    text-align: center;
    margin-top: 4rem;
}

.social-links h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #a01729;
    transform: scale(1.1);
}

.social-handles {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-red);
    letter-spacing: 3px;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .delivery-header,
    .delivery-row {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-tabs {
        gap: 0.5rem;
    }
    
    .menu-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .supplements-grid {
        grid-template-columns: 1fr;
    }
    
    .compose-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-table {
        overflow-x: auto;
    }
    
    .delivery-header,
    .delivery-row {
        min-width: 600px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .tagline {
        font-size: 0.6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
}
