/* ============================================================
   THE EDINBURGH CROWN CASINO & HOTEL — style.css
   Prefix: .tec-* (The Edinburgh Crown)
   Palette: Deep Navy #0b0f19 · Gold #d4af37 · Champagne #f0e0a0
   Fonts: Playfair Display + Montserrat (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tec-navy:       #0b0f19;
    --tec-navy-light: #131929;
    --tec-navy-mid:   #1c2540;
    --tec-gold:       #d4af37;
    --tec-gold-pale:  #f0e0a0;
    --tec-gold-dark:  #9e7e1a;
    --tec-white:      #f7f4ef;
    --tec-muted:      #9aa3bc;
    --tec-border:     rgba(212, 175, 55, 0.22);
    --tec-shadow:     0 8px 40px rgba(0, 0, 0, 0.55);
    --tec-radius:     4px;
    --tec-transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--tec-navy);
    color: var(--tec-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--tec-navy); }
::-webkit-scrollbar-thumb { background: var(--tec-gold-dark); border-radius: 3px; }

/* ============================================================
   HEADER / TOP NAV
   ============================================================ */
.tec-top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--tec-border);
}

.tec-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tec-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tec-brand-mark {
    width: 48px;
    height: 48px;
    border: 2px solid var(--tec-gold);
    border-radius: var(--tec-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--tec-gold);
    flex-shrink: 0;
}

.tec-brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--tec-white);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.tec-subtitle {
    font-size: 11px;
    font-weight: 300;
    color: var(--tec-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tec-age-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--tec-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--tec-gold);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* ============================================================
   HERO STAGE
   ============================================================ */
.tec-hero-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.07) 0%, transparent 60%),
                linear-gradient(160deg, var(--tec-navy) 0%, var(--tec-navy-mid) 100%);
}

.tec-hero-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(212, 175, 55, 0.03) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(212, 175, 55, 0.03) 80px
        );
    pointer-events: none;
}

.tec-hero-stage::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -120px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow:
        0 0 0 60px rgba(212, 175, 55, 0.04),
        0 0 0 120px rgba(212, 175, 55, 0.025),
        0 0 0 200px rgba(212, 175, 55, 0.012);
    pointer-events: none;
}

.tec-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 32px 80px;
    width: 100%;
}

.tec-super-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--tec-gold);
    border: 1px solid var(--tec-border);
    padding: 6px 18px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.tec-main-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--tec-white);
    max-width: 800px;
    margin-bottom: 24px;
}

.tec-main-heading em {
    font-style: italic;
    color: var(--tec-gold-pale);
}

.tec-hero-desc {
    font-size: 17px;
    font-weight: 300;
    color: var(--tec-muted);
    max-width: 640px;
    line-height: 1.9;
    margin-bottom: 64px;
}

/* Hero Info Grid */
.tec-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--tec-border);
    border: 1px solid var(--tec-border);
    border-radius: var(--tec-radius);
    overflow: hidden;
    max-width: 860px;
}

.tec-info-tile {
    background: rgba(19, 25, 41, 0.85);
    padding: 32px 28px;
    transition: background var(--tec-transition);
}

.tec-info-tile:hover {
    background: rgba(212, 175, 55, 0.06);
}

.tec-tile-icon {
    width: 36px;
    height: 2px;
    background: var(--tec-gold);
    margin-bottom: 16px;
}

.tec-tile-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--tec-white);
    margin-bottom: 10px;
}

.tec-tile-text {
    font-size: 13px;
    font-weight: 300;
    color: var(--tec-muted);
    line-height: 1.75;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.tec-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.tec-section-head {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 72px;
}

.tec-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--tec-white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.tec-section-intro {
    font-size: 16px;
    font-weight: 300;
    color: var(--tec-muted);
    line-height: 1.85;
}

/* Cards Layout */
.tec-cards-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tec-feature-panel {
    border: 1px solid var(--tec-border);
    border-radius: var(--tec-radius);
    padding: 40px 32px;
    background: var(--tec-navy-light);
    position: relative;
    transition: transform var(--tec-transition), border-color var(--tec-transition), box-shadow var(--tec-transition);
    overflow: hidden;
}

.tec-feature-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--tec-gold) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--tec-transition);
}

.tec-feature-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--tec-shadow);
}

.tec-feature-panel:hover::before {
    opacity: 1;
}

.tec-panel-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--tec-gold);
    margin-bottom: 14px;
}

.tec-panel-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--tec-white);
    margin-bottom: 14px;
    line-height: 1.3;
}

.tec-panel-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--tec-muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.tec-panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tec-panel-list li {
    font-size: 13px;
    font-weight: 400;
    color: var(--tec-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.tec-panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tec-gold);
    opacity: 0.7;
}

/* ============================================================
   WELLBEING SECTION
   ============================================================ */
.tec-wellbeing-zone {
    padding: 120px 0;
    background: var(--tec-navy-light);
    position: relative;
}

.tec-wellbeing-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tec-gold), transparent);
    opacity: 0.35;
}

.tec-wellbeing-zone::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tec-gold), transparent);
    opacity: 0.35;
}

/* ============================================================
   GAMING SECTION
   ============================================================ */
.tec-gaming-zone {
    padding: 120px 0;
    background: var(--tec-navy);
    position: relative;
    overflow: hidden;
}

.tec-gaming-zone::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.tec-panel-alt {
    background: rgba(28, 37, 64, 0.55);
    border-color: rgba(212, 175, 55, 0.15);
}

/* ============================================================
   FOOTER
   ============================================================ */
.tec-base-footer {
    background: #070a12;
    border-top: 1px solid var(--tec-border);
    padding: 80px 0 0;
}

.tec-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.tec-footer-slogan {
    text-align: center;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--tec-border);
}

.tec-footer-slogan h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 400;
    font-style: italic;
    color: var(--tec-gold-pale);
    letter-spacing: 0.5px;
}

.tec-footer-columns {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}

.tec-col-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tec-gold);
    margin-bottom: 18px;
}

.tec-col-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--tec-muted);
    line-height: 1.8;
}

.tec-contact-block {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tec-contact-block span {
    font-size: 14px;
    font-weight: 300;
    color: var(--tec-muted);
    line-height: 1.6;
}

.tec-contact-block strong {
    font-weight: 600;
    color: var(--tec-white);
}

.tec-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tec-footer-nav a {
    font-size: 14px;
    font-weight: 400;
    color: var(--tec-muted);
    text-decoration: none;
    transition: color var(--tec-transition);
    padding-left: 12px;
    position: relative;
}

.tec-footer-nav a::before {
    content: '—';
    position: absolute;
    left: 0;
    font-size: 10px;
    color: var(--tec-gold);
    opacity: 0.6;
    top: 1px;
}

.tec-footer-nav a:hover {
    color: var(--tec-gold-pale);
}

.tec-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
}

.tec-footer-bottom p {
    font-size: 12px;
    font-weight: 300;
    color: rgba(154, 163, 188, 0.6);
    letter-spacing: 0.3px;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 900px) {
    .tec-cards-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tec-info-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .tec-footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .tec-hero-stage::after {
        display: none;
    }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 600px) {
    .tec-nav-container {
        padding: 0 20px;
    }

    .tec-brand-title {
        font-size: 14px;
    }

    .tec-hero-container {
        padding: 120px 20px 60px;
    }

    .tec-hero-desc {
        font-size: 15px;
    }

    .tec-section-container {
        padding: 0 20px;
    }

    .tec-wellbeing-zone,
    .tec-gaming-zone {
        padding: 80px 0;
    }

    .tec-feature-panel {
        padding: 28px 22px;
    }

    .tec-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tec-footer-container {
        padding: 0 20px;
    }

    .tec-footer-slogan {
        margin-bottom: 40px;
        padding-bottom: 32px;
    }
}
