/* ============================================
   CSS Variables - Red, Gold & Black Theme
   ============================================ */
:root {
    --primary-color: #dc143c;        /* Roșu */
    --secondary-color: #000000;      /* Negru */
    --accent-color: #ffd700;         /* Auriu */
    --dark-bg: #000000;              /* Negru */
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 4rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 215, 0, 0.6);
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.25);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.95), rgba(0, 0, 0, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23000" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   Info Section
   ============================================ */
.info-section {
    padding: 4rem 0;
}

.info-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-list {
    list-style: none;
    margin: 1.5rem 0;
}

.info-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.info-note {
    background-color: #fff3cd;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
    margin-top: 1.5rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.gallery-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gallery-section {
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.gallery-placeholder span {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-note {
    background-color: #e7f3ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2196F3;
}

.gallery-note code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

/* ============================================
   Bookings Section
   ============================================ */
.bookings-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.bookings-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.bookings-section {
    padding: 3rem 0;
}

.bookings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.bookings-left,
.bookings-right {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.calendar-container h2,
.booking-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.date-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.time-slots-container {
    margin-top: 2rem;
}

.time-slots-container h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.time-slot {
    padding: 1rem;
    background-color: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.time-slot:hover:not(.disabled):not(.selected) {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.4);
}

.time-slot.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   Booking Form
   ============================================ */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.terms-consent {
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: center;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 1.2rem;
}

.form-group.terms-consent label {
    margin-bottom: 0;
}

.terms-text {
    text-align: left;
    max-width: 100%;
}

.terms-text ul {
    list-style: disc;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.terms-checkbox {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
    width: 1.4rem;
    height: 1.4rem;
    accent-color: var(--primary-color);
}

.terms-checkbox span {
    line-height: 1.4;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.selected-info {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}

.selected-info p {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--accent-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .nav-menu a {
        text-align: center;
        padding: 0.75rem 1.25rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .bookings-layout {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .time-slots-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Snow Animation
   ============================================ */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    user-select: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(var(--drift)) rotate(360deg);
        opacity: 0;
    }
}

/* Variații de viteză și drift pentru fulgi */
.snowflake:nth-child(1n) {
    animation-duration: 10s;
    --drift: 50px;
}

.snowflake:nth-child(2n) {
    animation-duration: 12s;
    --drift: -30px;
}

.snowflake:nth-child(3n) {
    animation-duration: 15s;
    --drift: 70px;
}

.snowflake:nth-child(4n) {
    animation-duration: 8s;
    --drift: -50px;
}

.snowflake:nth-child(5n) {
    animation-duration: 14s;
    --drift: 20px;
}

.snowflake:nth-child(6n) {
    animation-duration: 11s;
    --drift: -70px;
}

/* Diferite mărimi pentru fulgi */
.snowflake.small {
    font-size: 0.8em;
    opacity: 0.7;
}

.snowflake.medium {
    font-size: 1em;
    opacity: 0.9;
}

.snowflake.large {
    font-size: 1.5em;
    opacity: 1;
}

/* ============================================
   Gallery Lightbox Modal
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.lightbox-close:hover {
    background: rgba(220, 20, 60, 0.8);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--white);
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10001;
    user-select: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(220, 20, 60, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive pentru lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
        padding: 15px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-image {
        max-height: 85vh;
    }
}

