/* 
   AquaCity Hotel CSS 
   Direction: Stay + Splash, clean hotel logic
*/

:root {
    /* Palette: White, Aqua, Slate */
    --c-paper: #ffffff;
    --c-ink: #1e293b;
    --c-ink-light: #475569;
    --c-ink-fade: #94a3b8;
    --c-aqua: #0ea5e9;
    --c-aqua-dark: #0284c7;
    --c-aqua-pale: #f0f9ff;
    --c-slate-bg: #f8fafc;
    --c-border: #e2e8f0;
    
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;

    --font-sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--c-ink);
    background-color: var(--c-paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Typography Basics */
h1, h2, h3 {
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Nav */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-brand span {
    color: var(--c-aqua);
    font-weight: 400;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-ink-light);
}

.nav-links a:hover {
    color: var(--c-aqua);
}

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

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--c-aqua);
    color: white;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--c-ink);
    border: 1px solid var(--c-border);
}

.btn-outline:hover {
    border-color: var(--c-ink);
}

/* Hero - Split Screen */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero {
        padding: var(--space-xl) var(--space-lg) var(--space-xxl);
    }
    .hero-split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.eyebrow {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-ink-fade);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--c-ink-light);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img {
    height: 100%;
    position: relative;
    z-index: 1;
}

.secondary-img {
    display: none;
}

@media (min-width: 1024px) {
    .main-img {
        width: 80%;
        height: 600px;
    }
    
    .secondary-img {
        display: block;
        position: absolute;
        bottom: -2rem;
        right: 0;
        width: 50%;
        height: 350px;
        z-index: 2;
        border: 8px solid var(--c-paper);
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    }
}

/* Experience Selector Tab Section */
.experience-selector {
    background-color: var(--c-slate-bg);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.selector-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .selector-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 4rem;
    }
}

.selector-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.toggle-group {
    display: inline-flex;
    background: var(--c-paper);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    overflow-x: auto;
    max-width: 100%;
}

.toggle-group button {
    background: transparent;
    border: none;
    padding: 0.5rem 1.25rem;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--c-ink-light);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.toggle-group button[aria-selected="true"] {
    background-color: var(--c-aqua-pale);
    color: var(--c-aqua-dark);
}

.toggle-group button:hover:not([aria-selected="true"]) {
    color: var(--c-ink);
    background-color: rgba(0,0,0,0.02);
}

.panel-container {
    position: relative;
    min-height: 400px;
}

.experience-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.experience-panel.active {
    opacity: 1;
    transform: translateY(0);
}

.experience-panel:not(.active) {
    display: none;
}

@media (min-width: 768px) {
    .experience-panel {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
        align-items: center;
    }
}

.panel-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--c-aqua-dark);
}

.panel-content p {
    color: var(--c-ink-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--c-ink);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--c-aqua);
    font-weight: bold;
}

.panel-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reservation Strip */
.reservation-strip {
    padding: var(--space-xl) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.reservation-container {
    background-color: var(--c-ink);
    color: var(--c-paper);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .reservation-container {
        padding: 4rem 5rem;
    }
}

.strip-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.strip-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.strip-content p {
    color: var(--c-ink-fade);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-methods {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .contact-methods {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.method-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
}

.method-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.method-label {
    font-size: 0.85rem;
    color: var(--c-ink-fade);
    margin-bottom: 0.25rem;
}

.method-value {
    font-size: 1.125rem;
    font-weight: 500;
}

.strip-badge {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    color: rgba(255, 255, 255, 0.03);
    z-index: 1;
    transform: scale(8);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--c-border);
    padding: var(--space-xl) var(--space-lg) 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--c-ink-light);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr max-content;
        align-items: end;
    }
    
    .footer-pitch {
        text-align: right;
    }
}

.footer-info strong {
    display: block;
    color: var(--c-ink);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pitch-price {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--c-ink-fade);
}
/* === PASS 2 UI REVIEW FIXES === */
html, body { overscroll-behavior-y: none; background: var(--c-paper); }
.hero-split, section, .contact-card, .image-wrapper { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) both; }
.image-wrapper img { transition: transform .7s cubic-bezier(.16,1,.3,1), filter .4s ease; }
.image-wrapper:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.04); }
.btn-primary, .btn-outline, .tab-button { transition: transform .25s ease, background .25s ease, color .25s ease, opacity .25s ease; }
.btn-primary:hover, .btn-outline:hover, .tab-button:hover { transform: translateY(-2px); }
.map-embed { max-width: 1180px; margin: 60px auto; padding: 0 24px; }
.map-embed iframe { width: 100%; min-height: 360px; border: 0; border-radius: 24px; }
@keyframes fadeUp { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform:none; } }


/* Word-safe Slovak typography: never split words like Tatrami into Tatr/ami. */
:where(h1,h2,h3,h4,p,a,span,li,strong,button,label,input,textarea) {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

:where(h1,h2,h3,h4) {
    text-wrap: balance;
}

:where(p,li,.lead,.brand-desc) {
    text-wrap: pretty;
}

.nowrap { white-space: nowrap; }
