/* =========================================
   SpideRS CENTRE – Lanový park
   Modern responsive website styles
   ========================================= */

/* --------- CSS Custom Properties --------- */
:root {
    --color-primary: #E2261A;
    --color-primary-dark: #B01507;
    --color-primary-light: #FF4B33;
    --color-accent: #E2261A;
    --color-accent-light: #FF6A3C;
    --color-bg: #FAFAFA;
    --color-bg-alt: #F2F2F3;
    --color-bg-dark: #161616;
    --color-text: #1E1E1E;
    --color-text-light: #5A5F63;
    --color-text-white: #ffffff;
    --color-border: #E0E0E0;
    --color-card: #ffffff;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-shadow-lg: rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-max: 1200px;
    --section-padding: 100px;
}

/* --------- Reset & Base --------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-text);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------- Animations --------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Animate only when JS has loaded and added the class */
body.js-loaded [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-loaded [data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --------- Buttons --------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(226, 38, 26, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(226, 38, 26, 0.4);
    color: var(--color-text-white);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-text-white);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px var(--color-shadow);
    padding: 10px 0;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-primary);
}

.navbar.scrolled .nav-link--cta {
    background: var(--color-primary);
    color: var(--color-text-white) !important;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: all var(--transition);
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.navbar.scrolled .nav-logo {
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.navbar.scrolled .nav-logo img {
    height: 34px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.15);
}

.nav-link--cta {
    background: rgba(255, 255, 255, 0.2);
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-text-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-text);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(15, 15, 15, 0.96) 0%, rgba(35, 35, 35, 0.92) 50%, rgba(20, 20, 20, 0.96) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 810"><rect fill="%23141414" width="1440" height="810"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Spider web in the corner, echoing the logo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: min(50vw, 600px);
    aspect-ratio: 1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" fill="none" stroke="white" stroke-width="1.5"><path d="M600 0 L0 0 M600 0 L0 150 M600 0 L0 340 M600 0 L60 600 M600 0 L260 600 M600 0 L460 600 M600 0 L600 600"/><path d="M480 0 Q470 80 490 120 Q530 140 600 132 M360 0 Q350 130 390 220 Q480 260 600 250 M230 0 Q230 210 300 340 Q440 400 600 380 M110 0 Q120 300 220 470 Q400 550 600 520"/></svg>') no-repeat top right / contain;
    opacity: 0.09;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(226, 38, 26, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 106, 60, 0.08) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--color-text-white);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-decoration: none;
    animation: bounce 2s ease infinite;
    z-index: 2;
}

.hero-scroll:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: var(--section-padding) 0;
}

.section--about {
    background: var(--color-bg);
}

.section--circuits {
    background: var(--color-bg-alt);
}

.section--pricing {
    background: var(--color-bg);
}

.section--groups {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #0b0b0b 100%);
    color: var(--color-text-white);
}

.section--groups .section-title,
.section--groups .section-desc {
    color: var(--color-text-white);
}

.section--gallery {
    background: var(--color-bg-alt);
}

.section--hours {
    background: var(--color-bg);
}

.section--contact {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(226, 38, 26, 0.08);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section--groups .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--color-card);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px var(--color-shadow);
    transition: all var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--color-shadow-lg);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(226, 38, 26, 0.08) 0%, rgba(255, 75, 51, 0.08) 100%);
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    color: var(--color-primary);
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-card p {
    color: var(--color-text-light);
    font-size: 0.93rem;
}

/* =========================================
   CIRCUITS SECTION
   ========================================= */
.circuits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.circuit-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--color-shadow);
    transition: all var(--transition);
}

.circuit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--color-shadow-lg);
}

.circuit-card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--circuit-color), rgba(0, 0, 0, 0.25));
    background-blend-mode: normal;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.circuit-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.circuit-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    flex: 1;
}

.circuit-badge {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.circuit-badge--zip {
    background: rgba(255, 255, 255, 0.3);
}

.circuit-badge--kids {
    background: rgba(255, 255, 255, 0.3);
}

.circuit-card-body {
    padding: 20px 24px 24px;
}

.circuit-info {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.circuit-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.circuit-info-item i {
    color: var(--circuit-color);
    font-size: 0.9rem;
}

.circuit-card-body p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.circuit-difficulty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.circuit-difficulty span {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.circuit-difficulty-bar {
    flex: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.circuit-difficulty-fill {
    height: 100%;
    background: var(--circuit-color);
    border-radius: 3px;
    transition: width 1s ease;
}

.circuits-cta {
    text-align: center;
    margin-top: 40px;
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 20px var(--color-shadow);
    background: var(--color-card);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.pricing-table thead {
    background: linear-gradient(135deg, #1E1E1E 0%, #3A3A3A 100%);
}

.pricing-table th {
    padding: 18px 16px;
    color: white;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
    padding-left: 24px;
}

.price-col-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-col-header i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.price-col-header--best small {
    display: block;
    padding: 2px 8px;
    background: var(--color-accent);
    border-radius: var(--radius-xl);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.93rem;
}

.pricing-table tbody tr:hover {
    background: rgba(226, 38, 26, 0.03);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.circuit-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.circuit-label::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c);
    flex-shrink: 0;
}

.price-best {
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(226, 38, 26, 0.05);
}

.pricing-row--kids {
    background: rgba(156, 39, 176, 0.03);
}

.pricing-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: var(--color-card);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary-light);
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.pricing-note i {
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-note--cash {
    grid-column: 1 / -1;
    justify-content: center;
    align-items: center;
    background: rgba(226, 38, 26, 0.05);
    border: 1px solid rgba(226, 38, 26, 0.2);
    border-left: 3px solid var(--color-primary);
    color: var(--color-text);
    font-weight: 600;
}

/* =========================================
   GROUPS SECTION
   ========================================= */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.group-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.group-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.group-card--featured {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    box-shadow: 0 0 40px rgba(226, 38, 26, 0.2);
}

.group-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-xl);
    white-space: nowrap;
}

.group-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: var(--color-accent-light);
    margin-bottom: 20px;
}

.group-card h3 {
    color: var(--color-text-white);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.group-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    margin-bottom: 20px;
}

.group-features {
    list-style: none;
}

.group-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
}

.group-features li i {
    color: var(--color-primary-light);
    font-size: 0.8rem;
}

.groups-cta {
    text-align: center;
    padding: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.groups-cta p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item--large {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #262626 0%, #0F0F0F 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
}

.gallery-placeholder i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, #3A3A3A 0%, #262626 100%);
}

.gallery-placeholder:hover i {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Alternate gallery item colors */
.gallery-item:nth-child(2) .gallery-placeholder {
    background: linear-gradient(135deg, #3A3A3A 0%, #1E1E1E 100%);
}
.gallery-item:nth-child(2) .gallery-placeholder:hover {
    background: linear-gradient(135deg, #4A4A4A 0%, #3A3A3A 100%);
}

.gallery-item:nth-child(3) .gallery-placeholder {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-dark) 100%);
}
.gallery-item:nth-child(3) .gallery-placeholder:hover {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

.gallery-item:nth-child(4) .gallery-placeholder {
    background: linear-gradient(135deg, #757B80 0%, #4A5054 100%);
}
.gallery-item:nth-child(4) .gallery-placeholder:hover {
    background: linear-gradient(135deg, #8A9095 0%, #757B80 100%);
}

.gallery-item:nth-child(5) .gallery-placeholder {
    background: linear-gradient(135deg, #B01507 0%, #6E0C02 100%);
}
.gallery-item:nth-child(5) .gallery-placeholder:hover {
    background: linear-gradient(135deg, #D31A0A 0%, #B01507 100%);
}

.gallery-item:nth-child(6) .gallery-placeholder {
    background: linear-gradient(135deg, #4A4A4A 0%, #262626 100%);
}
.gallery-item:nth-child(6) .gallery-placeholder:hover {
    background: linear-gradient(135deg, #5E5E5E 0%, #4A4A4A 100%);
}

/* =========================================
   HOURS SECTION
   ========================================= */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.hours-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--color-shadow);
    transition: all var(--transition);
    position: relative;
}

.hours-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--color-shadow-lg);
}

.hours-card--highlight {
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 20px rgba(226, 38, 26, 0.15);
}

.hours-card-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 0 8px 8px;
}

.hours-card-month {
    padding: 24px 20px 16px;
    text-align: center;
}

.hours-card-month i {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.hours-card-month h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.hours-card-body {
    padding: 0 20px 24px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.88rem;
}

.hours-badge {
    padding: 4px 12px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.82rem;
}

.hours-badge--open {
    background: rgba(226, 38, 26, 0.08);
    color: var(--color-primary);
}

.hours-badge--book {
    background: rgba(30, 30, 30, 0.07);
    color: var(--color-text);
    font-style: italic;
}

.hours-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--color-card);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    font-size: 0.95rem;
}

.hours-note i {
    font-size: 1.4rem;
    color: var(--color-accent);
}

.hours-note a {
    color: var(--color-primary);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--color-card);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px var(--color-shadow);
    transition: all var(--transition);
}

.contact-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px var(--color-shadow-lg);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--color-primary);
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-wrapper {
    background: var(--color-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px var(--color-shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.93rem;
    transition: all var(--transition);
    background: var(--color-bg);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(226, 38, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--color-shadow);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: linear-gradient(135deg, #1A1A1A 0%, #0B0B0B 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-block;
    padding: 10px 18px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.footer-contact li i {
    color: var(--color-primary-light);
    font-size: 0.85rem;
    width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
}

.footer-operator {
    margin-top: 6px;
    opacity: 0.5;
    font-size: 0.78rem;
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(226, 38, 26, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(226, 38, 26, 0.4);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .circuits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .groups-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }
    
    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(12px);
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .navbar.scrolled .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .navbar.scrolled .nav-menu .nav-link--cta {
        background: rgba(255, 255, 255, 0.2);
        color: white !important;
    }
    
    /* Grid adjustments */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .circuits-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-notes {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    
    .gallery-item--large {
        grid-column: span 2;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-about {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .hero-stat-number {
        font-size: 1.6rem;
    }
    
    .hero-stat-label {
        font-size: 0.72rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large {
        grid-column: span 1;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .pricing-table {
        font-size: 0.82rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
    }
}

/* --------- Print styles --------- */
@media print {
    .navbar,
    .hero-scroll,
    .back-to-top,
    .hero-particles {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section {
        padding: 30px 0;
    }
    
    body {
        color: #000;
    }
}
