/* ==========================================
   🌟 LUXURY BRAND DESIGN - GRG
   Inspired by Gucci, Guess, Dior
   ========================================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
   :root {
  /* Luxury Color Palette */
  --luxury-black: #000000;
  --luxury-white: #FFFFFF;
  --luxury-gold: #D4AF37;
  --luxury-gold-light: #F4E4B8;
  --luxury-gold-dark: #B8941F;
  --luxury-cream: #F8F5F0;
  --luxury-gray: #2C2C2C;
  --luxury-gray-light: #E8E8E8;
  --luxury-gray-medium: #999999;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-elegant: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Spacing */
  --section-spacing: clamp(80px, 12vw, 160px);
  --content-max-width: 1400px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elegant: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ===== RESET & BASE ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

  body {
  font-family: var(--font-body);
  background: var(--luxury-white);
  color: var(--luxury-black);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* ===== LUXURY HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--luxury-gray-light);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Section */
.logo-box {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.logo-box:hover {
  transform: translateY(-2px);
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--luxury-gold);
  transition: var(--transition-smooth);
}

.logo-box:hover .logo-image {
  border-color: var(--luxury-gold-dark);
  transform: rotate(5deg);
}

.logo-text h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--luxury-black) 0%, var(--luxury-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.logo-text h2 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--luxury-gray-medium);
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  position: relative;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--luxury-black);
  transition: var(--transition-smooth);
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--luxury-gold-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--luxury-black);
  transition: var(--transition-smooth);
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
main {
  padding-top: 100px;
}

.hero-logo {
  display: block;
  width: 200px;
  height: 200px;
  margin: var(--section-spacing) auto 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--luxury-gold);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

/* Test Mode Badge */
.test-mode {
  display: inline-block;
  margin: 40px auto 20px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--luxury-gold-dark);
  background: var(--luxury-gold-light);
  padding: 12px 30px;
  border-radius: 30px;
  border: 2px solid var(--luxury-gold);
  width: fit-content;
  display: block;
  margin-left: auto;
  margin-right: auto;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

/* ===== BANNER SECTION - ОПТИМИЗИРОВАНО ===== */
.competitions-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.section-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--luxury-black) 0%, var(--luxury-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
  border-radius: 2px;
}

.banners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transition: var(--transition-elegant);
  background: var(--luxury-white);
}

.banner a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.banner:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.banner a:hover::before {
  opacity: 1;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: var(--transition-elegant);
  min-height: 280px;
}

.banner a:hover img {
  transform: scale(1.05);
}

/* ===== VIDEO SECTION ===== */
.video-section {
  max-width: var(--content-max-width);
  margin: var(--section-spacing) auto;
  padding: 0 40px;
  text-align: center;
}

.video-section h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--luxury-black) 0%, var(--luxury-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
    display: inline-block;
}

.video-section h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
}

.youtube-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--luxury-gold);
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--luxury-black);
  color: var(--luxury-white);
  text-align: center;
  padding: 60px 40px;
  margin-top: var(--section-spacing);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--luxury-gold) 50%, 
    transparent 100%
  );
}

footer p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--luxury-gray-light);
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .site-header .container {
    padding: 20px 30px;
  }
  
  .nav-links {
    gap: 30px;
  }
  
  .competitions-section {
    padding: 0 30px;
    margin: 60px auto;
  }
  
  .section-title {
    font-size: 40px;
    margin-bottom: 50px;
  }
  
  .banners-container {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  
  .banner img {
    min-height: 240px;
  }
  
  .video-section {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .burger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--luxury-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }
  
  /* Mobile Header */
  .site-header .container {
    padding: 15px 20px;
  }
  
  .logo-image {
    width: 50px;
    height: 50px;
  }
  
  .logo-text h1 {
    font-size: 22px;
  }
  
  .logo-text h2 {
    font-size: 10px;
  }
  
  /* Mobile Content */
  main {
    padding-top: 80px;
  }
  
  .hero-logo {
    width: 150px;
    height: 150px;
    margin: 60px auto 30px;
  }
  
  .test-mode {
    font-size: 10px;
    padding: 10px 24px;
    margin: 30px auto 15px;
  }
  
  .competitions-section {
    padding: 0 20px;
    margin: 50px auto;
  }
  
  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 1px;
  }
  
  .section-title::after {
    width: 50px;
    bottom: -12px;
  }
  
  .banners-container {
    gap: 25px;
  }
  
  .banner {
    border-radius: 12px;
  }
  
  .banner img {
    min-height: 200px;
  }
  
  .video-section {
    padding: 0 20px;
    margin: 60px auto;
  }
  
  .video-section h2 {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 40px;
  }
  
  .youtube-container {
    border-radius: 15px;
    border-width: 2px;
  }
  
  footer {
    padding: 40px 20px;
  }
  
  footer p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding: 12px 15px;
  }
  
  .logo-image {
    width: 40px;
    height: 40px;
  }
  
  .logo-box {
    gap: 12px;
  }
  
  .logo-text h1 {
    font-size: 18px;
    letter-spacing: 2px;
  }
  
  .logo-text h2 {
    font-size: 8px;
  }
  
  .hero-logo {
    width: 120px;
    height: 120px;
  }
  
  .video-section h2 {
    font-size: 28px;
  }
}

/* ===== LUXURY HOVER EFFECTS ===== */
@media (hover: hover) {
  .banner a::after {
    content: 'VIEW DETAILS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--luxury-white);
    background: var(--luxury-gold);
    padding: 14px 32px;
    border-radius: 50px;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    border: 2px solid var(--luxury-white);
  }
  
  .banner a:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* ===== PRELOADER (Optional) ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--luxury-white);
        display: flex;
  justify-content: center;
        align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-out;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--luxury-gold-light);
  border-top-color: var(--luxury-gold);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== LUXURY SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--luxury-cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--luxury-gold-dark);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--luxury-gold);
  color: var(--luxury-white);
}

::-moz-selection {
  background: var(--luxury-gold);
  color: var(--luxury-white);
}
