/* Core Variables */
:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --accent: #00ffea;    /* blue accent for most highlights */
  --highlight: #FFD600; /* yellow for hero title, header, “Book Ron” buttons */
  --dark: #111;
  --radius: 0.5rem;
  --transition: 0.3s ease;
  --container-w: 1200px;
}

/* Global Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: var(--container-w);
  margin: 0 auto;
}

/* Font Adjustment */
.hero-title,
.section-title,
.card h3 {
  font-weight: 400;
}
.nav a.btn,
.btn {
  font-weight: 700;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-size: 1.5rem;
  color: var(--highlight); /* yellow logo text */
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 1rem;
}
.nav a {
  color: var(--fg);
  text-decoration: none;
  padding: 0.5rem;
  transition: var(--transition);
}
.nav a.btn {
  background: var(--accent);    /* blue background */
  color: var(--dark);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav a.btn:hover {
  background: var(--highlight); /* yellow on hover */
  color: var(--dark);
}
.nav a:hover {
  color: var(--highlight);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('hero-bg.png') center/cover no-repeat;
  position: relative;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--highlight);
}
.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  color: var(--highlight);              /* yellow title */
  animation: glow-yellow 2s ease-in-out infinite alternate;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin: 1rem 0 2rem;
  color: var(--fg);
}
.btn {
  background: var(--highlight);         /* yellow buttons */
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.btn:hover {
  background: var(--accent);            /* blue on hover */
}

/* Sections */
.section {
  padding: 5rem 0;
}
.bg-dark {
  background: var(--dark);
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent);                 /* blue section titles */
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}

/* Cards */
.card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,255,234,0.2);
}
.card h3 {
  margin-bottom: 0.75rem;
  color: var(--accent);                 /* blue card headings */
}

/* Testimonials */
.testimonial {
  background: #111;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  font-style: italic;
  border-radius: var(--radius);
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  text-align: right;
  font-style: normal;
  color: #aaa;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}
.form input,
.form textarea {
  padding: 0.5rem;
  border: 1px solid #333;
  border-radius: var(--radius);
  background: #111;
  color: var(--fg);
}
.form button {
  align-self: start;
}

/* Logo Ticker Carousel (full-width, off-white, individual looping) */
.logo-ticker {
  width: 100vw;
  margin-left: calc(-50vw + 50%); /* center full-width within container */
  background: #f9f9f9;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

/* track holds twice the items; we'll shift it by –50% (= one set) */
.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 16s linear infinite;
}

/* each item is exactly 25% of viewport width, centering its logo */
.ticker-item {
  flex: 0 0 25vw;             /* 4 items fill viewport */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* logo styling */
.ticker-item img {
  max-height: 60px;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}

.ticker-item img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* animate leftwards by half the track (one set) */
@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #222;
  margin-top: 3rem;
}
.footer .social a {
  margin: 0 0.5rem;
  color: var(--fg);
  text-decoration: none;
}

/* Animations */
@keyframes glow-yellow {
  from { text-shadow: 0 0 5px var(--highlight); }
  to   { text-shadow: 0 0 20px var(--highlight); }
}

/* Responsive */
@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
    flex-direction: column;
    background: var(--dark);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
  }
  .nav-toggle {
    display: block;
  }
  .nav.open {
    display: flex;
  }
}
