/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0a4d68;
    --secondary-color: #088395;
    --accent-color: #f5a623; /* A warm, inviting accent */
    --dark-text: #333333;
    --light-text: #f4f4f4;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark-text);
    line-height: 1.7;
    background-color: #ffffff;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #e4940f;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* --- Header & Navigation --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px; /* Increased size */
    transition: transform 0.3s ease-in-out;
}

.logo img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.main-nav {
    display: flex;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--accent-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 77, 104, 0.7), rgba(10, 77, 104, 0.7)), url('../images/Staff/gala-dinner-server-principal.jpeg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* --- Page Header (for other pages) --- */
.page-header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
}

/* --- Intro Section --- */
.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* --- Services Overview --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

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

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px;
    margin-bottom: 20px;
}

.service-card .learn-more {
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

/* --- Testimonial --- */
.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content blockquote p {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-content cite {
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: var(--light-text);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
}

/* --- About Page --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image img {
    border-radius: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Services Page --- */
.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-content-grid.reverse-grid {
    grid-template-columns: 1fr 1fr;
}

.service-content-grid.reverse-grid .service-text {
    order: 2;
}

.service-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-text ul {
    list-style: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.service-text ul li {
    margin-bottom: 10px;
}

.service-image img {
    border-radius: 8px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- Gallery Page --- */
.gallery-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.gallery-section .container {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #000;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 77, 104, 0.2);
}

.contact-info-container h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-item {
    margin-bottom: 25px;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-info-container.centered {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

.contact-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .services-grid, .values-grid, .about-grid, .service-content-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-content-grid.reverse-grid .service-text {
        order: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .logo {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .mobile-nav-toggle {
        display: block;
        padding: 10px;
        border-radius: 5px;
        animation: menu-glow 2s infinite ease-in-out;
    }

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

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

    .section-padding {
        padding: 60px 0;
    }

    .loader-text {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* --- Loader --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column; /* Stack logo and text vertically */
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px; /* Adjust size as needed */
    animation: fadeIn 1s ease-in-out forwards, pulse 1.5s 1s infinite ease-in-out;
    opacity: 0;
}

.loader-text {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-top: 20px;
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0;
}

.loader-text-vasquez {
    color: var(--primary-color);
}

.loader-text-cleaning {
    color: var(--secondary-color);
}

.loader-text-staff {
    color: var(--accent-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #1EBE57;
    color: white;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

@keyframes menu-glow {
    0% {
        box-shadow: 0 0 3px rgba(8, 131, 149, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(8, 131, 149, 0.7);
    }
    100% {
        box-shadow: 0 0 3px rgba(8, 131, 149, 0.3);
    }
}
