/* Custom CSS for Servicasa */
body {
    font-family: 'Inter', sans-serif;
    /* Ensure smooth scrolling for anchor links */
    scroll-behavior: smooth;
}

.hero-section {
    background-image: url('/img/home.png'); /* Placeholder image, replace with your own */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure the hero section takes full viewport height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* Needed for overlay */
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* Padding for small screens */
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 9999px; /* Fully rounded */
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Icon size */
    z-index: 1000; /* Ensure it's above other content */
    transition: transform 0.2s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Custom styles for mobile menu toggle */
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: lightblue;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.galery-section {
    background-image: url('img/cocina.jpg'); /* Placeholder image, replace with your own */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure the hero section takes full viewport height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* Needed for overlay */
}

.galery-section .container {
    margin-top: 100px;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}

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

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}