/* Fly As One - Custom Styles for WordPress */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body.flyasone-page {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Scrollbar Hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Navigation Styles */
.flyasone-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.flyasone-nav.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.flyasone-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flyasone-nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f59e0b;
}

.flyasone-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flyasone-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
  cursor: pointer;
}

.flyasone-nav-link:hover {
  color: #f59e0b;
}

/* Mobile Menu */
.flyasone-mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .flyasone-nav-links {
    display: none;
  }
  
  .flyasone-mobile-menu-btn {
    display: block;
  }
}

/* Button Styles */
.flyasone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
}

.flyasone-btn-primary {
  background-color: #f59e0b;
  color: #000;
  border-color: #f59e0b;
}

.flyasone-btn-primary:hover {
  background-color: #d97706;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.flyasone-btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.flyasone-btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

/* Card Styles */
.flyasone-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.flyasone-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

/* Modal/Dialog Overlay */
.flyasone-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.flyasone-modal-content {
  background-color: #09090b;
  border: 1px solid #27272a;
  border-radius: 0.5rem;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
}

.flyasone-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.flyasone-modal-close:hover {
  opacity: 1;
}

/* Instagram Story Ring */
.instagram-story-ring {
  padding: 3px;
  background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6);
  border-radius: 50%;
}

.instagram-story-inner {
  background-color: #000;
  border-radius: 50%;
  padding: 4px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(245, 158, 11, 0.9);
  color: #000;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: #f59e0b;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: -1.5rem;
}

.carousel-btn-next {
  right: -1.5rem;
}

/* Responsive Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

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

/* Utility Classes */
.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #18181b;
}

::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

/* Loading State */
.loading-spinner {
  border: 3px solid rgba(245, 158, 11, 0.3);
  border-top: 3px solid #f59e0b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Typography */
@media (max-width: 640px) {
  .flyasone-nav-logo {
    font-size: 1.25rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .flyasone-nav,
  .flyasone-btn,
  .carousel-btn {
    display: none !important;
  }
}
/* === THE SHED STYLE HERO — with buttons outside frame === */

.shed-hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column; /* чтобы кнопки сами легли ниже рамки */
  align-items: center;
  justify-content: center;
  text-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay */
.shed-hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 5;
}

/* блок с рамкой */
.shed-hero-inner {
  position: relative;
  z-index: 10;
  padding: 40px 70px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 20px;
  backdrop-filter: blur(2px);
  max-width: 1100px;
}

/* текст внутри рамки */
.shed-hero-inner h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 900;
  margin: 0 0 0.5rem;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.95;
}

.shed-hero-inner p {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin: 0;
}

/* кнопки под рамкой (СНАРУЖИ) */
.shed-hero-buttons {
  position: relative;
  z-index: 10;
  margin-top: 40px; /* отступ от рамки */
  display: flex;
  gap: 1rem;
}

/* адаптация */
@media (max-width: 768px) {
  .shed-hero-inner {
    padding: 25px 35px;
  }
  .shed-hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
/* =========================
   HERO FINAL TUNING (clean)
   ========================= */

/* Уменьшаем рамку */
.shed-hero-inner {
  padding: 20px 30px !important;   /* меньше внутренний отступ */
  max-width: 650px !important;     /* рамка уже */
  border-width: 1.3px !important;
  border-radius: 12px !important;
}

/* Уменьшаем размеры текста внутри */
.shed-hero-inner h1 {
  font-size: clamp(2.2rem, 6.5vw, 4.5rem) !important;
  line-height: 1 !important;
  margin-bottom: 0.3rem !important;
}

.shed-hero-inner p {
  font-size: clamp(0.9rem, 2vw, 1.2rem) !important;
  font-weight: 300 !important;
  opacity: 0.95;
}

/* Опускаем кнопки, но без отлипания и без хаоса */
.shed-hero-buttons {
  margin-top: 45px !important;   /* ← расстояние от рамки */
  display: flex !important;
  gap: 1rem !important;
  justify-content: center !important;
}

/* немного компактнее на мобиле */
@media (max-width: 768px) {
  .shed-hero-inner {
    max-width: 90% !important;
    padding: 18px 22px !important;
  }

  .shed-hero-buttons {
    margin-top: 30px !important;
    flex-direction: column !important;
    gap: 12px !important;
  }