/* style.css - Pausa - PINK VERSION */

/* ====== PINK COLOR SCHEME ====== */
:root {
    --pink-dark: #D81B60;
    --pink-medium: #E91E63;
    --pink-light: #F06292;
    --pink-very-light: #F8BBD0;
    --pink-bg: #FFF5F7;
    --pink-text: #880E4F;
    --white: #FFFFFF;
    --cream: #FFF9FB;
    --gold-light: #FFD700;
}

/* ====== RESET & BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--pink-bg);
    color: var(--pink-text);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

main {
    flex: 1;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--pink-text);
    word-wrap: break-word;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    bottom: -10px;
    left: 20%;
    background-color: var(--pink-light);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--pink-text);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ====== HEADER & NAVIGATION ====== */
header {
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid var(--pink-very-light);
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background-color: rgba(255, 245, 247, 0.98);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(216, 27, 96, 0.05);
}

.logo-container {
    margin-bottom: 15px;
    padding: 0 10px;
}

.restaurant-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--pink-medium);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.5s ease;
    display: inline-block;
}

.restaurant-logo:hover {
    transform: scale(1.03);
    color: var(--pink-dark);
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    padding: 0 10px;
}

nav li {
    margin: 3px 0;
}

nav a {
    color: var(--pink-text);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    display: block;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--pink-light);
    transition: width 0.3s ease;
}

nav a:hover, nav a:active {
    color: var(--pink-light);
}

nav a:hover:after, nav a:active:after {
    width: 100%;
}

nav a.active {
    color: var(--pink-light);
}

nav a.active:after {
    width: 100%;
}

/* ====== MENU HEADER ====== */
.menu-header {
    text-align: center;
    padding: 40px 20px 25px;
}

.menu-main-title {
    font-size: 3rem;
    color: var(--pink-medium);
    background: linear-gradient(135deg, var(--pink-medium), var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.menu-header p {
    font-size: 1.2rem;
    color: var(--pink-text);
    opacity: 0.8;
}

.divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink-medium), transparent);
    margin: 20px auto;
}

/* ====== MENU CATEGORIES ====== */
.menu-categories {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: transparent;
    color: var(--pink-text);
    border: 2px solid rgba(216, 27, 96, 0.3);
    padding: 10px 16px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    min-height: 40px;
    white-space: nowrap;
    touch-action: manipulation;
}

.category-btn:hover, .category-btn.active, .category-btn:focus {
    background-color: rgba(240, 98, 146, 0.15);
    border-color: var(--pink-light);
    color: var(--pink-light);
    outline: none;
}

/* ====== HORIZONTAL MENU SECTIONS ====== */
.menu-sections-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 20px;
}

.menu-section {
    padding: 20px 15px;
    border: 2px solid rgba(240, 98, 146, 0.3);
    border-radius: 10px;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.08);
}

.menu-section:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 98, 146, 0.5);
    box-shadow: 0 10px 25px rgba(216, 27, 96, 0.12);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(240, 98, 146, 0.3);
}

.section-title {
    font-size: 1.6rem;
    color: var(--pink-light);
}

/* ====== DISHES ====== */
.dish {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.dish:last-child {
    margin-bottom: 0;
}

.dish-model {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(240, 98, 146, 0.3);
    position: relative;
    touch-action: manipulation;
    background-color: var(--cream);
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: var(--pink-bg);
    touch-action: pan-y;
}

.enlarge-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(240, 98, 146, 0.9);
    color: var(--white);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    touch-action: manipulation;
}

.dish-info {
    width: 100%;
}

.dish-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.dish-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pink-text);
    line-height: 1.3;
}

.dish-desc {
    margin-bottom: 12px;
    color: var(--pink-text);
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* ====== MODAL FOR 3D VIEWER ====== */
.model-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.model-modal-content {
    width: 100%;
    height: 65vh;
    position: relative;
    max-width: 800px;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
}

.model-modal model-viewer {
    width: 100%;
    height: 100%;
    background-color: #1e1e1e;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    background: none;
    border: none;
    padding: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.close-modal:hover, .close-modal:active {
    color: var(--pink-light);
}

/* ====== FOOTER ====== */
footer {
    text-align: center;
    padding: 20px 20px;
    border-top: 1px solid var(--pink-very-light);
    margin-top: 40px;
    background-color: var(--cream);
    margin-top: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.social-icon {
    color: var(--pink-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.social-icon:hover, .social-icon:active {
    color: var(--pink-light);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.8);
}

.copyright {
    font-size: 0.85rem;
    color: var(--pink-text);
    margin-top: 15px;
    line-height: 1.4;
    opacity: 0.7;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (min-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .menu-main-title {
        font-size: 3rem;
    }
    
    .menu-categories {
        justify-content: center;
    }
    
    .dish-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .menu-header {
        padding: 60px 25px 30px;
    }
    
    .menu-main-title {
        font-size: 3.5rem;
    }
    
    .menu-sections-horizontal {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
        gap: 30px;
        padding: 50px 25px;
    }
    
    .dish {
        flex-direction: row;
    }
    
    .dish-model {
        width: 140px;
        height: 140px;
        flex-shrink: 0;
    }
    
    .enlarge-icon {
        opacity: 0;
    }
    
    .dish-model:hover .enlarge-icon {
        opacity: 1;
    }
    
    nav ul {
        gap: 30px;
    }
    
    .close-modal {
        top: -40px;
        right: -40px;
        color: var(--white);
        background-color: rgba(30, 30, 30, 0.8);
        border-radius: 50%;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .menu-main-title {
        font-size: 4rem;
    }
    
    .menu-sections-horizontal {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
        gap: 40px;
    }
    
    .dish-model {
        width: 160px;
        height: 160px;
    }
    
    .model-modal-content {
        height: 75%;
    }
    
    .close-modal {
        top: -40px;
        right: -40px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .menu-sections-horizontal {
        grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
    }
}
