/* ==========================================================================
   iBV Content Gen CSS
   Plugin Version: v1.2.9.8
   Target Profile: calsal_com
   CSS Build: #46
   Created Date/Time: 2026-09-14 13:49:56 CT
   ========================================================================== */

/* ==========================================================================
   Playa Azul Michoacán ("Villas Rey") - Standalone Production Stylesheet
   Filename: style.css
   Domain: https://calsal.com/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Core Visual System (:root) & Reset
   -------------------------------------------------------------------------- */
:root {
    --primary: #0f4c81;         /* Deep Ocean Blue */
    --primary-dark: #0a3357;    /* Dark Navy */
    --accent: #25d366;          /* WhatsApp / Conversion Green */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Hide administrative markup or empty paragraph tags if injected by WordPress */
body > h1:first-of-type,
body > hr:first-of-type,
p:empty,
br {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. Bilingual Visibility System Controls
   -------------------------------------------------------------------------- */
.lang-es { 
    display: none !important; 
}

.lang-en { 
    display: block; 
}

span.lang-en { 
    display: inline; 
}

span.lang-es { 
    display: none !important; 
}

/* Toggle Visibility for Active Spanish State */
body.lang-es-active .lang-en { 
    display: none !important; 
}

body.lang-es-active .lang-es { 
    display: block !important; 
}

body.lang-es-active span.lang-es { 
    display: inline !important; 
}

/* --------------------------------------------------------------------------
   3. Fixed Navigation Header (header)
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    background: #e2e8f0;
    border-radius: 30px;
    padding: 4px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Crisp, Non-Overflowing Pill Nav Button */
.nav-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Full-Width Hero Section (.hero)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 90vh;
    /* CSS background image with dark gradient overlay using local relative path fallback */
    background: linear-gradient(rgba(15, 76, 129, 0.65), rgba(10, 51, 87, 0.82)), 
                url('media/IMG-20260301-WA0000-1-1024x577.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 8rem 1rem 4rem;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

/* Hide duplicate inline image elements inside hero if injected */
.hero-img,
.hero img {
    display: none !important;
}

/* Generous CTA spacing */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn-main {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-main:hover, 
.btn-secondary:hover {
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   5. Feature Cards Overlay (.features)
   -------------------------------------------------------------------------- */
.features {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   6. Full-Width About Section (.about)
   -------------------------------------------------------------------------- */
.about {
    padding: 5rem 5%;
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    width: 100%;
    text-align: center;
}

.about-text h2 {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    max-width: 100%;
}

.location-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
}

.tag {
    background: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   7. Site Master Plan Section (.site-plan-section)
   -------------------------------------------------------------------------- */
.site-plan-section {
    padding: 4rem 5%;
    background: #edf2f7;
    text-align: center;
}

.site-plan-section .section-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.site-plan-section .section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.site-plan-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-plan-container img {
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* --------------------------------------------------------------------------
   8. Photo Gallery Grid (.gallery-grid)
   -------------------------------------------------------------------------- */
.gallery-section {
    padding: 5rem 5%;
    background: var(--white);
    text-align: center;
}

.gallery-section .section-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.gallery-section .section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.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: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: #000;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   9. Contact Section & Floating Glassmorphism Buttons (.contact)
   -------------------------------------------------------------------------- */
.contact {
    padding: 5rem 5%;
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.contact-container {
    max-width: 850px;
    margin: 0 auto;
}

.contact h2 {
    color: var(--white);
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
}

.contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.phone-numbers {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0 1.5rem;
    flex-wrap: wrap;
}

/* Glassmorphism Phone Action Cards */
.phone-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem 2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.phone-card:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* Dashed Email Pill Button */
.email-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    margin-top: 1rem;
}

.email-box:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   10. Footer Section
   -------------------------------------------------------------------------- */
footer {
    background: #06192a;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-version {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   11. Mobile Breakpoint Adjustments (Viewport < 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero h1 { 
        font-size: 2.2rem; 
    }
    
    .phone-numbers,
    .hero-buttons { 
        flex-direction: column; 
        align-items: center; 
    }

    .btn-main,
    .btn-secondary,
    .phone-card,
    .email-box {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}