/* Finca Mirador Los Pinos - Outdoor Premium Style */

:root {
    --forest-dark: #1a3d2b;
    --forest-mid: #2d6a4f;
    --forest-light: #40916c;
    --forest-pale: #d8f3dc;
    --wood-dark: #6d3a0f;
    --wood-mid: #8b5e3c;
    --cream: #f5f0e8;
    --text-dark: #1b2d1e;
    --whatsapp: #25D366;
    --forest-deep: #0c2017;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar-finca {
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-mid) 50%, var(--forest-dark) 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-finca .nav-tab-btn {
    color: #b7e4c7;
    border: none;
    background: transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-family: 'Playfair Display', serif;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.navbar-finca .nav-tab-btn:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

.navbar-finca .nav-tab-btn.active {
    background: white;
    color: var(--forest-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Hero */
.hero-section {
    min-height: 90vh;
    background-image: url('../atardecer-1.jpg');
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,30,15,0.65) 0%, rgba(10,30,15,0.35) 45%, rgba(10,30,15,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.hero-subtitle {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    text-shadow: 0 4px 24px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.hero-title span {
    color: #f5c842;
}

.hero-lead {
    font-size: 1.25rem;
    color: #fffbeb;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(255,255,255,0.65);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* Buttons */
.btn-forest {
    background: white;
    color: var(--forest-dark);
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-forest:hover {
    transform: scale(1.05);
    background: #f5f5f5;
    color: var(--forest-dark);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Feature Cards */
.feature-card {
    border-radius: 1.25rem;
    background: white;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.feature-card-body {
    padding: 2rem;
}

.feature-card-accent {
    height: 5px;
}

/* Gallery */
.gallery-section {
    background: var(--forest-dark);
    padding: 5rem 0;
}

.gallery-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.gallery-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: linear-gradient(135deg, #52b788, #40916c);
    border-color: #52b788;
    box-shadow: 0 4px 20px rgba(82, 183, 136, 0.4);
}

.gallery-tab-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.gallery-tab-content {
    text-align: left;
}

.gallery-tab-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.15rem;
    font-family: 'Playfair Display', serif;
}

.gallery-tab-subtitle {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 400;
}

.gallery-img {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1rem;
    position: relative;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    z-index: 10;
}

.gallery-img img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.gallery-img:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
    overflow: hidden;
    margin: 0 !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: fixed !important;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 100000 !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: background 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.8);
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Testimonial */
.testimonial-card {
    background: white;
    border: 2px solid var(--forest-pale);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Wood Sign */
.wood-sign {
    background: linear-gradient(135deg, #6d3a0f 0%, #8b5e3c 30%, #7d4e1e 60%, #8b5e3c 100%);
    border: 6px solid #5c3a1e;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

/* Price Card */
.price-card {
    background: white;
    border: 2px solid var(--forest-pale);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
}

.price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--forest-pale);
    margin-bottom: 0.75rem;
    transition: background 0.2s;
}

.price-item:hover {
    background: #f0faf2;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-mid);
    font-family: 'Playfair Display', serif;
}

/* Rules */
.rules-card {
    background: white;
    border: 2px solid var(--forest-pale);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Cotizador */
.cotizador-section {
    background: linear-gradient(160deg, var(--forest-mid) 0%, var(--forest-dark) 55%, var(--forest-deep) 100%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.total-display {
    background: linear-gradient(135deg, rgba(15,40,24,0.65), rgba(8,25,15,0.8));
    border: 1px solid rgba(64,145,108,0.25);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.total-col-label {
    font-size: 0.75rem;
    color: #b7e4c7;
    margin-bottom: 0.2rem;
}

.total-col-amount {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.total-col-multiplier {
    font-size: 1rem;
    font-weight: 600;
    color: #b7e4c7;
    margin-bottom: 0.25rem;
}

.total-col-sub {
    font-size: 0.72rem;
    color: #b7e4c7;
}

.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    width: fit-content;
    margin: 0 auto;
    gap: 0;
}

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn-minus {
    background: rgba(64,145,108,0.22);
    color: white;
}

.qty-btn-minus:hover { opacity: 0.8; }

.qty-btn-plus {
    background: var(--forest-mid);
    color: white;
}

.qty-btn-plus:hover { opacity: 0.9; }

.qty-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    min-width: 36px;
    text-align: center;
}

.btn-whatsapp-reserve {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #D97706, #B45309);
    color: white;
    border: none;
    padding: 1.1rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: filter 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-whatsapp-reserve:hover {
    filter: brightness(1.1);
    color: white;
}

.btn-weekday-reserve {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 1.1rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-weekday-reserve:hover {
    filter: brightness(1.1);
}

.cotizador-pine-branches {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

/* Map */
#map {
    border-radius: 0.75rem;
    border: 3px solid var(--forest-mid);
    height: 500px;
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    border: 2px solid var(--forest-mid);
    background: white;
    color: var(--forest-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover { background: #f0faf2; }

.filter-btn.active {
    background: linear-gradient(135deg, var(--forest-dark), var(--forest-mid));
    color: white;
    border-color: var(--forest-dark);
    transform: scale(1.05);
}

/* Place Card */
.place-card {
    background: white;
    border: 2px solid var(--forest-pale);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
}

.place-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* New Place Cards (Mapa) */
.place-card-new {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: white;
    transition: all 0.2s ease;
}

.place-card-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.place-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.place-card-body {
    padding: 0.75rem 1rem;
}

.nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: filter 0.2s;
    text-decoration: none;
}

.nav-btn:hover { filter: brightness(0.93); }

.nav-btn-maps { background: #e8f4fd; }
.nav-btn-waze  { background: #eef8ff; }

/* Footer */
.footer-finca {
    background: #0f2419;
    padding: 3.5rem 0;
    text-align: center;
    color: white;
}

.section-label {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-divider {
    width: 5rem;
    height: 4px;
    border-radius: 2px;
    background: var(--forest-mid);
    margin: 1rem auto;
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .hero-lead { font-size: 1.05rem; }
    .btn-forest, .btn-whatsapp { padding: 0.8rem 1.4rem; font-size: 1rem; }
    #map { height: 320px; }
    .gallery-img img { height: 160px !important; }
    .feature-card-body { padding: 1.5rem; }
    
    .gallery-tab {
        padding: 0.75rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .gallery-tab-icon {
        font-size: 1.5rem;
    }
    
    .gallery-tab-content {
        text-align: center;
    }
    
    .gallery-tab-title {
        font-size: 0.9rem;
    }
    
    .gallery-tab-subtitle {
        font-size: 0.65rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-content img {
        max-height: 70vh;
    }
    
    .lightbox-caption {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
    
    .gallery-zoom-icon {
        font-size: 2rem;
    }
}

/* ?? Utilidades sem�nticas ????????????????????????????????????????????????? */

/* Fondos */
.bg-cream { background: var(--cream); }

/* Colores de texto */
.text-forest-dark  { color: var(--forest-dark); }
.text-forest-mid   { color: var(--forest-mid); }
.text-forest-light { color: var(--forest-light); }
.text-forest-pale  { color: #74c69d; }
.text-wood-mid     { color: #5d4037; }

/* Feature cards */
.feature-icon                  { font-size: 3.5rem; margin-bottom: 1rem; }
.feature-card-accent--forest   { background: var(--forest-mid); }
.feature-card-accent--fire     { background: #c05c1a; }
.feature-card-accent--olive    { background: #5c6e2d; }

/* Alturas de im�genes de galer�a */
.gallery-img-sm { height: 220px; object-fit: cover; width: 100%; display: block; }
.gallery-img-md { height: 240px; object-fit: cover; width: 100%; display: block; }

/* Testimonios */
.rating-stars       { color: #f59e0b; font-size: 1.4rem; margin-bottom: 1.25rem; }
.testimonial-text   { font-family: 'Playfair Display', serif; }
.testimonial-author { font-size: 1.1rem; }
.testimonial-meta   { font-size: 0.9rem; }
.testimonial-source { color: #74c69d; font-size: 0.78rem; opacity: 0.8; }
.testimonial-dot.active { background: var(--forest-mid) !important; }

@media (max-width: 576px) {
    .gallery-img-sm,
    .gallery-img-md { height: 160px; }
}
