﻿/* Global Variables */
:root {
    --primary-color: #D32F2F;
    /* Dark Red */
    --secondary-color: #FF6F00;
    /* Dark Orange */
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --light-text: #E0E0E0;
    --white: #FFFFFF;
    --card-bg: #2d2d2d;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    background-image: url('assets/img/bg_texture.png');
    background-repeat: repeat;
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 8px 20px;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
.header {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list li a {
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Burger */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: var(--darker-bg);
    padding: 20px;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul li {
    margin-bottom: 20px;
    text-align: center;
}

.mobile-nav ul li a {
    font-size: 1.2rem;
    display: block;
    padding: 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* offset header */
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-btns {
    animation: fadeInUp 1s ease-out 1s both;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
    transition: var(--transition);
}

.about-img:hover {
    transform: rotate(0);
}

/* Scenarios Section */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.scenario-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.scenario-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.scenario-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scenario-card:hover .scenario-img img {
    transform: scale(1.1);
}

.scenario-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--white);
}

.difficulty-normal {
    background-color: #4CAF50;
}

.difficulty-medium {
    background-color: #FF9800;
}

.difficulty-hard {
    background-color: #D32F2F;
}

.scenario-content {
    padding: 25px;
    text-align: center;
}

.scenario-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.scenario-desc {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #ccc;
    min-height: 80px;
}

.scenario-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #aaa;
}

.scenario-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.scenario-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
}

.small-btn {
    padding: 8px 25px;
    width: 100%;
}

/* Prices Section */
.prices-table-container {
    overflow-x: auto;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.prices-table th,
.prices-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #444;
}

.prices-table th {
    background-color: var(--darker-bg);
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 1.1rem;
}

.prices-table tr:last-child td {
    border-bottom: none;
}

.prices-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.price-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #aaa;
    font-style: italic;
    text-align: right;
}

/* Why Us */
.why-us {
    background-color: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border-bottom: 3px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.review-card::before {
    content: '\201C';
    font-family: serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.review-card cite {
    font-weight: bold;
    color: var(--primary-color);
}

/* Reservation */
.reservation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.reservation-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-list-large li {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list-large i {
    color: var(--primary-color);
}

.reservation-img-decoration {
    margin-top: 30px;
    border-radius: 8px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--darker-bg);
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.5);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.form-check input {
    width: auto;
}

.submit-btn {
    width: 100%;
    font-weight: bold;
    font-size: 1.2rem;
}

.form-notice {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacts-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacts-info i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.social-links {
    margin-top: 30px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3b5998;
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #4c70ba;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
    color: #888;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .about-grid,
    .reservation-wrapper,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .reservation-img-decoration {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 40px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .prices-table th,
    .prices-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
}

/* Animations Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

.btn-primary.pulse-anim {
    animation: pulse 2s infinite;
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 40px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .prices-table th,
    .prices-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }

    .contact-list-large li {
        font-size: 1.1rem;
    }
}

/* Participants Gallery Section */
.participants {
    background-color: var(--darker-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #aaa;
    margin-top: -30px;
    margin-bottom: 50px;
    font-style: italic;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.participant-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
}

.participant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.participant-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.participant-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.participant-card:hover .participant-img-wrapper img {
    transform: scale(1.1);
}

.participant-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.participant-card:hover .participant-overlay {
    opacity: 1;
}

.time-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.5);
    animation: fadeInUp 0.5s ease;
}

.time-badge.success {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5);
}

.time-badge.overtime {
    background: linear-gradient(135deg, #FF6F00, #FFA726);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.5);
}

.time-badge i {
    font-size: 1.5rem;
}

.participant-info {
    padding: 20px;
    text-align: center;
}

.participant-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.escape-time {
    color: #ccc;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.escape-time i {
    color: var(--primary-color);
}

.participants-cta {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-top: 30px;
}

.participants-cta p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: bold;
}

/* Responsive for Participants */
@media (max-width: 900px) {
    .participants-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .participant-img-wrapper {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .participants-grid {
        grid-template-columns: 1fr;
    }

    .participant-overlay {
        opacity: 1;
    }

    .participants-cta p {
        font-size: 1.2rem;
    }
}

/ *   L o g o   S t y l i n g   w i t h   A n i m a t i o n   * / 
/* Logo Styling with Animation */
.logo-img {
    max-height: 40px;
    /* Reduced from 60px */
    transition: transform 0.3s ease;
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
        /* Slight float up and grow */
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Pause animation on hover for better UX */
.logo:hover .logo-img {
    animation-play-state: paused;
    transform: scale(1.1);
    /* Zoom effect on hover */
}