* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Preload critical fonts */
@font-face {
    font-family: 'Segoe UI';
    font-display: swap;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 300;
}

h2 {
    color: #34495e;
    font-size: 1.8rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    color: #2c3e50;
    font-size: 1.4rem;
}

.hero-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: center;
}

.hosts-image {
    max-width: 300px;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
}

.section {
    background: white;
    margin: 30px 0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.room-section {
    display: block;
}

.room-section.hidden {
    display: none;
}

.contact-info {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-table {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-table ul {
    list-style: none;
}

.price-table li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2980b9;
}

.btn-reserve {
    background: #27ae60;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.btn-reserve:hover {
    background: #229954;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background: rgba(0,0,0,0.5);
    border: none;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.navigation-info {
    text-align: center;
    color: white;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    margin-top: 10px;
    border-radius: 5px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-link {
    background: #275bae;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 20px 10px;
    font-weight: bold;
}

.map-link:hover {
    background: #213b9a;
}

.poetry-section {
    background: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
    font-style: italic;
    margin: 30px 0;
}

.attractions {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.feature-icon {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 10px auto;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 20px;
    }
    
    .section {
        padding: 20px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .prev, .next {
        padding: 12px;
        font-size: 16px;
    }
    
    /* Responsive grid layouts for images */
    .section div[style*="grid-template-columns: 1fr auto"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .section img[style*="max-width: 300px"] {
        max-width: 100% !important;
        margin: 0 auto;
        display: block;
    }
    
    .poetry-section div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
}

 