/* =============================================
   COSTABLANCASA — Shared CSS (Dark Luxury Theme)
   ============================================= */

:root {
    --gold: #D4AF37;
    --gold-dim: rgba(212,175,55,0.2);
    --dark-1: #0f0f0f;
    --dark-2: #141414;
    --dark-3: #1a1a1a;
    --text-muted: rgba(255,255,255,0.5);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-1);
    color: white;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ---- TOP BAR ---- */
.top-bar {
    height: 40px;
    background: #050505;
    border-bottom: 1px solid rgba(212,175,55,0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 48px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1100;
}
#google_translate_element {
    height: 30px;
    display: flex;
    align-items: center;
}

/* ---- NAVIGATION ---- */
.nav-wrap {
    position: fixed;
    top: 40px; left: 0; right: 0;
    height: 80px;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,175,55,0.12);
    z-index: 1000;
}
.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
}
.logo-box {
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
/* ---- LANGUAGE SELECTOR ---- */
.lang-selector-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}
#google_translate_element {
    height: 38px;
    overflow: hidden;
}
/* ---- GOOGLE TRANSLATE STYLING ---- */
.goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    font-size: 0 !important;
    display: flex;
    align-items: center;
}
.goog-te-gadget .goog-te-combo {
    background: #111 !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    outline: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
.goog-te-gadget span {
    display: none !important;
}
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-logo-link { display: none !important; }
.goog-te-gadget .goog-te-combo option {
    background: #111;
    color: white;
}
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.nav-menu a {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.nav-cta {
    border: 1px solid rgba(212,175,55,0.4);
    padding: 8px 20px;
    color: var(--gold);
    border-radius: 2px;
}
.nav-menu a.nav-cta:hover {
    background: var(--gold);
    color: #000;
}
.nav-menu a.nav-cta::after { display: none; }

/* Toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
    margin-top: 120px;
    height: 44vh;
    min-height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 100%);
}
.page-hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 60px;
}
.page-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 6px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1.1;
}
.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    line-height: 1.75;
}

/* ---- FOOTER ---- */
.site-footer {
    background: #000;
    border-top: 1px solid var(--gold-dim);
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
}
.footer-brand .footer-logo {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}
.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    line-height: 1.75;
}
.site-footer h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 24px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a,
.site-footer ul span {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.site-footer ul a:hover { color: var(--gold); }
.site-footer ul i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 0.8rem;
}
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- BUTTONS ---- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: #c9a227;
    transform: translateY(-2px);
    color: #000;
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: var(--dark-2);
    border: 1px solid var(--gold-dim);
    padding: 32px;
    z-index: 2000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cookie-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.cookie-content p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}
.cookie-preferences {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.cookie-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cookie-group label {
    font-size: 0.82rem;
    color: white;
}
.cookie-description {
    display: none;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.cookie-button {
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: white;
    transition: all 0.3s;
}
.cookie-button.primary {
    background: var(--gold);
    color: black;
    border-color: var(--gold);
}
.cookie-button.secondary {
    background: rgba(255,255,255,0.05);
    color: white;
}
.cookie-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.cookie-button.primary:hover {
    background: #c9a227;
    color: black;
}
.cookie-button.secondary:hover {
    background: rgba(255,255,255,0.1);
}
.cookie-policy-link {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-inner { padding: 0 24px; }
    .nav-menu {
        position: fixed;
        top: 80px; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,10,0.98);
        padding: 60px 40px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-top: 1px solid var(--gold-dim);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu ul { flex-direction: column; gap: 32px; }
    .nav-menu a { font-size: 1.1rem; }
    .nav-toggle { display: flex; }
    .page-hero-inner { padding: 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
