/* --------------- CSS RESET & BASE --------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 600;
}

/* --------------- TYPOGRAPHY --------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
  margin-bottom: 20px;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; line-height: 1.3; }
h4 { font-size: 1rem; margin-bottom: 12px; font-weight: 600; }
p, li { font-size: 1rem; color: #222; margin-bottom: 12px; }
p:last-child, li:last-child { margin-bottom: 0; }

/* --------------- CONTAINER, SPACING, LAYOUTS --------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .section { padding: 28px 6px; }
}

/* --- Flex Spacing Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #f8f8f8;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.09);
  padding: 24px 20px 20px 20px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover, .event-card:hover, .ticket-item:hover {
  box-shadow: 0 8px 32px rgba(20,20,20,0.21);
  transform: translateY(-3px) scale(1.011);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f5f5f5;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(50, 50, 50, 0.06);
  border: 1px solid #e0e0e0;
  min-width: 230px;
}
.testimonial-card p {
  color: #181818;
  font-size: 1.08rem;
}
.testimonial-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: #222;
  font-size: .9rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  align-items: flex-start;
}
.feature-icon {
  width: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-description {
  flex: 1 1 170px;
  min-width: 170px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* --- Lists/Ticket --- */
.ticket-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.ticket-item {
  background: #f4f4f4;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  flex: 1 1 340px;
  padding: 22px 20px 17px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.22s;
}
.event-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.event-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  flex: 1 1 270px;
  min-width: 270px;
  padding: 20px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1px solid #ececec;
}
.event-card h3 { margin-bottom: 9px; }

/* --------------- HERO/CTA --------------- */
.hero-section {
  background: #111111;
  color: #fff;
  padding: 70px 0 64px 0;
  margin-bottom: 60px;
}
.hero-section .container { max-width: 980px; }
.hero-section h1 {
  color: #fff;
  font-size: 2.75rem;
  line-height: 1.08;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.24);
}
.hero-section p {
  color: #f2f2f2;
  opacity: 0.93;
  margin-bottom: 30px;
  font-size: 1.18rem;
}
.cta-section {
  background: #222;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 48px rgba(10,10,18,0.11);
  margin-bottom: 64px;
  padding: 46px 12px;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
}
.cta-section p {
  color: #ebebeb;
  font-size: 1.11rem;
  margin-bottom: 23px;
}

/* --------------- BUTTONS --------------- */
.cta, .button, .mobile-menu-toggle, .cookie-banner button, .cookie-modal button {
  display: inline-flex;
  align-items: center;
  border: none;
  outline: none;
  padding: 13px 28px;
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 24px;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 2px 18px rgba(20,20,20,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  position: relative;
  z-index: 2;
}
.cta:focus, .cta:hover,
.button:focus, .button:hover,
.cookie-banner button:focus, .cookie-banner button:hover,
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #181818;
  color: #ffd480;
  box-shadow: 0 4px 32px rgba(30,30,30,0.13);
}
.cta {
  background: #111;
  color: #fff;
  border: 2px solid #111;
}
.cta:hover, .cta:focus {
  color: #ffb347;
  background: #222;
  border: 2px solid #ffb347;
}
.button-accent, .cookie-banner .accept {
  background: #ffb347;
  color: #111;
  border: 2px solid #ffb347;
}
.button-accent:hover, .button-accent:focus, .cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff9f2;
  color: #111;
  border: 2px solid #ffb347;
}
.button-ghost, .cookie-banner .reject {
  background: transparent;
  color: #111;
  border: 2px solid #181818;
}
.button-ghost:hover, .button-ghost:focus, .cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #222;
  color: #fff;
  border: 2px solid #111;
}
.button-secondary {
  background: #f0f0f0;
  color: #222;
  border: 2px solid #ececec;
}
.button-secondary:hover, .button-secondary:focus {
  background: #ebebeb;
  color: #111;
  border: 2px solid #ccc;
}

/* --------------- HEADER & NAVIGATION --------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: #181818;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a.cta {
  margin-left: 17px;
  background: #111;
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  border: 2px solid #111;
}
header nav a.cta:hover {
  background: #222;
  color: #ffb347;
  border: 2px solid #ffb347;
}
header nav a:hover:not(.cta) {
  background: #f1f1f1;
  color: #111;
}
header img[alt="Biletoria"] {
  height: 45px;
  margin-right: 20px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #181818;
  position: absolute;
  top: 16px;
  right: 25px;
  z-index: 1011;
  padding: 0 10px;
  height: 42px;
  width: 45px;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  transition: background .16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ececec;
  color: #111;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,17,17,0.92);
  color: #fff;
  z-index: 1100;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.66,.2,.27,1), opacity 0.29s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: transparent;
  color: #fff;
  border: none;
  margin: 18px 25px 12px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #ffb347;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 35px;
  width: 100vw;
  gap: 16px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 600;
  padding: 15px 10px 15px 5px;
  border-radius: 13px;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181818;
  color: #ffb347;
}

@media (max-width: 1080px) {
  header .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  header nav { gap: 10px; }
}
@media (max-width: 800px) {
  header .container { flex-direction: row; }
  header nav a { font-size: .99rem; padding: 6px 10px; }
}
@media (max-width: 768px) {
  header .container { flex-wrap: wrap; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --------------- SECTIONS --------------- */
.features-section,
.services-section,
.testimonials-section,
.about-section,
.facts-section,
.team-section,
.policy-section,
.contact-section,
.location-section,
.ticket-form-section,
.payment-section,
.delivery-info-section,
.steps-section,
.faq-section,
.events-search-section,
.events-listing-section,
.event-info-section,
.user-dashboard-section,
.support-section,
.confirmation-section {
  margin-bottom: 60px;
  padding: 40px 10px;
}

/* Section-specific adjustments */
.features-section {
  background: #f7f7f7;
  border-radius: 22px;
  box-shadow: 0 3px 18px rgba(10,10,10,0.07);
}
.testimonials-section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 56px;
}
.services-section ul {
  padding-left: 24px;
  margin-bottom: 14px;
}
.services-section li { margin-bottom: 7px; }
.facts-section ul, .about-section ul, .faq-list {
  padding-left: 24px;
  margin-bottom: 12px;
}
.faq-list li { margin-bottom: 18px; }

.feature-grid {
  flex-wrap: wrap;
  gap: 24px 32px;
}
.feature-icon img {
  width: 48px;
}

/* --- Events Search --- */
.search-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.search-area input[type="text"] {
  border: 1.5px solid #d2d2d2;
  border-radius: 8px;
  font-size: 1.08rem;
  padding: 11px 14px;
  background: #fff;
  color: #222;
  transition: border-color 0.2s;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 4px rgba(22,22,22,0.02);
}
.search-area input[type="text"]:focus {
  border-color: #181818;
  outline: none;
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.category-filters ul {
  display: flex;
  gap: 12px;
}
.category-filters li {
  background: #ececec;
  color: #222;
  border-radius: 20px;
  font-size: .98rem;
  padding: 6px 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: background 0.19s, color 0.19s;
}
.category-filters li:hover, .category-filters li:focus {
  background: #181818;
  color: #ffb347;
}

/* Steps Section (How it works) */
.step-by-step {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  padding-left: 0;
  margin-bottom: 9px;
}
.step-by-step li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 19px;
  background: #f6f6f6;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(20,20,20,0.06);
  min-width: 200px;
  max-width: 230px;
  gap: 15px;
  flex: 1 1 200px;
}
.step-by-step img {
  width: 44px;
}
.step-by-step span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #181818;
  text-align: center;
}
@media (max-width: 900px) {
  .step-by-step { flex-direction: column; gap: 18px; }
}

/* --------------- FORM ELEMENTS --------------- */
label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
  color: #181818;
  display: block;
  font-size: .98rem;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1.02rem;
  padding: 10px 13px;
  border-radius: 7px;
  border: 1.5px solid #d2d2d2;
  margin-bottom: 15px;
  width: 100%;
  background: #fafafc;
  color: #111;
  box-shadow: 0 1px 4px rgba(18,18,18,0.03);
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #181818;
  outline: none;
}

/* --------------- SUPPORT/CONTACT/INFO --------------- */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  color: #181818;
}
.contact-info img {
  width: 22px;
  opacity: .75;
}
.location-section address {
  font-style: normal;
  font-weight: 600;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.location-section img {
  width: 24px;
}

/* --------------- FOOTER --------------- */
footer {
  background: #181818;
  color: #ededed;
  padding: 36px 0 22px 0;
  font-size: .95rem;
  margin-top: 56px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1080px;
}
.footer-menus {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #ededed;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .14s;
}
.footer-nav a:hover {
  color: #ffb347;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  text-align: right;
}
.brand-info img { height: 37px; margin-bottom: 7px; }
.brand-info p { color: #d4d4d4; font-size: .95rem; line-height: 1.4; }

@media (max-width: 768px) {
  .footer-menus {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .brand-info { align-items: flex-start; text-align: left; }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  padding: 22px 12px 25px 12px;
  box-shadow: 0 -4px 18px rgba(20,20,20,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  z-index: 1200;
  justify-content: space-between;
  font-size: 1rem;
  border-top: 2px solid #111;
  animation: cookieSlideIn 0.7s cubic-bezier(.68,.01,.34,1.38);
}
@keyframes cookieSlideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  } to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner p {
  flex: 1 1 220px;
  color: #fff;
  margin: 0;
  font-size: 0.995rem;
}
.cookie-banner .buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  min-width: 112px;
  margin: 0;
  padding: 12px 19px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 19px;
  box-shadow: 0 2px 8px rgba(20,20,20,0.06);
}
.cookie-banner .settings {
  background: #ebebeb;
  color: #222;
  border: 1.5px solid #bdbdbd;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #ffeab0;
  color: #222;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    font-size: .97rem;
    padding: 18px 8px 20px 8px;
  }
  .cookie-banner .buttons {
    justify-content: flex-end;
  }
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,24,24,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #191919;
  border-radius: 20px;
  box-shadow: 0 7px 46px rgba(18,18,18,0.15);
  max-width: 430px;
  width: 97vw;
  padding: 36px 27px 28px 27px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeModal 0.41s cubic-bezier(.77,.08,.39,1.22);
}
@keyframes fadeModal {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 0;
  font-size: 1.23rem;
  color: #181818;
}
.cookie-modal p {
  color: #222;
  font-size: 1.02rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  padding: 8px 0;
}
.cookie-category label {
  margin-bottom: 0;
  color: #1a1a1a;
}
.cookie-category input[type="checkbox"]:disabled + span {
  color: #bbb;
  opacity: 0.83;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  margin-bottom: 0;
  font-size: 1rem;
  padding: 10px 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px; right: 20px;
  background: transparent;
  color: #111;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #ffb347;
}

/* --------------- RESPONSIVE --------------- */
@media (max-width: 1000px) {
  .container { max-width: 95vw; }
  .hero-section { padding: 38px 0 32px 0; }
}
@media (max-width: 800px) {
  .card-container, .event-cards, .ticket-list {
    gap: 18px;
  }
  .feature-grid { gap: 20px 13px; }
}
@media (max-width: 768px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .section, .features-section, .testimonials-section, .about-section, .policy-section, .facts-section, .team-section, .contact-section, .steps-section, .faq-section, .location-section {
    padding: 28px 3px;
    margin-bottom: 37px;
  }
  .content-wrapper { gap: 15px; }
  .text-image-section, .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    padding: 15px 11px;
  }
  .card, .event-card, .ticket-item {
    padding-left: 9px; padding-right: 9px;
    font-size: .98rem;
    min-width: 90vw;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.21rem; }
  .cta-section h2 { font-size: 1.12rem; }
  .hero-section h1 { font-size: 1.36rem; }
}
@media (max-width: 520px) {
  .hero-section, .cta-section, .features-section, .testimonials-section, .about-section {
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .card, .event-card, .ticket-item {
    border-radius: 11px;
  }
}

/* --------------- MISC: MODALS, ANIMS --------------- */
.fade-in {
  animation: fadein 0.25s ease-in;
}
.fade-out {
  animation: fadeout 0.23s ease-in;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeout {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ------------- END OF CSS ------------- */
