/* style.css - Zábavný a moderný dizajn */
:root {
    --primary: #ff477e;
    --secondary: #f9c22e;
    --tertiary: #5390d9;
    --accent: #4ea8de;
    --dark: #2b2d42;
    --light: #f8f9fa;
    --white: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: linear-gradient(135deg, #ffcbf2 0%, #a9def9 50%, #e4c1f9 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background decorations */
.background-decorations {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}
.bubble-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary); }
.bubble-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: var(--secondary); animation-delay: -5s; }
.bubble-3 { top: 40%; left: 60%; width: 40vw; height: 40vw; background: var(--tertiary); animation-delay: -10s; }
.bubble-4 { bottom: 30%; left: -10%; width: 35vw; height: 35vw; background: var(--accent); animation-delay: -15s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
p { font-size: 1.1rem; margin-bottom: 1rem; }

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto !important; }
.pt-0 { padding-top: 0 !important; }
.page-content { flex: 1; padding-top: 80px; }
.center-content { display: flex; align-items: center; justify-content: center; }

/* Glassmorphism Classes */
.glass-header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition);
}
.glass-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #ff758c 100%);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(255, 71, 126, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 71, 126, 0.5);
    color: var(--white);
}
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* Header & Nav */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--primary); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav a:not(.btn-primary) {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}
.main-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0; height: 3px;
    background: var(--primary);
    bottom: -5px; left: 0;
    border-radius: 2px;
    transition: var(--transition);
}
.main-nav a:not(.btn-primary):hover::after { width: 100%; }
.main-nav a:not(.btn-primary):hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.mobile-menu-btn span {
    width: 30px; height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 2rem;
}
.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 8px solid rgba(255,255,255,0.5);
    transform: rotate(2deg);
    transition: var(--transition);
}
.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.section-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0; width: 100%; height: 12px;
    background: rgba(249, 194, 46, 0.4);
    z-index: -1;
    transform: rotate(-1deg);
}
.rounded-image {
    width: 100%;
    border-radius: 24px;
}
.shadow-large {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Attractions */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.attraction-card {
    display: flex;
    flex-direction: column;
}
.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.attraction-img {
    height: 220px;
    overflow: hidden;
}
.attraction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.attraction-card:hover .attraction-img img {
    transform: scale(1.1);
}
.attraction-info {
    padding: 1.5rem;
}
.attraction-info h3 {
    color: var(--primary);
    font-size: 1.6rem;
}

/* Rental */
.rental-box {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    border: 2px dashed rgba(255, 71, 126, 0.5);
}

/* Footer / Contact */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0;
    margin-top: 4rem;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}
.contact-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}
.contact-pill:hover {
    transform: translateY(-3px);
    background: var(--white);
    color: var(--primary);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.animate-float {
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero {
        padding-top: 120px;
        padding-bottom: 3rem;
    }
    .hero-actions {
        justify-content: center;
        display: flex;
    }
    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

/* --- NEW IMMERSIVE HOMEPAGE STYLES --- */
.home-page { padding-top: 0; }

.hero-immersive {
    min-height: 100vh;
    position: relative;
    background: url('images/8.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(43,45,66,0.6) 0%, rgba(255,71,126,0.5) 100%);
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.mega-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.mega-title span {
    color: var(--secondary);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.mega-title-small {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.hero-subtitle-large {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 600;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-actions-center {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
}
.btn-secondary.btn-mega {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}
.btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}
.bounce {
    animation: bounce 2s infinite;
    font-size: 1.8rem !important;
    display: block;
    margin-top: 5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}
.feature-card {
    padding: 2rem;
    background: rgba(255,255,255,0.5);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.8);
    transition: var(--transition);
}
.feature-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
}
.feature-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #ff758c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.preview-header p { margin-bottom: 0; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-heading);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.glass-section {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.cta-section {
    padding: 5rem 0;
}
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    color: white;
    padding: 5rem 3rem;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(255, 71, 126, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0.5;
    animation: rotate 20s linear infinite;
}
.cta-card h2, .cta-card p {
    position: relative;
    z-index: 2;
}
.cta-card p {
    color: rgba(255,255,255,0.9);
}
.cta-card .btn-primary {
    background: var(--white);
    color: var(--primary);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}
.cta-card .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(0,0,0,0.1);
}
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: var(--transition);
    padding: 2px;
}
.lang-btn.active, .lang-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- Sub-page Heroes --- */
.sub-hero {
    min-height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}
.sub-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(43,45,66,0.7) 0%, rgba(255,71,126,0.6) 100%);
    z-index: 1;
}
.sub-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
}
.sub-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-family: var(--font-heading);
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}
.sub-hero-title span { color: var(--secondary); }
.sub-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- Stats Counter --- */
.stats-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 0;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    margin: 3rem 0;
}
.stat-box {
    text-align: center;
}
.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

/* --- Split Layouts for Attractions --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}
.split-layout.reversed {
    flex-direction: row-reverse;
}
.split-image {
    flex: 1;
    position: relative;
}
.split-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}
.split-image:hover img {
    transform: scale(1.02);
}
.split-content {
    flex: 1;
}
.split-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.split-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin: 10px 0;
        padding: 10px 0;
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        justify-content: center;
    }
    .split-layout, .split-layout.reversed {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Responsive fixes for Immersive Hero */
    .hero-immersive {
        padding-top: 120px; 
        padding-bottom: 90px; 
        height: auto; 
        min-height: 100vh;
        min-height: 100svh;
        align-items: stretch;
    }
    .hero-content-center {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: auto;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        height: auto;
    }
    .mega-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        margin-bottom: 1rem;
    }
    .hero-subtitle-large {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    .hero-actions-center {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    .hero-actions-center .btn-mega {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    .scroll-indicator {
        bottom: 20px;
    }
}
