@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --color-primary: #4C7666; 
    --color-secondary: #EE5737; 
    --color-background-card: #EEE7D9;
    --color-background-main: #FDFDFD; 
    --color-text: #333333;
    --color-dark: #1a1a1a;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: var(--font-secondary); 
    margin: 0; 
    background-color: var(--color-background-main); 
    color: var(--color-text); 
}

.hotel-logo-text { 
    position: fixed; 
    top: 20px; 
    left: 25px; 
    z-index: 999; 
    background-color: rgba(253, 253, 253, 0.8); 
    padding: 5px 10px; 
    border-radius: 5px; 
    color: var(--color-primary); 
    font-weight: 600; 
    font-size: 1em; 
    pointer-events: none; 
}

.main-header { 
    background-color: var(--color-primary); 
    color: white; 
    padding: 80px 20px; 
    text-align: center; 
}

.main-header h1 { 
    font-family: var(--font-primary); 
    font-size: 3.8em; 
    margin: 0; 
    font-weight: 700; 
    letter-spacing: 1.5px; 
}

.category-nav { 
    background-color: rgba(253, 253, 253, 0.90); 
    backdrop-filter: blur(10px); 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    padding: 15px 0; 
    border-bottom: 1px solid #EAEAEA; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.category-nav a { 
    text-decoration: none; 
    color: var(--color-primary); 
    margin: 5px 15px; 
    font-weight: 600; 
    font-size: 1.1em; 
    transition: color 0.3s; 
}

.category-nav a:hover { 
    color: var(--color-secondary); 
}

.wine-section { 
    padding: 50px 5%; 
}

.wine-section h2 { 
    font-family: var(--font-primary); 
    font-size: 2.8em; 
    text-align: center; 
    margin-bottom: 50px; 
    color: var(--color-primary); 
}

.wine-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; 
}

.wine-card { 
    background-color: var(--color-background-card); 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    text-align: center; 
    padding: 20px; 
    cursor: pointer; 
    transition: transform 0.3s, box-shadow 0.3s; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

.wine-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}

.wine-card .img-container { 
    flex-grow: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 280px; 
}

.wine-card img { 
    max-height: 250px; 
    width: auto; 
    max-width: 80%; 
    object-fit: contain; 
    margin-bottom: 15px; 
}

.wine-card h3 { 
    font-family: var(--font-primary); 
    font-size: 1.4em; 
    margin: 10px 0 5px 0; 
    color: var(--color-dark); 
}

.wine-card .volume { 
    font-size: 0.9em; 
    color: #7f8c8d; 
    margin-bottom: 10px; 
    display: block; 
}

.wine-card .origin { 
    font-style: italic; 
    color: #7f8c8d; 
}

.wine-card .price { 
    font-weight: 700; 
    font-size: 1.3em; 
    color: var(--color-secondary); 
    margin-top: 10px; 
}

.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.7); 
    animation: fadeIn 0.5s; 
}

.modal-content { 
    background-color: var(--color-background-main); 
    margin: 5% auto; 
    padding: 40px; 
    border-radius: 8px; 
    max-width: 800px; 
    width: 90%; 
    position: relative; 
    animation: slideIn 0.5s; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.modal-image { 
    flex-basis: 30%; 
    text-align: center; 
    align-self: center; 
    min-width: 200px; 
}

.modal-image img { 
    max-height: 400px; 
    max-width: 100%; 
    object-fit: contain; 
}

.modal-info { 
    flex-basis: 60%; 
    flex-grow: 1; 
}

.modal-info h2 { 
    font-family: var(--font-primary); 
    font-size: 2.5em; 
    margin-top: 0; 
    margin-bottom: 5px; 
}

.modal-info .wine-sub-header { 
    font-size: 1.1em; 
    color: #7f8c8d; 
    margin-bottom: 20px; 
}

.modal-info h3 { 
    font-family: var(--font-primary); 
    border-bottom: 2px solid var(--color-primary); 
    padding-bottom: 5px; 
    margin-top: 25px; 
    font-size: 1.3em; 
    color: var(--color-primary); 
}

.lang-block { 
    margin-bottom: 10px; 
}

.lang-block .lang-tag { 
    font-weight: bold; 
    font-size: 0.9em; 
    color: #aaa; 
}

.lang-block p { 
    margin: 5px 0 0 0; 
    line-height: 1.6; 
}

.body-scale { 
    width: 100%; 
    height: 10px; 
    background-color: #EAEAEA; 
    border-radius: 5px; 
    margin-top: 10px; 
    position: relative; 
}

.body-indicator { 
    position: absolute; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    width: 20px; 
    height: 20px; 
    background-color: var(--color-secondary); 
    border-radius: 50%; 
    border: 3px solid white; 
    box-shadow: 0 0 10px rgba(0,0,0,0.2); 
}

.body-labels { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.9em; 
    margin-top: 5px; 
    color: #7f8c8d; 
}

.close-button, .home-button { 
    position: absolute; 
    cursor: pointer; 
    font-size: 2em; 
    transition: transform 0.3s; 
}

.close-button { 
    top: 15px; 
    right: 25px; 
    color: #aaa; 
}

.home-button { 
    top: 15px; 
    left: 25px; 
    color: var(--color-primary); 
}

.close-button:hover, .home-button:hover { 
    transform: scale(1.1); 
    color: var(--color-dark); 
}

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

@keyframes slideIn { 
    from { transform: translateY(-50px); } 
    to { transform: translateY(0); } 
}