/* ========================================
   FONTS
======================================== */
@font-face {
    font-family: 'Core Gungseo';
    src: url('../fonts/CoreGungseoLightW01-Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   RESET E VARIABILI
======================================== */
:root {
    /* Colori Principali */
    --primary-color: #C85A54;           /* Terracotta per header, bottoni e accenti */
    --secondary-color: #D4745E;         /* Mattone per varianti */
    --accent-color: #6B8E6B;            /* Verde oliva per accenti secondari */
    
    /* Colori di Sfondo */
    --bg-light: #F5F5F0;                /* Bianco/Crema chiaro - sfondo principale */
    --bg-alternate: #E8E6E1;            /* Grigio pietra chiaro - sfondi alternati */
    --bg-dark: #333333;                 /* Grigio antracite per footer/sezioni scure */
    --white: #FAFAFA;                   /* Bianco alternativo */
    
    /* Colori per Testi */
    --text-color: #333333;              /* Grigio antracite - testi principali */
    --text-heading: #5C4033;            /* Marrone caldo - titoli e sottotitoli */
    --text-light: #666666;              /* Testi secondari */
    
    /* Colori Secondari e Dettagli */
    --green-sage: #8BA888;              /* Verde salvia alternativo */
    --blue-sky: #87CEEB;                /* Blu cielo per dettagli */
    --blue-sky-alt: #A8DADC;            /* Blu cielo alternativo */
    
    --transition: all 0.3s ease;
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* ========================================
   LAYOUT
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--text-heading);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto;
}

.bg-dark {
    background: var(--bg-dark);
    color: var(--white);
}

.bg-dark .section-title {
    color: var(--white);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* Wine buttons */
.btn-wine {
    background: #8b4a89;
    color: var(--white);
    border-color: #8b4a89;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    display: inline-block;
}

.btn-wine:hover {
    background: transparent;
    color: #8b4a89;
}

.btn-wine-outline {
    background: transparent;
    color: #8b4a89;
    border-color: #8b4a89;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #8b4a89;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    display: inline-block;
}

.btn-wine-outline:hover {
    background: #8b4a89;
    color: var(--white);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-family: 'Core Gungseo', 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-heading);
    margin: 0;
    font-weight: normal;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list > li > a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Language Switcher */
.nav-lang {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary-color);
    color: var(--white);
}

.lang-switch i {
    font-size: 1rem;
}

.nav-social {
    display: flex;
    gap: 15px;
}

.nav-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-light);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 0.9rem;
}

.nav-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--blue-sky);
    font-family: var(--font-body);
    font-weight: 500;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--white);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(15px);
        opacity: 0.5;
    }
}

/* ========================================
   ABOUT PREVIEW
======================================== */
.about-preview {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: 20px;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   ROOMS SECTION
======================================== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.room-card {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.room-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.room-info {
    padding: 30px;
}

.room-info h3 {
    color: var(--text-heading);
    margin-bottom: 15px;
}

.room-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.room-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.room-features i {
    color: var(--primary-color);
}

/* ========================================
   RESTAURANT PREVIEW
======================================== */
.restaurant-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.restaurant-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.restaurant-text {
    color: var(--white);
}

.restaurant-text h2 {
    color: var(--white);
}

.restaurant-text p {
    margin-bottom: 20px;
}

.restaurant-text .btn {
    margin-top: 20px;
}

/* ========================================
   EXPERIENCES SECTION
======================================== */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.experience-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    transition: var(--transition);
}

.experience-card:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.experience-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
}

.experience-card:hover .experience-icon {
    background: var(--primary-color);
    color: var(--white);
}

.experience-card h3 {
    margin-bottom: 15px;
    color: var(--text-heading);
}

.experience-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section {
    background: var(--bg-dark);
}

.gallery-section .section-title {
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: var(--white);
    color: var(--bg-dark);
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--bg-dark);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    border-color: var(--bg-dark);
}

/* ========================================
   FOOTER
======================================== */
.main-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-tagline {
    font-style: italic;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--blue-sky);
}

.footer-links i {
    color: var(--primary-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.newsletter h5 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter button {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
}

.footer-credits a:hover {
    color: var(--blue-sky);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-list > li > a {
        display: block;
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content,
    .restaurant-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .experiences-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE - RESTAURANT PAGE
   ======================================== */

/* Tablet and below */
@media (max-width: 992px) {
    .menu-grid,
    .responsive-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .pdf-card, .qr-card {
        padding: 25px !important;
    }
    
    .pdf-viewer iframe {
        height: 500px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .menu-section .section-header h2 {
        font-size: 2rem !important;
    }
    
    .menu-section .section-header p {
        font-size: 1rem !important;
    }
    
    .pdf-card, .qr-card {
        padding: 20px !important;
    }
    
    .pdf-viewer iframe {
        height: 400px !important;
    }
    
    .qr-card h3 {
        font-size: 1.5rem !important;
    }
    
    .qr-card p {
        font-size: 1rem !important;
    }
    
    .menu-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .menu-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .menu-section {
        padding: 40px 0 !important;
    }
    
    .section-header {
        margin-bottom: 30px !important;
    }
    
    .pdf-card, .qr-card {
        padding: 15px !important;
        border-radius: 10px !important;
    }
    
    .pdf-viewer {
        border-radius: 8px !important;
    }
    
    .pdf-viewer iframe {
        height: 300px !important;
    }
    
    .qr-image {
        padding: 20px !important;
    }
    
    .qr-benefits {
        padding: 15px !important;
    }
    
    .qr-benefits ul li {
        font-size: 0.9rem !important;
        padding: 6px 0 !important;
    }
}

/* ========================================
   MENU CARD - HOVER EFFECTS
   ======================================== */

/* Hover effects for menu action buttons */
.menu-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(151, 190, 90, 0.4) !important;
}

.menu-actions a:active {
    transform: translateY(0);
}

/* PDF Card hover effect */
.pdf-card {
    transition: all 0.3s ease;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2) !important;
}
