/* =====================================================================
   Skala Maya Motel — Shared Styles
   Used by all 5 pages: reset, design tokens, base, WhatsApp FAB,
   mobile CTA bar, footer, social links.
   ===================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --text-primary: #f5efe5;
    --text-secondary: #c4b8a8;
    --text-muted: #8a7e74;
    --accent: #c8547d;
    --accent-glow: #e065a0;
    --accent-gold: #d4a853;
    --accent-gold-dim: #b8923f;
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a0a15 50%, #0a0a0f 100%);
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== FOOTER ===== */
footer { padding: 3rem 2rem 1.5rem; border-top: 1px solid var(--glass-border); text-align: center; }
footer .footer-logo { margin-bottom: 1rem; }
footer .footer-logo img { height: 50px; width: auto; }
footer p { font-size: 0.8rem; color: var(--text-muted); }
footer .footer-links { display: flex; justify-content: center; gap: 2rem; margin: 1rem 0; flex-wrap: wrap; }
footer .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; transition: var(--transition); }
footer .footer-links a:hover { color: var(--accent-gold); }

/* ===== SOCIAL LINKS ===== */
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--glass); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); text-decoration: none; font-size: 1.2rem;
    transition: var(--transition);
}
.social-links a:hover { border-color: var(--accent-gold); color: var(--accent-gold); transform: translateY(-3px); }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition); animation: pulse-wa 2s infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== MOBILE STICKY CTA BAR ===== */
.mobile-cta-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    z-index: 9998; padding: 0.75rem 1rem;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    gap: 0.75rem;
}
.mobile-cta-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.85rem 1rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; text-decoration: none;
    letter-spacing: 0.5px; text-transform: uppercase;
    transition: var(--transition);
}
.mobile-cta-bar .cta-call { background: linear-gradient(135deg, var(--accent), var(--accent-glow)); color: #fff; }
.mobile-cta-bar .cta-wa { background: #25d366; color: #fff; }
.mobile-cta-bar a svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
    body { padding-bottom: 75px; }
    .mobile-cta-bar { display: flex; }
    .whatsapp-fab { display: none; }
}

/* =====================================================================
   SUITE DETAIL PAGES
   Shared by suite-junior / suite-luxury / suite-jacuzzi / suite-piscina.
   Pages with a color/style variant gallery (luxury, jacuzzi) override
   .gallery-main / .gallery-thumb locally after this stylesheet loads.
   ===================================================================== */

/* ===== NAVBAR (static, no scroll/hamburger state — that's index.html only) ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 10000;
    padding: 1rem 2rem; background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--glass-border); transition: var(--transition);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 45px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.85rem;
    font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff; padding: 0.6rem 1.5rem; border-radius: 50px;
    text-decoration: none; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(200,84,125,0.4); }

@media (max-width: 768px) { .nav-links { display: none; } }

/* ===== BREADCRUMB ===== */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem 1rem; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb a { color: var(--accent-gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== SUITE HERO / DETAIL ===== */
.suite-hero { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem 3rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.gallery { position: relative; }

.suite-detail { padding-top: 0.5rem; }
.suite-detail .badge {
    display: inline-block; padding: 0.4rem 1rem; background: rgba(212,168,83,0.12);
    border: 1px solid rgba(212,168,83,0.25); border-radius: 50px;
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent-gold); margin-bottom: 1rem;
}
.suite-detail h1 {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
    line-height: 1.15; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.suite-detail .desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; }
.suite-detail .variant-note {
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem;
    padding: 0.8rem 1.2rem; background: var(--glass); border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border); line-height: 1.6;
}
.suite-detail .variant-note strong { color: var(--accent-gold); }
.suite-detail .price-from { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; }
.suite-detail .price-from span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.suite-detail .price-same { font-size: 0.85rem; color: var(--accent-gold); margin-bottom: 0.5rem; }
.suite-detail .cta-row { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ===== BUTTONS (suite detail scale) ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: #fff; padding: 0.9rem 2rem; border-radius: 50px;
    text-decoration: none; font-size: 0.85rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 0.5rem; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(200,84,125,0.4); }
.btn-secondary {
    background: transparent; color: var(--text-primary); padding: 0.9rem 2rem;
    border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase; transition: var(--transition);
    border: 1px solid var(--glass-border); display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

/* ===== GALLERY — default/simple (junior, piscina). luxury/jacuzzi override locally. ===== */
.gallery-main {
    width: 100%; height: 420px; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--glass-border); margin-bottom: 1rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-thumbs { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 5px; }
.gallery-thumb {
    width: 100px; height: 70px; border-radius: var(--radius-sm); overflow: hidden;
    border: 2px solid transparent; cursor: pointer; transition: var(--transition); opacity: 0.6; flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--accent-gold); opacity: 1; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
    .suite-hero { grid-template-columns: 1fr; gap: 2rem; padding: 1rem 1.5rem 2rem; }
    .gallery-main { height: 280px; }
    .suite-detail h1 { font-size: 2rem; }
}

/* ===== AMENITIES ===== */
.amenities-section { max-width: 1200px; margin: 0 auto; padding: 0 2rem 4rem; }
.amenities-section h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.amenities-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.amenity-item {
    display: flex; align-items: center; gap: 1rem; padding: 1.2rem;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.amenity-item:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.amenity-item .icon {
    min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(212,168,83,0.15), rgba(200,84,125,0.1));
    border-radius: 10px;
}
.amenity-item .icon svg { width: 20px; height: 20px; stroke: var(--accent-gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.amenity-item p { font-size: 0.95rem; color: var(--text-primary); font-weight: 500; }
.amenity-item small { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

@media (max-width: 768px) { .amenities-list { grid-template-columns: 1fr; } }

/* ===== RATES ===== */
.rates-section { background: var(--bg-secondary); padding: 4rem 2rem; }
.rates-inner { max-width: 800px; margin: 0 auto; }
.rates-inner h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; text-align: center; }
.rates-inner .subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.rate-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--glass-border); background: var(--glass); backdrop-filter: blur(10px); }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table thead { background: rgba(212,168,83,0.1); }
.rate-table th {
    padding: 1rem 1.5rem; font-size: 0.75rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--accent-gold); font-weight: 600;
    border-bottom: 1px solid var(--glass-border); text-align: center;
}
.rate-table th:first-child { text-align: left; }
.rate-table td { padding: 0.9rem 1.5rem; font-size: 1.05rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text-secondary); }
.rate-table td:first-child { color: var(--text-primary); font-weight: 500; text-align: left; }
.rate-table tbody tr:hover { background: rgba(200,84,125,0.06); }
.rate-table tbody tr:hover td { color: var(--text-primary); }
.rate-table .night-row { background: rgba(212,168,83,0.08); }
.rate-table .night-row td { color: var(--accent-gold); font-weight: 600; }
.rate-notes { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; justify-content: center; }
.rate-note {
    font-size: 0.82rem; color: var(--text-muted); padding: 0.5rem 1rem;
    background: var(--glass); border-radius: 50px; border: 1px solid var(--glass-border);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.rate-note svg { width: 16px; height: 16px; min-width: 16px; stroke: var(--accent-gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== MAP ===== */
.map-section { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }
.map-section h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.map-section .subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); height: 350px; }
.map-embed iframe { width: 100%; height: 100%; border: none; filter: invert(0.9) hue-rotate(180deg) brightness(0.8) contrast(1.2); }
.map-info .detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.map-info .detail .icon { min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(212,168,83,0.1); border-radius: 10px; }
.map-info .detail .icon svg { width: 18px; height: 18px; stroke: var(--accent-gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.map-info .detail p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.map-info .detail a { color: var(--accent-gold); text-decoration: none; }
.map-info .detail a:hover { text-decoration: underline; }

@media (max-width: 768px) { .map-grid { grid-template-columns: 1fr; } }
