/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b4513;
    --secondary-color: #d2691e;
    --dark-color: #3e2723;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Previene zoom automatico su iOS */
    text-size-adjust: 100%; /* Standard property */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Previene scroll orizzontale */
}

/* Touch optimization */
a, button, .lang-btn, .menu-toggle {
    -webkit-tap-highlight-color: rgba(139, 69, 19, 0.2);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text overflow prevention */
p, h1, h2, h3, h4, h5, h6, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* Nascondi versione mobile su desktop */
.language-switcher-mobile {
    display: none;
    list-style: none;
}

/* Mostra solo versione desktop su desktop */
.language-switcher-desktop {
    display: flex;
}

.lang-btn {
    padding: 6px 12px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.jpg') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Restaurant Section */
.restaurant {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.restaurant-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.restaurant-card:hover {
    transform: translateY(-10px);
}

.restaurant-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.restaurant-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.restaurant-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

/* Rooms Section */
.rooms {
    padding: 80px 20px;
    background-color: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.room-features {
    list-style: none;
    margin: 15px 0;
}

.room-features li {
    padding: 5px 0;
    color: var(--text-color);
}

.room-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

.room-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

/* Booking Section */
.booking {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.booking-form {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group button {
    margin-top: 26px;
    width: 100%;
}

/* Available Rooms */
.available-rooms {
    margin-top: 40px;
}

.available-rooms h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.available-room-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.available-room-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.available-room-info p {
    color: var(--text-color);
    margin-bottom: 5px;
}

.available-room-price {
    text-align: right;
}

.available-room-price .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.available-room-price .total {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.close:hover {
    color: var(--primary-color);
}

.booking-summary {
    background: var(--light-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.booking-summary h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.booking-summary p {
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-form {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
}

/* Map Section */
.map-section {
    margin-top: 60px;
    text-align: center;
}

.map-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.map-section p {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--light-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Success Message */
.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Room Map Visualization */
.room-map-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.room-map-container h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.map-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hotel-floors {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
}

.floor {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.floor-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.floor-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.room-box {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border: 3px solid #28a745;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.room-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.room-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    border-color: var(--secondary-color);
}

.room-box .room-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.room-box .room-name {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 500;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-box .room-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 8px;
}

.room-box .room-status {
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: #28a745;
    color: white;
}

/* Room Status States */
.room-box.occupied {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffe5e5 0%, #fff5f5 100%);
    cursor: not-allowed;
}

.room-box.occupied::before {
    background: linear-gradient(90deg, #dc3545, #f56565);
}

.room-box.occupied .room-status {
    background: #dc3545;
}

.room-box.occupied:hover {
    transform: none;
    box-shadow: none;
}

.room-box.selected {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #fffdf0 100%);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.room-box.selected::before {
    background: linear-gradient(90deg, #ffc107, #ffb300);
}

.room-box.selected .room-status {
    background: #ffc107;
    color: var(--dark-color);
}

/* Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.legend-color.available {
    background: #28a745;
    border-color: #28a745;
}

.legend-color.occupied {
    background: #dc3545;
    border-color: #dc3545;
}

.legend-color.selected {
    background: #ffc107;
    border-color: #ffc107;
}

/* Impressum Page */
.impressum-section {
    padding: 100px 20px 80px;
    background-color: var(--white);
    min-height: calc(100vh - 200px);
}

.impressum-content {
    max-width: 900px;
    margin: 0 auto;
}

.impressum-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.impressum-block {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.impressum-block:last-of-type {
    border-bottom: none;
}

.impressum-block h2 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.impressum-block p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 10px;
}

.impressum-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.impressum-block a:hover {
    color: var(--secondary-color);
}

.impressum-back {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--primary-color);
}

.impressum-back .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Room Map Responsive */
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .room-box .room-number {
        font-size: 1.6rem;
    }
    
    .room-box .room-name {
        font-size: 0.85rem;
        min-height: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        padding: 5px;
    }
    
    .navbar .container {
        padding: 0.8rem 15px;
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    /* Nascondi language switcher desktop su mobile */
    .language-switcher-desktop {
        display: none !important;
    }
    
    /* Mostra language switcher mobile */
    .language-switcher-mobile {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0 10px;
        border-bottom: 2px solid rgba(0,0,0,0.08);
        background: rgba(139, 69, 19, 0.03);
    }
    
    .language-switcher-mobile .language-switcher {
        justify-content: center;
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        gap: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .lang-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    /* Hero Mobile */
    .hero {
        height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Typography Mobile */
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Sections Mobile */
    .restaurant,
    .rooms,
    .booking,
    .contact {
        padding: 50px 15px;
    }
    
    .restaurant-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .restaurant-card img,
    .room-card img {
        height: 220px;
    }
    
    /* Booking Form Mobile */
    .booking-form-container {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    /* Room Map Mobile */
    .room-map-container {
        padding: 20px 15px;
    }
    
    .room-map-container h3 {
        font-size: 1.6rem;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .room-box {
        padding: 12px 8px;
    }
    
    .room-box .room-number {
        font-size: 1.4rem;
    }
    
    .room-box .room-name {
        font-size: 0.75rem;
        min-height: 28px;
    }
    
    .room-box .room-price {
        font-size: 0.95rem;
    }
    
    .room-box .room-status {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* Previene zoom su iOS */
    }
    
    .form-group button {
        margin-top: 10px;
        padding: 15px;
        font-size: 1rem;
    }
    
    /* Available Rooms Mobile */
    .available-room-card {
        flex-direction: column;
        text-align: center;
    }
    
    .available-room-img {
        width: 100%;
        height: 200px;
    }
    
    .available-room-price {
        text-align: center;
        margin-top: 15px;
        width: 100%;
    }
    
    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .map-section {
        margin-top: 40px;
    }
    
    .map-section h3 {
        font-size: 1.5rem;
    }
    
    .map-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* Modal Mobile */
    .modal-content {
        margin: 5% 15px;
        padding: 25px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal h3 {
        font-size: 1.4rem;
    }
    
    /* CTA Buttons Mobile */
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Impressum Mobile */
    .impressum-section {
        padding: 80px 15px 60px;
    }
    
    .impressum-content h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .impressum-block h2 {
        font-size: 1.2rem;
    }
    
    .impressum-block {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .navbar .container {
        padding: 0.7rem 10px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        font-size: 1.5rem;
    }
    
    /* Hero Extra Small */
    .hero {
        height: 400px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Typography Extra Small */
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Sections Extra Small */
    .restaurant,
    .rooms,
    .booking,
    .contact {
        padding: 40px 10px;
    }
    
    .restaurant-card,
    .room-card {
        border-radius: 8px;
    }
    
    .restaurant-card img,
    .room-card img {
        height: 200px;
    }
    
    .room-info,
    .restaurant-card h3,
    .restaurant-card p {
        padding: 15px;
    }
    
    /* Booking Form Extra Small */
    .booking-form-container {
        padding: 20px 15px;
        margin: 0;
        border-radius: 8px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    /* Language Switcher Mobile */
    .language-switcher {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex: 1;
        min-width: 70px;
    }
    
    /* Modal Extra Small */
    .modal-content {
        margin: 3% 10px;
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .close {
        font-size: 2rem;
        padding: 5px 10px;
    }
    
    /* Room Features Mobile */
    .room-features li {
        font-size: 0.9rem;
        padding: 4px 0;
    }
    
    .room-price {
        font-size: 1.3rem;
    }
    
    /* CTA Buttons Extra Small */
    .cta-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Available Rooms Extra Small */
    .available-room-card h3 {
        font-size: 1.1rem;
    }
    
    .available-room-card p {
        font-size: 0.9rem;
    }
    
    /* Footer Extra Small */
    .social-links a {
        font-size: 1.3rem;
        width: 40px;
        height: 40px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 350px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .cta-btn,
    .form-group button,
    .lang-btn,
    .menu-toggle {
        min-height: 44px; /* iOS touch target size */
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Image Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    animation: fadeIn 0.25s ease;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 70px 40px;
    box-sizing: border-box;
    min-height: 0;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
    user-select: none;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 20px;
    color: #fff;
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s, transform 0.2s;
    padding: 4px 10px;
}

.lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.15);
}

/* Prev / Next arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 2.8rem;
    line-height: 1;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.2;
    cursor: default;
}

/* Fullscreen toggle */
.lightbox-fullscreen {
    position: absolute;
    top: 16px;
    right: 76px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s, transform 0.2s;
    padding: 4px 8px;
}

.lightbox-fullscreen:hover {
    color: #fff;
    transform: scale(1.15);
}

/* Caption & counter */
.lightbox-caption {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    text-align: center;
    padding: 0 16px 4px;
    max-width: 800px;
    font-style: italic;
}

.lightbox-counter {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    text-align: center;
    padding-bottom: 14px;
    letter-spacing: 0.08em;
}

@keyframes zoomIn {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-img-wrap {
        padding: 56px 54px 36px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 2rem;
    }

    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }

    .lightbox-caption { font-size: 0.9rem; }
}

/* Make restaurant images clickable */
.restaurant-card img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===========================
   Restaurant Photo Mosaic
   =========================== */
.restaurant-mosaic {
    margin-top: 60px;
}

.mosaic-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 12px;
}

.mosaic-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.restaurant-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
}

.rm-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.rm-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.rm-item:hover img {
    transform: scale(1.07);
}

.rm-item:hover .gallery-overlay {
    background: rgba(62, 39, 35, 0.55);
}

.rm-item:hover .gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}

.rm-wide {
    grid-column: span 2;
}

.rm-tall {
    grid-row: span 2;
}

@media (max-width: 768px) {
    .restaurant-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .rm-wide { grid-column: span 2; }
    .rm-tall { grid-row: auto; }
}

@media (max-width: 480px) {
    .restaurant-mosaic-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .rm-wide, .rm-tall { grid-column: auto; grid-row: auto; }
}

/* ===========================
   Gallery Section
   =========================== */
.gallery-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
    font-style: italic;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 220px);
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery items */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 69, 19, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(62, 39, 35, 0.55);
}

.gallery-item:hover .gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* Grid placement — editorial masonry layout */
.gi-1 { grid-column: 1 / 3; grid-row: 1 / 3; }   /* large square top-left */
.gi-2 { grid-column: 3;     grid-row: 1; }
.gi-3 { grid-column: 4;     grid-row: 1; }
.gi-4 { grid-column: 3;     grid-row: 2; }
.gi-5 { grid-column: 4;     grid-row: 2; }
.gi-6 { grid-column: 1;     grid-row: 3; }
.gi-7 { grid-column: 2;     grid-row: 3; }
.gi-8 { grid-column: 3 / 5; grid-row: 3 / 5; }    /* large square bottom-right */
.gi-9 { grid-column: 1 / 3; grid-row: 4; }        /* wide strip bottom-left */

/* Mobile: stack in 2 columns */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 6px;
    }

    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5,
    .gi-6, .gi-7, .gi-8, .gi-9 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }

    .gi-1, .gi-8, .gi-9 {
        grid-column: span 2;
    }
}

/* Very small screens: single column */
@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gi-1, .gi-8, .gi-9 {
        grid-column: auto;
    }
}
