/* === AutoFest Logo Watermark Background === */
body {
  background-image: url('images/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  background-attachment: fixed;
  opacity: ; /* full opacity for background */
}

/* Optional: to make content clean and readable over the watermark */


/* Autofest Scrolling Ribbon Banner */
.autofest-ribbon {
  width: 100vw;
  background: linear-gradient(90deg, #facc15 0%, #1de9b6 60%, #2196f3 100%);
  color: #181d2a;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 1px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  cursor: pointer;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  user-select: none;
}
.autofest-ribbon-inner {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  height: 38px;
}
.autofest-ribbon-inner span {
  display: inline-block;
  padding-left: 100vw;
  animation: autofest-ribbon-scroll 18s linear infinite alternate;
}
@keyframes autofest-ribbon-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100vw); }
}
body { padding-top: 38px !important; }
/* Hero text and button animation */
.hero-animate {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s cubic-bezier(.4,0,.2,1) 0.2s forwards;
}
.hero-animate-delayed {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s cubic-bezier(.4,0,.2,1) 0.7s forwards;
}
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}
/* Gradient brand name styling for professional look */
/* World map logo: green, blue, yellow */
.brand-gradient {
  background: linear-gradient(90deg, #1de9b6 0%, #2196f3 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  font-size: 1.5rem;
  display: inline-block;
}

/* Unique section backgrounds for international, automotive vibe */
.section-hero { background: linear-gradient(120deg, #1a1a1a 60%, #e52d27 100%); color: #fff; }
.section-gallery { background: linear-gradient(120deg, #fff 60%, #facc15 100%); color: #222; }
.section-programs { background: linear-gradient(120deg, #0f1317 60%, #1de9b6 100%); color: #fff; }
.section-dark { background: #07090d; color: #fff; }
.section-light { background: #fff; color: #222; }

/* Nav bar improvements */

.site-header { box-shadow: 0 2px 12px rgba(0,0,0,0.18); background: linear-gradient(90deg, #181d2a 0%, #1de9b6 60%, #e52d27 100%) !important; }
.primary-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.primary-nav a {
  color: #181d2a;
  background: linear-gradient(90deg, rgba(29,233,182,0.18) 0%, rgba(33,150,243,0.18) 60%, rgba(229,45,39,0.18) 100%);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 16px;
  margin: 0 2px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  border: none;
  position: relative;
  transition: background 0.3s, color 0.2s, box-shadow 0.2s;
  z-index: 1;
}
.primary-nav a:hover, .primary-nav a.active {
  background: linear-gradient(90deg, #e52d27 0%, #facc15 100%);
  color: #181d2a;
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
  text-shadow: 0 2px 8px #2196f3;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  margin-left: 10px;
}
.nav-toggle .hamburger {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  position: relative;
  border-radius: 2px;
}
.nav-toggle .hamburger::before, .nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after { top: 8px; }

@media (max-width: 991px) {
  .primary-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(120deg, #181d2a 0%, #1de9b6 60%, #e52d27 100%);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 0 12px 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 32px #0003;
    z-index: 1000;
  }
  .primary-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* Section titles */
h2, .section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #e52d27 0%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card and panel improvements */
.card, .panel, .rounded-4 {
  border-radius: 1.25rem !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.card-title { font-weight: 700; }

/* Buttons */
.btn-primary, .btn-success, .btn-lg {
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 28px;
  box-shadow: 0 2px 8px rgba(229,45,39,0.08);
  background: linear-gradient(90deg, #e52d27 0%, #facc15 100%);
  border: none;
}
.btn-primary:hover, .btn-success:hover {
  background: linear-gradient(90deg, #facc15 0%, #e52d27 100%);
  color: #111;
}
.btn-outline-dark {
  border: 2px solid #e52d27;
  color: #e52d27;
  background: #fff;
}
.btn-outline-dark:hover {
  background: #e52d27;
  color: #fff;
}
.btn-vendor {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
  border: none;
}

.btn-vendor:hover {
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}


/* Footer */
.site-footer {
  background: #111;
  color: #fff;
  font-size: 1rem;
  border-top: 2px solid #e52d27;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .brand-gradient { font-size: 1.1rem; }
  .primary-nav { gap: 8px; }
  .container { padding: 0 8px; }
}
/* =========================================================
   style.css - AutoFest International (dark, elegant festival)
   ========================================================= */

/* CSS variables (palette) */
:root{
  --bg:#07090d;          /* very dark navy */
  --panel:#0f1317;       /* card/panel */
  --muted:#9aa3b2;
  --accent:#facc15;      /* gold */
  --accent2:#1de9b6;     /* teal */
  --white:#ffffff;
  --glass: rgba(255,255,255,0.04);
}

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:linear-gradient(180deg,#0a0e18 0%, #181d2a 100%);
  color:var(--white);
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* container helper */
.container{max-width:1100px;margin:0 auto;padding:0 18px}

/* ======= HEADER / NAV ======= */
.site-header{position:sticky;top:0;z-index:999;background:linear-gradient(90deg,rgba(2,6,12,0.6),rgba(2,8,14,0.35));backdrop-filter: blur(6px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:48px;width:48px;border-radius:8px;object-fit:cover}
.brand-text{display:flex;flex-direction:column}
.brand-title{font-weight:700;font-size:1.02rem;color:var(--accent)}
.brand-sub{font-size:0.78rem;color:var(--muted)}

/* Nav */
.primary-nav{display:flex;gap:16px;align-items:center}
.primary-nav a{text-decoration:none;color:var(--muted);padding:8px;border-radius:8px;font-weight:600;font-size:0.95rem}
.primary-nav a:hover{color:var(--white);background:rgba(255,255,255,0.02)}

/* Mobile nav toggle */
.nav-toggle{display:none;background:transparent;border:none;color:var(--white);cursor:pointer;padding:8px;border-radius:8px}
.nav-toggle .hamburger{display:block;width:22px;height:2px;background:var(--white);position:relative}
.nav-toggle .hamburger::before,.nav-toggle .hamburger::after{content:"";position:absolute;left:0;width:22px;height:2px;background:var(--white)}
.nav-toggle .hamburger::before{top:-7px} .nav-toggle .hamburger::after{top:7px}

/* ======= HERO ======= */
.hero{position:relative;height:calc(100vh - 72px);min-height:520px;overflow:hidden}
.hero-slideshow{position:absolute;inset:0;z-index:1}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1s ease;filter:brightness(0.5)}
.hero-slide.active{opacity:1}

.hero-overlay{position:relative;z-index:3;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px}
.hero-inner{max-width:920px}
.hero-inner h1{font-size:clamp(1.6rem,4vw,3.2rem);margin-bottom:8px}
.lead{color:var(--muted);margin-bottom:16px;font-size:1.05rem}
.btn{display:inline-block;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:700}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent2));color:#071018}
.btn.outline{border:1px solid rgba(255,255,255,0.06);color:var(--white);background:transparent;margin-left:10px}

/* ======= SECTIONS ======= */
.section{padding:64px 0}
.section-dark{background:linear-gradient(180deg,rgba(255,255,255,0.01),transparent)}
h2{font-size:1.6rem;color:var(--accent);margin-bottom:12px}
.muted{color:var(--muted)}

/* ======= CARDS (stunts/upcoming) ======= */
.cards{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:20px}
.card{background:var(--panel);border-radius:12px;overflow:hidden;width:320px;box-shadow:0 10px 30px rgba(2,6,12,0.6)}
.card-media img{width:100%;height:180px;object-fit:cover}
.card-body{padding:14px}
.card-body h3{margin-bottom:6px}

/* ======= PREVIOUS CAROUSEL (10 images) ======= */
.previous-carousel{position:relative;height:48vh;min-height:260px;max-height:520px;border-radius:12px;overflow:hidden;background:#050607;margin-top:18px}
.prev-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1s ease;filter:brightness(0.6)}
.prev-slide.active{opacity:1}

/* ======= GALLERY GRID ======= */

/* Remove .gallery-grid grid styling to allow Bootstrap row/col to control layout */
.gallery-card { width: 100%; }
.gallery-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; transition: transform .25s; }
.gallery-card img:hover { transform: scale(1.03); }

/* ======= SPONSORS ======= */
.sponsor-row{display:flex;gap:20px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:12px}
.sponsor-row img{height:68px;filter:grayscale(80%);opacity:0.9;border-radius:6px}

/* ======= CONTACT FORM ======= */
.contact-form{max-width:560px;margin:18px auto;display:flex;flex-direction:column;gap:12px}
.contact-form input,.contact-form textarea{padding:12px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:var(--white)}
.contact-form button{padding:12px;border-radius:8px;border:none;background:linear-gradient(90deg,var(--accent),var(--accent2));color:#071018;font-weight:800;cursor:pointer}

/* ======= FOOTER ======= */
.site-footer{padding:20px 0;background:linear-gradient(180deg,rgba(0,0,0,0.3),rgba(0,0,0,0.5));text-align:center;color:var(--muted);margin-top:28px}

/* ======= RESPONSIVE ======= */
@media (max-width: 880px){
  .primary-nav{display:none}
  .nav-toggle{display:block}
  .header-inner{padding:10px 14px}
}
@media (max-width:640px){
  .hero{min-height:360px}
  .card{width:100%}
  .gallery-grid img{height:120px}
  .prev-slide{background-position:center}
  .brand-title{font-size:0.98rem}
}
@media (max-width:420px){
  .hero{min-height:300px}
  .hero-inner h1{font-size:1.3rem}
  .brand-logo{display:none}
}


/* --- Autofest: mobile nav animation + mobile logo pointer (appended) --- */
.primary-nav {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mobile behavior: hide and animate menu */
@media (max-width: 991px) {
  .primary-nav {
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    flex-direction: column;
    gap: 10px;
    background: #111;
    padding: 12px 16px;
    border-radius: 8px;
    position: absolute;
    top: 64px;
    right: 16px;
    width: calc(100% - 32px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  }
  .primary-nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-nav-logo { cursor: pointer; }
  .primary-nav .nav-link { color: #fff; padding: 10px 8px; text-align: left; display: block; border-radius:4px; }
  .primary-nav .nav-link:hover { background: #f39c12; color: #111; }
}

/* Ensure desktop keeps original gradient brand intact */
@media (min-width: 992px) {
  .brand-gradient { /* keep existing rules untouched */ }
}



/* --- Autofest: mobile nav animation + mobile logo pointer (appended) --- */
.primary-nav {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mobile behavior: hide and animate menu */
@media (max-width: 991px) {
  .primary-nav {
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    flex-direction: column;
    gap: 10px;
    background: #111;
    padding: 12px 16px;
    border-radius: 8px;
    position: absolute;
    top: 64px;
    right: 16px;
    width: calc(100% - 32px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  }
  .primary-nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-nav-logo { cursor: pointer; }
  .primary-nav .nav-link { color: #fff; padding: 10px 8px; text-align: left; display: block; border-radius:4px; }
  .primary-nav .nav-link:hover { background: #f39c12; color: #111; }
}

/* Ensure desktop keeps original gradient brand intact */
@media (min-width: 992px) {
  .brand-gradient { /* keep existing rules untouched */ }
}
/* Mobile (≤991px): logo toggle, nav with smooth slide + rotation */
@media (max-width: 991px) {
  .mobile-nav-logo {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1001; /* stays above overlay */
  }

  /* Rotate logo when active */
  .mobile-nav-logo.active {
    transform: rotate(90deg);
  }

  /* Backdrop overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 1000;
  }
  .nav-overlay.active {
    display: block;
    animation: fadeIn 0.4s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .primary-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #111;
    padding: 12px 16px;
    border-radius: 8px;
    position: absolute;
    top: 64px;
    right: 16px;
    width: calc(100% - 32px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: 
      opacity 0.4s ease, 
      transform 0.4s ease, 
      max-height 0.5s ease;
    z-index: 1001;
  }

  .primary-nav.open {
    opacity: 1;
    max-height: 500px; /* enough for links */
    transform: translateY(0);
  }

  .primary-nav .nav-link {
    color: #fff;
    display: block;
    text-align: left;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .primary-nav .nav-link:hover {
    background: #f39c12;
    color: #111;
  }
}

/* Accessibility: Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-logo,
  .primary-nav,
  .nav-overlay {
    transition: none !important;
    animation: none !important;
  }
}
/* Sticky Buy Now button on Tickets page - mobile only */
@media (max-width: 768px) {
  .btn-tickets-sticky {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 14px 34px;
    font-size: 1rem;
    border-radius: 40px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }
  .btn-tickets-sticky:hover {
    background: linear-gradient(135deg, #e67e22, #111);
    transform: translateX(-50%) scale(1.05);
  }
}
.tickets-hero {
  text-align: center;
  color: #e67e22;
  
}


/* Hero buttons enhancements */
.hero-animate-delayed .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center all columns */
  gap: px; /* Space between buttons */
}

/* Each button container */
.hero-animate-delayed .col-6 {
  display: flex;
  justify-content: center;
}

/* Button styles */
.hero-animate-delayed .btn {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
}

/* Hover pop effect */
.hero-animate-delayed .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Alternating button colors */
.hero-animate-delayed .btn:nth-child(odd) {
  background-color: #007bff; 
  color: #fff;
}

.hero-animate-delayed .btn:nth-child(even) {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  .hero-animate-delayed .col-6 {
    flex: 1 1 45%; /* 2 buttons per row */
    max-width: 45%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-animate-delayed .col-6 {
    flex: 1 1 100%; /* Stack vertically */
    max-width: 100%;
  }
}
/* Hero Section Styling */
.registration-hero {
  background: url('hero-bg.jpg') center center/cover no-repeat; /* optional hero image */
}

.registration-hero h1,
.registration-hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.registration-hero p.hero-animate-delayed {
  animation-delay: 0.3s;
}

/* Form & Card Animations */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.hero-animate-delayed {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Styling */
.registration-form .card {
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.registration-form .card:hover {
  transform: translateY(-3px);
}

/* Button Styling */
.registration-form .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.registration-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .registration-form .card {
    padding: 2rem 1.5rem;
  }
}
.btn-vendor{
  
}
.form-container {
      max-width: 500px;
      margin: 50px auto;
      background: #1a1a1a;
      border-radius: 10px;
      padding: 30px 40px;
      box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
    }

    .form-container h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #e50914;
    }

    form label {
      display: block;
      margin-top: 15px;
      font-weight: 600;
      color: #ddd;
    }

    form input, form select, form textarea {
      width: 100%;
      padding: 10px;
      margin-top: 8px;
      border: none;
      border-radius: 5px;
      background: #2a2a2a;
      color: #fff;
      font-size: 1rem;
    }

    form input:focus, form select:focus, form textarea:focus {
      outline: 2px solid #e50914;
    }

    button {
      width: 100%;
      margin-top: 25px;
      padding: 12px;
      background: #e50914;
      border: none;
      color: #fff;
      font-size: 1.1rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
    }

    button:hover {
      background: #b00610;
      box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
    }

    footer {
      text-align: center;
      margin-top: 40px;
      padding: 20px;
      color: #888;
      font-size: 0.9rem;
    }

    @media (max-width: 600px) {
      .form-container {
        margin: 30px 15px;
        padding: 25px;
      }
    }
    
    /* === AutoFest Giveaway Section === */
#giveaway-section {
  position: relative;
  background-image: url('images/logoo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-bottom: 80px;
}

/* Auto Theme Adaption */
:root {
  --autofest-bg-light: rgba(255, 255, 255, 0.95);
  --autofest-bg-dark: rgba(0, 0, 0, 0.85);
}

body.light-theme #giveaway-section {
  background-color: var(--autofest-bg-light);
  color: #000;
}

body.dark-theme #giveaway-section {
  background-color: var(--autofest-bg-dark);
  color: #fff;
}

/* Watermark Logo */
#giveaway-section .watermark-logo {
  position: absolute;
  bottom: 15px;
  right: 20px;
  width: 100px;
  opacity: 0.3;
  pointer-events: none;
}

/* Carousel images */
.carousel img {
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

/* Smooth hover animation for buttons */
button, .btn {
  transition: all 0.3s ease;
}
button:hover, .btn:hover {
  transform: scale(1.05);
}

/* Fade-in animation when scrolling */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #giveaway-section {
    background-size: 100%;
    text-align: center;
  }
  #giveaway-section .watermark-logo {
    width: 70px;
    bottom: 10px;
    right: 10px;
  }
}
/* === AutoFest Watermark Background === */
body {
  position: relative;
  background-color: inherit;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/logoo.png') no-repeat center center;
  background-size: 45%;
  opacity: ;
  z-index: -1;
  pointer-events: none;
}
/* === Giveaway Section Fix & Watermark === */
#giveaway-section {
  position: relative;
  overflow: hidden;
}

#giveaway-section .autofest-watermark {
  position: absolute;
  bottom: 10px;
  right: 15px;
  width: 90px;
  opacity: ;
  z-index: 1;
}

#giveaway-section .carousel img,
#giveaway-section img.img-fluid {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

#giveaway-section .carousel img:hover,
#giveaway-section img.img-fluid:hover {
  transform: scale(1.03);
}

/* Responsive scaling for images */
@media (max-width: 768px) {
  #giveaway-section .carousel img,
  #giveaway-section img.img-fluid {
    max-height: 240px;
    object-fit: cover;
  }
}

/* === Responsive Fixes for Giveaway Section === */
@media (max-width: 992px) {
  #giveaway-section .row {
    flex-direction: column !important;
    align-items: center;
  }

  #giveaway-section .carousel-inner img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
  }

  #giveaway-section .poster {
    width: 90%;
    max-width: 350px;
    height: auto;
    margin-top: 20px;
  }

  #giveaway-section h2 {
    text-align: center;
    font-size: 1.6rem;
  }

  #giveaway-section {
    padding: 30px 10px;
  }
}

@media (max-width: 576px) {
  #giveaway-section .carousel-inner img {
    max-height: 180px;
  }

  #giveaway-section .poster {
    max-width: 280px;
  }

  #giveaway-section h2 {
    font-size: 1.3rem;
  }
}
/* === Responsive Text and Button Styling === */
@media (max-width: 992px) {
  #giveaway-section h2 {
    font-size: 1.5rem;
  }
  #giveaway-section p {
    font-size: 0.95rem;
  }
  #giveaway-section .btn {
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px;
    margin: 10px auto;
    display: block;
  }
}

@media (max-width: 576px) {
  #giveaway-section h2 {
    font-size: 1.2rem;
  }
  #giveaway-section p {
    font-size: 0.85rem;
  }
}
/* === Floating Animation & Hover Effects === */
.floating {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hover effect for buttons and images */
#giveaway-section img:hover,
#giveaway-section .btn:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}
/* === Responsive Watermark Adjustments === */
@media (max-width: 992px) {
  body::after {
    background-size: 65%;
    opacity: 0.06;
  }
}

@media (max-width: 576px) {
  body::after {
    background-size: 85%;
    opacity: 0.05;
    background-position: center top;
  }
}
/* === Global Watermark for All Pages === */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('logo.png') no-repeat center/cover;
  background-size: 40%; /* adjust for desired size */
  opacity: 0.05; /* faint watermark */
  z-index: -1; /* stays behind all content */
  pointer-events: none; /* doesn't block clicks */
}

/* Responsive adjustments for watermark */
@media (max-width: 992px) {
  body::before {
    background-size: 60%;
    opacity: 0.04;
  }
}

@media (max-width: 576px) {
  body::before {
    background-size: 80%;
    opacity: 0.03;
    background-position: center top;
  }
}
.autofest-ribbon {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #000;
  color: #fff;
  font-size: 1rem;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-bottom: 2px solid #FFD700;
  opacity: 0;
  animation: ribbonFadeIn 1.5s ease-in-out forwards;
}

.autofest-ribbon-content {
  display: inline-block;
  white-space: nowrap;
  animation: autofestScroll 25s linear infinite;
}

.grand-prize {
  font-size: 1.3em;
  font-weight: 700;
  color: #FFD700;
  text-transform: uppercase;
  margin: 0 10px;
  text-shadow: 0 0 5px #FFD700, 0 0 10px #FFA500;
  animation: goldGlow 2s ease-in-out infinite alternate;
}

/* 🔁 Continuous scroll */
@keyframes autofestScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ✨ Gold shimmer */
@keyframes goldGlow {
  0% {
    text-shadow: 0 0 5px #FFD700, 0 0 10px #FFA500;
  }
  100% {
    text-shadow: 0 0 20px #FFD700, 0 0 40px #FFA500;
  }
}

/* 🌅 Soft slide-in animation */
@keyframes ribbonFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Responsive design */
@media (max-width: 768px) {
  .autofest-ribbon {
    font-size: 0.9rem;
    padding: 8px 0;
  }
  .grand-prize {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .autofest-ribbon {
    font-size: 0.8rem;
    padding: 6px 0;
  }
  .grand-prize {
    font-size: 1em;
  }
}








  

