/* ==================== VARIABLES ==================== */
:root {
    --navy: #1a2942;
    --gold: #c9b896;
    --light: #f5f5f5;
    --white: #ffffff;
    --dark: #0f1822;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 184, 150, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}

.logo {
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-name {
    font-size: 2.5rem;
    letter-spacing: 0.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.tagline {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 3rem;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 184, 150, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 184, 150, 0.5);
    background: #d4c7ab;
}

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 41, 66, 0.95);
    padding: 1rem 2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--white);
}

/* ==================== SECTIONS ==================== */
section {
    padding: 5rem 2rem;
}


.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--gold);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
    position: relative;
    z-index: 3;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 3;
    transition: color 0.3s;
}

.service-card p {
    position: relative;
    z-index: 3;
    color: #555;
    transition: color 0.3s;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    background: rgba(26, 41, 66, 0.95);
    pointer-events: none;
    overflow: hidden;
}

.service-card:hover .service-image {
    opacity: 1;
}

.service-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: cover;
    opacity: 0.6;
    display: block;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon {
    color: var(--white);
}

/* ==================== PACKAGES ==================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 2px solid var(--gold);
}

.package-card:hover {
    transform: scale(1.05);
}

.package-header {
    background: linear-gradient(135deg, var(--navy), var(--dark));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.package-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.package-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
}

.package-body {
    padding: 2rem;
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.package-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.package-features li::before {
    content: '✓ ';
    color: var(--gold);
    font-weight: bold;
    margin-right: 0.5rem;
}

.package-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--navy);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.package-button:hover {
    background: #d4c7ab;
}

/* ==================== TERRAZA SECTION ==================== */
.terraza {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
    color: var(--white);
    position: relative;
}

.terraza .section-title {
    color: var(--gold);
}

.terraza-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.terraza-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.terraza-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light);
}

/* ==================== GALLERY ==================== */
.video-section {
    background: var(--white);
    text-align: center;
}

.video-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    margin: 0 auto;
}

.video-container video:focus {
    outline: 3px solid var(--gold);
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==================== CONTACT ==================== */
.contact {
    background: var(--light);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 2rem;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .logo {
        font-size: 4rem;
    }

    .brand-name {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 3rem;
    }

    .brand-name {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    nav {
        padding: 0.5rem 1rem;
    }

    nav ul {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .service-card {
        padding: 1.5rem;
        min-height: 180px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .gallery-item {
        height: 200px;
    }
}

/* ==================== WHATSAPP FLOAT BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}