/* =========================
   BASE
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
}

/* =========================
   HEADER & NAV
   ========================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.logo:hover {
    opacity: 0.8;
}
.logo img {
    height: 70px;
    width: auto;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}
nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}
nav a:hover {
    color: #8B4513;
}

/* =========================
   CTA BUTTON
   ========================= */
.cta-button {
    background: #8B4513;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}
.cta-button:hover {
    background: #654321;
}

/* =========================
   HERO & SLIDER
   ========================= */
.hero {
    margin-top: 80px;
    height: 90vh;
    position: relative;
    overflow: hidden;
}
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(252,213,213,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 10;
}
.hero-logo {
    width: 500px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}
.hero h1 {
    font-size: 2rem;
    max-width: 80%;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.hero p {
    font-size: 1.5rem;
    max-width: 80%;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(41,38,38,0.767);
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dot.active {
    background: #8B4513;
}

/* =========================
   SECTION & ABOUT
   ========================= */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #8B4513;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}
.about-text p {
    margin-bottom: 1.5rem;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* =========================
   GALLERY & ROOMS
   ========================= */
.gallery {
    background: #f9f9f9;
}
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.room-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.room-title {
    text-align: center;
    padding: 1.5rem;
    color: #8B4513;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}
.room-preview {
    position: relative;
    overflow: hidden;
}
.preview-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}
.room-card:hover .preview-image {
    transform: scale(1.1);
}
.preview-count {
    text-align: center;
    padding: 1rem;
    color: #666;
    font-size: 0.95rem;
}

/* =========================
   LIGHTBOX
   ========================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s;
}
.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}
.lightbox-close:hover {
    color: #8B4513;
}
.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    transition: opacity 0.2s ease-in-out;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(139,69,19,0.8);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    z-index: 2001;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(139,69,19,1);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 20px;
}

/* =========================
   AMENITIES
   ========================= */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.amenity-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.amenity-card:hover {
    transform: translateY(-5px);
}
.amenity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
/* Icona composta */
.icon-composed {
    position: relative;
    display: inline-block;
    width: 2em;
    height: 1.5em;
}
.icon-bg {
    position: absolute;
    font-size: 2rem;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.icon-fg {
    position: absolute;
    font-size: 3rem;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.7;
    filter: drop-shadow(0 0 2px white);
}

/* =========================
   LOCATION
   ========================= */
.location {
    background: #f9f9f9;
}
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.location-highlights {
    list-style: none;
    margin-top: 2rem;
}
.location-highlights li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    font-size: 1.1rem;
}
.location-highlights li:before {
    content: "📍";
    position: absolute;
    left: 0;
}
.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* =========================
   CONTACT
   ========================= */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.contact-info h4 {
    font-size: 1.2rem;
    color: #333;
}
.contact-info a, 
.footer-address a {
    transition: color 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    display: inline-block;
    padding: 0.5rem;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #8B4513;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn:hover {
    background: #654321;
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 2rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}
.footer-section h3 {
    margin-bottom: 1rem;
    color: #D4A574;
}
.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}
.footer-address {
    line-height: 1.8;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* =========================
   HAMBURGER MENU
   ========================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 1.2rem; }
    .hero-logo {
        width: 80%;
        max-width: 300px;
        min-width: 250px;
    }
    .about-content,
    .location-content {
        grid-template-columns: 1fr;
    }
    .rooms-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hamburger { display: flex; }
    nav ul {        
        flex-direction: column;
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background: white;
        padding: 1.2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }
    nav ul.active { right: 0; }
    nav ul li { margin: 0; }
    nav ul.active li { width: 100%; }
    nav ul.active a {
        display: block;
        width: 100%;
        padding: 1rem 1rem;
        background: #f5f5f5;
        color: #333;
        border-radius: 8px;
        font-size: 1.15rem;
        text-align: left;
        transition: background 0.2s, color 0.2s;
    }
    nav ul.active a:hover,
    nav ul.active a:active {
        background: #e5e5e5;
        color: #8B4513;
    }
    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        padding: 10px 15px;
    }
    .lightbox-close {
        font-size: 40px;
        right: 20px;
        top: 10px;
    }
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-info a {
        padding: 1rem;
        width: 100%;
        background-color: #f5f5f5;
        border-radius: 5px;
        margin: 0.5rem 0;
    }
    .contact-info a:active {
        background-color: #e5e5e5;
    }
    .whatsapp-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        width: 90%;
        max-width: 300px;
    }
}

/* =========================
   UTILITY & EMOJI
   ========================= */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.whatsapp-button:hover {
    background: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.whatsapp-button:active {
    transform: translateY(-1px);
}
#contact h5 {
    line-height: 1.3;
}
#contact h5 .emoji {
    font-size: 2.0rem;
    vertical-align: baseline;
}
.emoji {
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Twemoji Mozilla', sans-serif;
    font-size: 1.5rem;
    vertical-align: middle;
}
/* FINE STYLE.CSS */

