/* =====================================================
   MK-DETAIL 2.0 — ELEGANT LUX-TECH STYLE
   ====================================================== */

/* === FONTS & ROOT COLORS === */
:root {
  --bg-dark: #0b0c10;
  --bg-mid: #1a1c23;
  --bg-light: #232631;
  --accent: #45aaf2;
  --accent-light: #66fcf1;
  --text: #e5e5e5;
  --muted: #9ca3af;
  --radius: 12px;
  --transition: 0.3s ease;
  --shadow: 0 0 25px rgba(69,170,242,0.15);
  --gradient: linear-gradient(135deg, #0b0c10 0%, #1f2833 100%);
  font-family: "Poppins", sans-serif;
}

/* === GLOBAL === */
body {
  margin: 0;
  background: var(--gradient);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin: 0;
}

p {
  color: var(--muted);
}

section {
    padding: 60px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* === HEADER & NAV === */
header {
    background: rgba(11, 12, 16, 0.95);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--bg-light);
}

.logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-light);
}

/* Header socials */
.header-socials a {
  color: var(--accent);
}

.header-socials .social-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
  opacity: 0.8;
  transition: var(--transition);
}

.header-socials .social-icon:hover {
  opacity: 1;
  color: var(--accent-light);
  filter: drop-shadow(0 0 6px rgba(69,170,242,0.7));
}


.menu-toggle {
    display: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    flex-direction: column;
}

.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-light);
    border-radius: 2px;
    transition: var(--transition);
}

#main-nav {
    display: flex;
    gap: 25px;
}

#main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 5px 0;
    transition: color var(--transition);
}

#main-nav a:hover, #main-nav a.active-nav {
    color: var(--accent-light);
}

/* === HERO === */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.cta-btn.primary {
    background: var(--accent-light);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(69, 170, 242, 0.4);
}

.cta-btn.primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--accent-light);
    border: 2px solid var(--accent-light);
}

.cta-btn.secondary:hover {
    background: var(--accent-light);
    color: var(--bg-dark);
}

/* === SERVICES === */
#services {
    text-align: center;
}
#services h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
}
.services {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.service {
    flex: 1;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.service:hover {
    transform: translateY(-5px);
}
.service svg {
    width: 50px;
    height: 50px;
    color: var(--accent);
    margin-bottom: 15px;
}
.service h3 {
    color: var(--accent-light);
    margin-bottom: 10px;
}

/* === PRICING === */
#pricing {
    text-align: center;
    background-color: var(--bg-dark);
}
#pricing h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
}
.pricing {
    display: flex;
    gap: 25px;
    justify-content: center;
}
.card {
    background: var(--bg-light);
    flex: 1;
    max-width: 300px;
    padding: 30px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: all var(--transition);
}
.card.highlight {
    border-color: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(69, 170, 242, 0.3);
}
.card h3 {
    font-size: 1.5em;
    color: var(--text);
    margin-bottom: 10px;
}
.card .price {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}
.card .features {
    min-height: 50px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 0.95em;
}
.card button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}
.card button:hover {
    background: var(--accent-light);
}

/* === GALLERY === */
#gallery {
    text-align: center;
}
#gallery h2 {
    margin-bottom: 30px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity var(--transition);
}
.gallery-img:hover {
    opacity: 1;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox-img {
    margin: auto;
    display: block;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    transition: opacity 0.15s ease-in-out;
}

.close-btn, .prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 10px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10; 
}

.close-btn {
    right: 35px;
}
.prev-btn, .next-btn {
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
}
.prev-btn { left: 0; }
.next-btn { right: 0; }


/* === BOOKING FORM & EVENT FORM STYLES === */
/* Kľúčový selektor, ktorý štýluje textarey v oboch formách */
#bookingForm textarea,
#event-booking-form textarea {
    resize: vertical;
    min-height: 100px; /* Aby bolo pole viditeľné */
}

/* Spoločné štýly pre inputy, select a textarea v OBOCH formách */
.booking form input[type="text"],
.booking form input[type="tel"],
.booking form input[type="email"],
.booking form select,
.booking form textarea,
#event-booking-form input[type="text"],
#event-booking-form input[type="tel"],
#event-booking-form input[type="email"],
#event-booking-form textarea.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--bg-mid);
    border-radius: var(--radius);
    background-color: var(--bg-dark);
    color: var(--text);
    box-sizing: border-box;
    transition: border-color var(--transition);
}

/* Focus štýly pre všetky polia */
.booking form input:focus,
.booking form select:focus,
.booking form textarea:focus,
#event-booking-form input:focus,
#event-booking-form textarea:focus {
    border-color: var(--accent);
    outline: none;
}

/* Štýly pre hlavnú sekciu booking */
#booking {
    background-color: var(--bg-dark);
    text-align: center;
}
#booking h2 {
    margin-bottom: 30px;
}
.booking {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
/* Spoločné štýly pre label v oboch formách */
.booking form label,
#event-detail-area label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: left;
    font-weight: 500;
    color: var(--accent-light);
}

.booking form button[type="submit"] {
    margin-top: 25px;
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
}
.booking form button[type="submit"]:hover {
    background: var(--accent-light);
}


/* === FOOTER === */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--bg-light);
    padding: 30px 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-info a {
    color: var(--accent-light);
    text-decoration: none;
}
.footer-info a:hover {
    text-decoration: underline;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-socials .social-icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
  color: var(--accent);
  transition: var(--transition);
}

.footer-socials .social-icon:hover {
  color: var(--accent-light);
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(69,170,242,0.6));
}

/* === MEDIA QUERIES (Responsivity) === */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .services {
        flex-direction: column;
    }
    .pricing {
        flex-direction: column;
        align-items: center;
    }
    .card {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    #main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-top: 1px solid var(--bg-light);
        padding: 15px 5%;
    }
    #main-nav.active {
        display: flex;
    }
    #main-nav a {
        padding: 10px 0;
        border-bottom: 1px solid var(--bg-mid);
    }
    .header-socials {
        display: none; 
    }
    .hero {
        padding: 80px 5%;
        height: auto;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .cta-btn {
        width: 90%;
        margin: 10px 0;
    }
    section {
        padding: 40px 5%;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-socials {
        margin-top: 15px;
    }
}
