/* General Styles */
:root {
    --primary-color: #5d9a5d; /* Green */
    --secondary-color: #f7a43b; /* Orange */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --font-family: 'Arial', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background: var(--dark-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
}

/* Header */
.header {
    background: #FF8080;
    color: #FF8080;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 0 2rem;
    background-color: #FF8080;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--dark-color);
}
.logo img {
    max-height: 120px;
    max-width: 120px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    color: black;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.nav.active .hamburger {
    transform: rotate(45deg);
}

.nav.active .hamburger::before {
    transform: rotate(90deg) translate(8px);
}

.nav.active .hamburger::after {
    transform: rotate(90deg) translate(-8px);
}

/* Hero Section */
.hero {
    background: url('./imagenes/frente.jpg?text=Hotel+Nor+Tomarza+Background') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Sections */
section {
    padding: 4rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: var(--light-color);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.about-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    width: 250px;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Rooms Section */
.rooms-section {
    background: #fff;
}

.rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.room-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.room-card h3 {
    margin-top: 1rem;
}

.room-card p {
    padding: 0 1rem 1rem;
}

/* Services Section */
.services-section {
    background: var(--light-color);
}

.services-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-list li {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.services-list li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Location Section */
.location-section {
    background: #fff;
}

.map-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-color);
}

.testimonial-card {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card span {
    font-weight: bold;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 4rem 2rem 1rem;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info, .footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 2rem;
        top: 1rem;
    }

    .btn-reserva {
        display: none; /* Hide button on mobile and show it in menu */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}