/* === TR3Fly Theme Reset === */

/* Base Layout */
html, body {
  margin: 0;
  padding: 0;
  background: #0d1a26;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

p {
  color: #ccc;
  margin-bottom: 1.2rem;
}

a {
  color: #5ae;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: #82bfff; }

/* === Navigation === */
nav.tr3fly-nav {
  position: sticky;
  top: 0;
  background: #0d1a26;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
}

nav.tr3fly-nav a {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
}
nav.tr3fly-nav a:hover { color: #5ae; }

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  background: #0d1a26 url('https://tr3fly.com/wp-content/uploads/2025/11/Tr3flyMaldvies.jpg')
              center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Villiers iframe */
.hero-iframe {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 40px;
  max-width: 800px;
}
.hero-iframe iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* === Buttons === */
.cta {
  display: inline-block;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.cta.primary {
  background: #5ae;
  color: #000;
}
.cta.secondary {
  border: 1px solid #5ae;
  color: #5ae;
  background: transparent;
}
.cta:hover {
  transform: translateY(-2px);
  background: #82bfff;
  color: #000;
}

/* Hero Buttons container */
.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* === Section Layout === */
section {
  padding: 80px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

/* === Footer === */
footer {
  background: #0d1a26;
  color: #bbb;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  nav.tr3fly-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
  }
  nav.tr3fly-nav a { font-size: 0.9rem; }

  .hero {
    padding: 60px 15px;
    min-height: auto;
  }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }

  .hero-buttons { flex-direction: column; }
  .cta { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
}
