/* style.css - KinkMesh Pre-landing Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
}

a { color: #d63535; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Age Gate */
#age-gate-enter {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-align: center;
}
#age-gate-enter.hidden { display: none; }

.age-gate-box {
  background: #111;
  padding: 40px;
  border: 2px solid #292828;
  border-radius: 12px;
  max-width: 480px;
}
.age-gate-box h1 { font-size: 2.3rem; margin-bottom: 20px; color: #e03737; }
.age-gate-box p { font-size: 1.4rem; margin-bottom: 30px; }
.age-gate-btn {
  background: #d63535;
  color: white;
  border: none;
  padding: 18px 44px;
  font-size: 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px;
}
.age-gate-btn.no { background: #424242; }

/* Updated Header / Hero Section */
header {
  background: linear-gradient(to bottom, #111, #000);
  text-align: center;
  padding: 60px 20px 20px; /* Reduced bottom padding to connect with video */
}

header h1 { 
  font-size: 2.7rem; 
  margin-bottom: 16px; 
  color: #d63535; 
  text-transform: uppercase; /* Added for impact */
  letter-spacing: 1px;
}

header p { 
  font-size: 1.5rem; 
  max-width: 720px; 
  margin: 0 auto 22px; 
  color: #ccc; 
}

.big-cta {
  display: inline-block;
  background: #d63535;
  color: white;
  padding: 18px 50px;
  font-size: 1.7rem;
  font-weight: bold;
  border-radius: 10px;
  margin: 12px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(214, 53, 53, 0.4);
}

.big-cta:hover { 
  background: #f73e3e; 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 53, 53, 0.6);
}

/* Optimized Hero Video Container */
.hero-video-container {
  width: 100%;
  max-width: 1100px; /* Constrained for better desktop viewing */
  margin: 12px auto 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.9);
  background: #000;
  border: 1px solid #242323;
  position: relative;
}

/* Added a subtle dark vignette to focus on the video content */
.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.hero-video-container video {
  width: 100%;
  height: 500px; /* Fixed height for a cinematic feel */
  object-fit: cover; /* ESSENTIAL: No black bars on any screen */
  display: block;

  transform: scale(1.10); /* Povećava video za 10% unutar kontejnera */
  transform-origin: top center; /* Fiksira vrh, a širi ga ka dnu i stranama */
}

/* Teaser Gallery */
.gallery { padding: 50px 20px; background: #0a0a0a; }
.gallery h2 { text-align: center; font-size: 2.3rem; margin-bottom: 42px; color: #f86363; }

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centriranje kartica u redu */
  gap: 27px;               
  padding: 20px 0;
}

/* Fiksne dimenzije kartice */
.card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
  width: 320px;            /* Fiksna širina */
  height: 300px;           /* Fiksna visina */
  display: flex;
  flex-direction: column;  /* Omogućava unutrašnje poravnanje */
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px rgba(214, 53, 53, 0.3);
}

.card img, .card video {
  width: 100%;
  height: 180px;           /* Slika uvek zauzima isti prostor */
  object-fit: cover;
  flex-shrink: 0;          /* Sprečava skupljanje slike */
}

.card-info { 
  padding: 15px; 
  text-align: center; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Razmiče naslov i Watch Full na vrh i dno */
  height: 100%;            /* Popunjava preostalih 160px visine kartice */
}

/* Linkovi i tekstovi */
.card-link {
  text-decoration: none;
  display: block;
}

.card-info h3 {
  font-size: 1.3rem;
  margin: 0 0 8px 0;
  color: #ffffff !important;
}

.card-info span {
  color: #e73b3b;
  font-weight: bold;
  margin-top: auto;        /* Dodatno osiguranje da ide na dno */
}

/* Trust / CTA repeat */
.trust { text-align: center; padding: 50px 20px; background: #000; }
.trust p { font-size: 1.3rem; margin-bottom: 30px; color: #aaa; }

/* --- SEO & INFO SECTION (Home Page) --- */
.site-info { 
  padding: 60px 20px; 
  background: #0e0d0d; 
  border-top: 1px solid #191919; 
  color: #8b8989; 
  line-height: 1.8;
}
.site-info .container { max-width: 900px; margin: 0 auto; }
.site-info h2 { color: #797777; font-size: 1.7rem; margin-bottom: 22px; text-align: left; }
.site-info p { margin-bottom: 22px; font-size: 1.1rem; }

/* --- CONTENT PAGES STYLES (FAQ, Safety, Contact) --- */
.content-section { padding: 62px 0; }

.text-wrapper { 
  max-width: 800px; 
  margin: 0 auto; 
  line-height: 1.8; 
  color: #b8b6b6; 
  text-align: center; /* Centriranje dugmeta i info-boxa */
}

/* Vraćamo poravnanje teksta na levo radi lakšeg čitanja */
.text-wrapper h2, 
.text-wrapper p { 
  text-align: left; 
}

.text-wrapper h2 { 
  color: #f33c3c; 
  margin: 32px 0 16px; 
  font-size: 1.8rem; 
}

.text-wrapper p { 
  margin-bottom: 22px; 
  font-size: 1.1rem; 
}

.info-box { 
  background: #111; 
  padding: 30px; 
  border-left: 4px solid #f33c3c; 
  margin: 40px 0; 
  border-radius: 6px; 
}

.italic-text {
  font-style: italic;
  color: #b8b6b6;
  margin-bottom: 0;
}

/* --- PROMO BANNER --- */
.banner-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; padding: 22px 0; margin-top: 42px; }
.main-banner { width: 100%; max-width: 728px; height: auto; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); transition: transform 0.3s ease; border: 1px solid #292828; }
.main-banner:hover { transform: scale(1.02); box-shadow: 0 0 15px rgba(250, 66, 66, 0.2); }

/* --- FOOTER & NAV --- */
.footer-nav { margin-bottom: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; color: #555; }
.footer-nav a { color: #797777; text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: #fd4242; }
footer { text-align: center; padding: 32px 22px; background: #111; font-size: 0.95rem; color: #797777; border-top: 1px solid #222; }
.check-mark { color: #f33c3c; font-weight: bold; margin-right: 5px; }

/* ==========================================
   FINAL MOBILE OPTIMIZATION (All in one)
   ========================================== */
@media (max-width: 768px) {
  /* Header & Hero from first part */
  header h1 { font-size: 2.1rem; }
  header p { font-size: 1.1rem; }
  .big-cta { width: 100%; padding: 16px 20px; font-size: 1.4rem; }
  .hero-video-container { margin: 10px 10px 32px; width: calc(100% - 20px); }
  .hero-video-container video { height: 300px; }

  /* SEO & Text Pages */
  .site-info { padding: 42px 16px; }
  .site-info h2 { font-size: 1.4rem; text-align: center; }
  .site-info p { font-size: 0.95rem; text-align: justify; }
  .text-wrapper { padding: 0 15px; }
  .text-wrapper h2 { font-size: 1.4rem; text-align: center; }

  /* Footer Navigation */
  .footer-nav { flex-direction: column; gap: 15px; align-items: center; }
  .footer-nav span { display: none; }

  /* Banner */
  .banner-wrapper { padding: 12px; margin-top: 22px; }
  .main-banner { max-width: 100%; }
}
