:root {
  --background-dark: #0a0a0a;
  --primary-gold: #d3af37;
}


@font-face {
  font-family: 'Gagalin';
  src: url('Gagalin/Gagalin-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html{
  scroll-behavior: smooth;
}



body {
  margin: 0;
  padding: 0;
  background-color: var(--background-dark);
  color: white;
  overflow-x: hidden;
 font-family: "Poppins", sans-serif;
}

h1,h2,h3{
  font-family: 'Oswald', sans-serif;
}
.oswald { font-family: 'Oswald', sans-serif; }
.kalam { font-family: 'Kalam', cursive; }
.gagalin { font-family: 'Gagalin', cursive; }

/* Navbar */
.navbar {
  width: 100%;
  transition: all 0.4s ease;
  z-index: 100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}

nav a {
  font-size: 17px;
}

.mobile-menu { 
  transition: max-height 0.3s ease-out; 
  overflow: hidden; 
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 60px; /* offset for navbar */
}

/* Hero Content (Left) */
.hero-content {
  flex: 1;
  max-width: 50%;
  padding-left: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Hero Image (Right) */
.hero-image-wrapper {
  flex: 1;
  position: relative;
  width: 50%;
  min-height: 100vh;
  order: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: top right;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

/* Fade Overlay */
.fade-overlay {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(to right, black 0%, transparent 100%);
  z-index: 2;
}

/* Hero Text & Buttons */
.hero h1,
.hero p,
.hero a { position: relative; z-index: 3; }

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 80px;
  }

  .hero-content {
    max-width: 90%;
    text-align: center;
    padding-left: 5%;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 4rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 2.5rem;
  }

  .hero a {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
  }

  .hero-image-wrapper {
    width: 100%;
    height: 50vh;
    min-height: 50vh;
    order: 1;
  }

  .fade-overlay {
    width: 70%;
  }

  /* Buttons side by side on tablet */
  .hero .mt-10 {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 80px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    order: 0;
  }

  .hero h1 {
    font-size: 4rem;
    line-height: 1.1;
  }

  .hero p {
    font-size: 3rem;
  }

  .hero a {
    font-size: 1.25rem;
    padding: 1rem 2rem;
  }

  /* Buttons stacked on mobile */
  .hero .mt-10 {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  /* Hero Image smaller but visible */
  .hero-image-wrapper {
    width: 100%;
    height: 50vh; /* smaller than desktop */
    min-height: 50vh;
    order: 1;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    min-height: 50vh;
  }

  /* Remove fade overlay on mobile */
  .fade-overlay {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    padding-top: 80px;
  }

  .hero-content {
    max-width: 95%;
    text-align: center;
    padding: 1rem 2rem;
    order: 0;
  }

  .hero h1 {
    font-size: 4rem;
    line-height: 1.1;
  }

  .hero p {
    font-size: 3rem;
  }

  .hero a {
    font-size: 1.25rem;
    padding: 1rem 2rem;
  }

  .hero-image-wrapper {
    width: 100%;
    height: 60vh; /* even smaller for tiny mobile */
    min-height: 60vh;
    order: 1;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    min-height: 60vh;
  }

  .fade-overlay {
    display: none;
  }
}


/* Social Media Section */
.social-media {
  background-color: #f8f8f8; /* light background */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}

/* Font Awesome Icons */
.social-media a {
  color: #111;
  font-size: 2rem; /* default icon size */
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-media a:hover {
  transform: scale(1.15);
  color: var(--primary-gold); /* gold accent on hover */
}

/* Mobile: Horizontal scroll strip */
@media (max-width: 768px) {
  .social-media {
    flex-wrap: nowrap;             /* all icons in a row */
    justify-content: flex-start;   /* start from left */
    overflow-x: auto;              /* enable side scroll */
    padding: 0.7rem 1rem;
    gap: 1.2rem;
    -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
  }

  .social-media::-webkit-scrollbar {
    display: none; /* hide scrollbar */
  }

  .social-media a {
    font-size: 2.5rem; /* slightly bigger for touch */
    flex-shrink: 0; /* prevent icons from shrinking */
  }
}

/* Golf YouTube logo */
.social-media .golf-yt img {
  width: 3rem;
  height: auto;
  
  transition: transform 0.3s ease;
}

.social-media .golf-yt:hover img {
  transform: scale(1.15);
}

#typingText {
  display: inline-block;
  min-width: 9ch; /* or however wide the longest word is */
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;       /* full viewport width */
  height: 100vh;      /* full viewport height */
  background: rgba(35, 35, 36, 0.9); /* dark navy semi-transparent */
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.98);
  z-index: 9999;
  overflow-y: auto;   /* scroll if links overflow */
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.15);
  color: var(--primary-gold);
}

/* Overlay Navigation Links */
.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
}

.overlay-nav a {
  color: white;
  font-size: 2.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.overlay-nav a:hover {
  color: var(--primary-gold);
  transform: scale(1.05);
}

/* Hide scrollbar nicely */
.mobile-overlay::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* Journey Preview Section */
.journey-preview {
  background-color: #111; /* dark but slightly lighter than hero */
  padding: 5rem 1rem;
}

.journey-preview .journey-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.journey-preview .journey-text h2 {
  line-height: 1.1;
  font-size: 4rem;
  color: white;
  margin-bottom: 1.5rem;
}

.journey-preview .journey-text p {
  line-height: 1.6;
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.journey-preview .journey-text a {
  display: inline-block;
  background-color: var(--primary-gold);
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 0.25rem;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.journey-preview .journey-text a:hover {
  filter: brightness(0.9);
  transform: scale(1.05);
}

/* Scroll Animations */
.animate-from-left,
.animate-from-right {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.animate-from-left {
  transform: translateX(-50px);
}

.animate-from-right {
  transform: translateX(50px);
}

.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .journey-preview {
    padding: 4rem 1rem;
  }

  .journey-preview .journey-text h2 {
    font-size: 3rem;
  }

  .journey-preview .journey-text p {
    font-size: 1.15rem;
  }

  .journey-preview .journey-image {
    order: -1; /* image above text on mobile */
  }

  /* Animate from top on mobile instead of sides */
  .animate-from-left,
  .animate-from-right {
    transform: translateY(50px);
  }
}


/* === Latest Videos Section === */
.latest-videos {
  background-color: #0a0a0a;
  padding: 4rem 0;
}

.latest-videos h2 {
  text-align: center;
  color: white;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 2rem;
}

/* ✅ Real grid layout */
.videos-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* Each video frame */
.video-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(211, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .videos-wrapper {
    grid-template-columns: 1fr;
  }
}


.golf-channel {
  background-color: #0A0A0A;
}

.golf-header h2 {
  letter-spacing: 1px;
}

.golf-profile {
  transition: transform 0.4s ease;
}

.golf-profile:hover {
  transform: scale(1.05);
}

.subscribe-btn {
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  filter: brightness(0.9);
}

/* Video Styling */
.golf-videos .video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: none;
  border: 2px solid #222;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .golf-header h2 {
    font-size: 2rem;
  }

  .golf-header p {
    font-size: 1rem;
  }
}


/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(90deg, #0a0a0a 0%, #111 100%);
  padding: 6rem 1rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.cta-banner p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
}

.cta-btn.gold {
  background: white;
  color: #000;
}

.cta-btn.gold:hover {
  filter: brightness(90%);
}

.cta-btn.outline {
  border: 2px solid white;
  color: white;
}

.cta-btn.outline:hover {
  background: white;
  color: #000;
}

/* Responsive */
@media (max-width: 640px) {
  .cta-banner h2 {
    font-size: 2.2rem;
  }
  .cta-banner p {
    font-size: 1rem;
  }
}


.contact-mini {
  background-color: #000;
}

.contact-mini input,
.contact-mini textarea {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
}

.contact-mini button {
  transition: all 0.3s ease;
}

.contact-mini button:hover {
  transform: translateY(-2px);
}

.mj-crying {
  background-color: #000; /* black background for contrast */
}

.mj-crying img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* optional, rounded corners */
  transition: transform 0.3s ease;
}

.mj-crying img:hover {
  transform: scale(1.1); /* playful zoom on hover */
}

.footer {
  background-color: #fff;
  color: #000;
  font-family: 'Poppins', sans-serif;
}

.footer-logo img {
  border-radius: 50%;
}

.footer-nav a {
  color: #000;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-gold);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-gold);
}

footer .flex.gap-4 a i,
footer .flex.gap-4 a img {
  font-size: 2rem; /* Font Awesome icons */
  width: 2.5rem;   /* For the golf YouTube image */
  height: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .flex.gap-4 a:hover i,
footer .flex.gap-4 a:hover img {
  transform: scale(1.15);
  color: var(--primary-gold);
}
