/* style.css v1.2 - Updated with perfectly centered navigation in desktop view */
/* Last Updated: [Current Date/Time] */

/* CSS Variables for consistent theming */
:root {
    --primary: #FFEB3B;
    --primary-dark: #E6B800;
    --secondary: #000000;
    --background: #FFF9C4;
    --card: #ffffff;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--secondary);
    line-height: 1.6;
}

/* Container for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STYLES ===== */

/* Site Header */
.site-header {
    background: var(--primary);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Center align header content */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.logo-section {
    text-align: center;
    width: 100%;
}

/* Logo Container */
.logo-container {
    background: white;
    border-radius: 15px;
    padding: 8px 35px;
    display: inline-block;
    margin-bottom: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary);
    min-width: fit-content;
    max-width: 90%;
}

/* Logo Image */
.main-logo {
    width: 180px;
    height: 90px;
    object-fit: cover;
    margin-bottom: 0px;
}

.tagline {
    font-style: italic;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
}

/* Navigation Styles */
.site-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid var(--secondary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    min-width: 70px;
    font-family: 'Montserrat', sans-serif;
}

.nav-link:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link:active {
    transform: translateY(0);
}

/* Active state for current page */
.nav-link.active {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Optimizations - ENSURE CENTERED LAYOUT */
@media (max-width: 767px) {
    .site-header {
        padding: 8px 0;
    }

    .header-content {
        gap: 12px;
    }

    .logo-container {
        padding: 5px 25px;
        border-radius: 12px;
        min-width: 260px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .main-logo {
        width: 100px;
        height: 50px;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .site-nav {
        gap: 10px;
        padding: 8px 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 60px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-header {
        padding: 6px 0;
    }

    .logo-container {
        padding: 6px 20px;
        min-width: 240px;
    }

    .main-logo {
        width: 180px;
        height: 90px;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .site-nav {
        gap: 10px;
        padding: 6px 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    .nav-link {
        padding: 5px 12px;
        font-size: 0.75rem;
        min-width: 55px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .logo-container {
        padding: 5px 15px;
        min-width: 220px;
    }

    .main-logo {
        width: 80px;
        height: 40px;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .site-nav {
        gap: 8px;
        padding: 5px 12px;
        max-width: 280px;
        margin: 0 auto;
    }

    .nav-link {
        padding: 4px 10px;
        font-size: 0.7rem;
        min-width: 50px;
    }
}

/* ===== DESKTOP LAYOUT CHANGES ===== */

/* Tablet and Desktop - Horizontal Layout */
@media (min-width: 768px) {
    .site-header {
        padding: 10px 0;
        position: relative;
    }

    /* CHANGED: Simplified layout for centered navigation */
    .header-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        width: 100%;
        position: relative;
        height: 70px; /* Fixed height for consistent centering */
    }

    .logo-section {
        text-align: left;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-shrink: 0;
        order: 1; /* Logo on left */
        z-index: 1;
    }

    /* LOGO CONTAINER - LOGO AND TAGLINE GROUP CENTERED */
    .logo-container {
        padding: 12px 30px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        min-width: 260px !important;
        max-width: 280px !important;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        border-radius: 12px !important;
        border-width: 2px !important;
        background: white;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    /* Logo Image */
    .main-logo {
        width: 100px !important;
        height: 50px !important;
        margin-bottom: 4px !important;
        object-fit: contain;
        display: block;
    }

    /* PERFECTLY CENTERED TAGLINE - GROUPED WITH LOGO */
    .tagline {
        font-size: 0.75rem !important;
        white-space: nowrap;
        text-align: center;
        margin: 0 !important;
        font-weight: 500;
        width: 100%;
        padding: 0;
        font-style: italic;
        line-height: 1.2;
        letter-spacing: 0.2px;
        display: block;
    }

    /* PERFECTLY CENTERED NAVIGATION IN SCREEN */
    .site-nav {
        order: 2; /* Navigation in the center */
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) !important;
        gap: 10px;
        padding: 6px 20px !important;
        margin: 0;
        border-radius: 20px !important;
        display: flex;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    /* THINNER NAVIGATION BUTTONS */
    .nav-link {
        padding: 5px 16px !important;
        font-size: 0.9rem !important;
        flex: none;
        min-width: auto;
        text-align: center;
        border-width: 2px !important;
        border-radius: 18px;
        white-space: nowrap;
        font-weight: 600;
        transition: all 0.3s ease;
        line-height: 1.4;
    }
    
    .nav-link:hover {
        background: var(--secondary);
        color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Desktop - Larger screens */
@media (min-width: 1024px) {
    .logo-container {
        padding: 14px 32px !important;
        min-width: 270px !important;
        max-width: 290px !important;
        border-radius: 13px !important;
    }

    .main-logo {
        width: 105px !important;
        height: 52px !important;
        margin-bottom: 5px !important;
    }

    .tagline {
        font-size: 0.8rem !important;
    }

    .site-nav {
        gap: 12px;
        padding: 8px 25px !important;
        border-radius: 22px !important;
    }

    .nav-link {
        padding: 6px 18px !important;
        font-size: 0.95rem !important;
        border-radius: 20px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .header-content {
        gap: 25px;
    }

    .logo-container {
        padding: 16px 34px !important;
        min-width: 280px !important;
        max-width: 300px !important;
        border-radius: 14px !important;
    }

    .main-logo {
        width: 110px !important;
        height: 55px !important;
        margin-bottom: 6px !important;
    }

    .tagline {
        font-size: 0.85rem !important;
    }

    .site-nav {
        gap: 15px;
        padding: 10px 30px !important;
        border-radius: 25px !important;
    }

    .nav-link {
        padding: 8px 20px !important;
        font-size: 1rem !important;
        border-radius: 22px;
    }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
    .logo-container {
        padding: 18px 36px !important;
        min-width: 290px !important;
        max-width: 310px !important;
        border-radius: 15px !important;
    }

    .main-logo {
        width: 115px !important;
        height: 57px !important;
        margin-bottom: 7px !important;
    }

    .tagline {
        font-size: 0.9rem !important;
    }

    .site-nav {
        gap: 18px;
        padding: 12px 35px !important;
        border-radius: 28px !important;
    }

    .nav-link {
        padding: 10px 22px !important;
        font-size: 1.05rem !important;
        border-radius: 24px;
    }
}

/* ===== HERO SECTION STYLES ===== */

.hero-section {
    padding: 30px 20px;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1.5px;
}

.order-button {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--secondary);
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.order-button:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* About Page Hero - Combined Box */
.about-hero {
    padding: 15px 10px;
}

.hero-combined-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.character-image {
    width: 150px;
    height: 210px;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%,
            70% 8%,
            85% 25%,
            92% 45%,
            88% 68%,
            72% 88%,
            50% 100%,
            28% 88%,
            12% 68%,
            8% 45%,
            15% 25%,
            30% 8%);
    border-radius: 50% / 45%;
    overflow: hidden;
}

.character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-content {
    margin: 0;
    padding: 0;
}

/* ===== FOOTER STYLES ===== */

.site-footer {
    background: var(--secondary);
    color: white;
    padding: 15px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */

.floating-whatsapp {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #25D366;
    color: white;
    padding: 12px 15px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===== MENU SECTION STYLES ===== */

.menu-section {
    padding: 30px 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary);
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1.5px;
}

.section-title.center {
    text-align: center;
}

/* Ensure title fits within header on all devices */
.customization-header h3 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    font-family: 'Montserrat', sans-serif !important;
}

/* For very long item names, allow wrapping on small screens */
@media (max-width: 480px) {
    .customization-header h3 {
        white-space: normal;
        max-height: 40px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 14px !important;
        line-height: 1.1;
    }
}

/* Adjust header container to ensure title fits */
.customization-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px !important;
    min-height: 60px;
    gap: 10px;
}

/* Close button adjustments */
.close-customization {
    font-size: 22px !important;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--secondary);
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .customization-header {
        padding: 10px 12px !important;
        min-height: 55px;
    }

    .customization-header h3 {
        font-size: 16px !important;
        max-width: calc(100% - 30px);
    }
}

/* For extremely small screens */
@media (max-width: 360px) {
    .customization-header {
        padding: 8px 10px !important;
        min-height: 50px;
    }

    .customization-header h3 {
        font-size: 14px !important;
    }

    .close-customization {
        font-size: 20px !important;
        width: 20px;
        height: 20px;
    }
}
