/* InezaMotel/style.css (Updated & Merged) */

/* === BASIC SETUP & VARIABLES === */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

:root { 
    --primary: #2c3e50; 
    --secondary: #16a085; 
    --accent: #e74c3c; 
    --light: #ecf0f1; 
    --primary-blue: #007BFF;
    --primary-blue-dark: #0056b3;
}

body { 
    background-color: #f9f9f9; 
    color: #333; 
    line-height: 1.6; 
}

/* === HEADER === */
.header { 
    background: var(--primary);
    color: white; 
    padding: 20px 0; 
    text-align: center; 
}
.logo { font-size: 2.5rem; font-weight: bold; color: white; }
.logo span { color: var(--secondary); }
.tagline { font-size: 1.2rem; opacity: 0.9; }

/* === NAVIGATION === */
.nav { 
    background-color: var(--primary); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav ul { display: flex; justify-content: center; list-style: none; flex-wrap: wrap; }
.nav li { margin: 0 20px; }
.nav a { color: white; text-decoration: none; font-weight: 500; font-size: 1.1rem; transition: color 0.3s; }
.nav a:hover { color: var(--secondary); }
.nav-btn { background-color: var(--secondary); padding: 5px 15px; border-radius: 5px; }
.nav-btn:hover { background-color: #138d75; color: white; }

/* === HERO SECTION === */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/ineza-motel-exterior-view.jpg'); 
    background-size: contain; 
    background-position: center center; 
    background-attachment: fixed; /* Adds a nice parallax effect */
    height: 500px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    padding: 0 20px; 
}
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.3rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; background-color: var(--secondary); color: white; padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 1.1rem; transition: background-color 0.3s; border: none; cursor: pointer; }
.btn:hover { background-color: #138d75; }

/* === GENERAL SECTION STYLES === */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); position: relative; }
.section-title::after { content: ''; position: absolute; width: 100px; height: 4px; background-color: var(--secondary); bottom: -15px; left: 50%; transform: translateX(-50%); }
.section-subtitle { text-align: center; margin-top: 10px; margin-bottom: 50px; font-size: 1.1rem; color: #666; max-width: 700px; margin-left: auto; margin-right: auto; }

/* === ROOMS SECTION === */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.room-card { background-color: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.room-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.room-img { width: 100%; height: 220px; object-fit: cover; }
.room-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.room-title { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary); }
.room-price { font-size: 1.3rem; font-weight: bold; color: var(--primary-blue); margin-bottom: 15px; }
.room-info p { flex-grow: 1; margin-bottom: 20px; line-height: 1.6; color: #555;}
.btn-book { display: inline-block; background-color: var(--primary-blue); color: #fff; padding: 12px 20px; border-radius: 5px; text-decoration: none; text-align: center; font-weight: bold; transition: background-color 0.3s ease; margin-top: auto; }
.btn-book:hover { background-color: var(--primary-blue-dark); }

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative;
}

/* === AMENITIES === */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.amenity-item { background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); }
.amenity-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; }

/* === LOCATION === */
.location-content { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.location-info { flex: 1; min-width: 300px; }
.location-map { flex: 1; min-width: 300px; height: 400px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info p { margin-bottom: 10px; font-size: 1.1rem; }
.contact-info i { color: var(--secondary); margin-right: 10px; width: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }

/* === FOOTER === */
.footer { background-color: var(--primary); color: white; padding: 20px; }
.copyright { text-align: center; font-size: 0.9rem; opacity: 0.8; }

/* === UTILITY CLASSES === */
.whatsapp-btn { background-color: #25D366; display: inline-flex; align-items: center; gap: 10px; }
.whatsapp-btn:hover { background-color: #128C7E; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .nav ul { flex-direction: column; align-items: center; }
    .nav li { margin: 10px 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .rooms-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}
