/* Import Tailwind CSS */
@import url('https://cdn.tailwindcss.com');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111111;
    background-size: cover;
    height: 100vh;
    color: #eee;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 50;
    background: transparent;
    padding: 0 2rem;
}

nav {
    width: 100%;
    height: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-font {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Hero Section with dark gradient and background image */
.hero-gradient {
    background: linear-gradient(135deg, #000000 0%, #222222 100%), url('assets/img/ADC04506.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Gradient fade bottom for Hero Section to blend with next section */
.hero-gradient::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0) 0%, #111111 100%);
}

/* Hero fade overlays */
.hero-fade-bottom {
    background: linear-gradient(to bottom, rgba(17,17,0,0) 0%, #111111 200%);
}

.hero-fade-top {
    background: linear-gradient(to top, rgba(17,17,0,0) 0%, #111111 110%);
}

/* Map iframe styles */
.map-iframe {
    border: 0;
    max-width: 600px;
}

/* Navigation link hover */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff0000 !important;
}

.nav-link.active {
    color: #ff0000 !important;
}

/* Article card */
.article-card {
    background-color: #222222;
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(255, 0, 0, 0.1), 0 10px 10px -5px rgba(255, 0, 0, 0.05);
    border-color: #ff0000;
}

/* Film card */
.film-card {
    background-color: #222222;
    border: 1.5px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.film-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(255, 0, 0, 0.1), 0 10px 10px -5px rgba(255, 0, 0, 0.05);
    border-color: #ff0000;
}

/* Footer with dark gradient */
.footer-gradient {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
}

/* Override bg-white and bg-gray-100 for dark theme */
.bg-white {
    background-color: #222222 !important;
    color: #eee;
}

.bg-gray-100 {
    background-color: #111111 !important;
}

/* Override bg-gray-900 for dark theme sections */
.bg-gray-900 {
    background-color: #111111 !important;
}

/* Gray text color for certain elements */
.text-gray-600, .text-gray-500, .text-gray-700 {
    color: #aaa !important;
}

/* Red border */
.border-red-600 {
    border-color: #ff0000 !important;
}

/* Red background */
.bg-red-600 {
    background-color: #ff0000 !important;
}

/* Darker red hover background */
.hover\:bg-red-600:hover {
    background-color: #cc0000 !important;
}

/* --- Hero Buttons Styling --- */
.hero-btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

/* Primary button (Our Program) */
.hero-btn-primary {
  background-color: #dc2626; /* red-600 */
  color: #fff;
}
.hero-btn-primary:hover {
  background-color: #fff;
  color: #000 !important; /* Force override global text-white */
}

/* Outline button (Watch Films) */
.hero-btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.hero-btn-outline:hover {
  background-color: #fff;
  color: #000 !important;
}


/* Watch Now button with color transition */
.btn-watch-now {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000;
    color: white;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.3s, color 0.3s;
}

.btn-watch-now:hover {
    background-color: #ffffff !important;
    color: #ff0000 !important;
}

/* Section with consistent dark background */
.section-dark {
    background-color: #111111;
    color: #eee;
    position: relative;
}

/* Desktop menu with hamburger */
.desktop-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 50;
    padding: 0.5rem 0;
}

.desktop-menu.open {
    display: block;
}

/* Animation for menu */
.menu-transition {
    transition: all 0.3s ease;
}

/* Style for menu items */
.menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #eee;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background-color: #222;
    color: #ff0000;
}

.menu-item.active {
    color: #ff0000;
}

.menu-item svg {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* Additional adjustments for better integration with custom controls */
.custom-btn, .custom-input, .custom-select select, .custom-toggle-slider {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.custom-btn {
    cursor: pointer;
}

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

.custom-input:focus, .custom-select select:focus, .custom-toggle-slider:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

/* mobile menu overlay */
.mobile-menu {
  display: none;           /* controlled by class 'hidden' */
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
}

/* background layer */
.mobile-menu .overlay-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
}

/* inner menu container */
.mobile-menu .menu-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
}

/* show state */
.mobile-menu.show {
  display: flex !important;
  /* animate in */
  opacity: 1;
  transform: translateY(0);
}

/* menu links */
.mobile-menu .menu-item {
  display: block;
  padding: .75rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: color .18s ease;
}
.mobile-menu .menu-item:hover { color: #f87171; }

/* prevent page scroll when open (optional helper) */
body.menu-open { overflow: hidden; }




/* Responsive fixes */
@media (max-width: 768px) {
    .menu-item {
        padding: 0.5rem 1rem;
    }

    /* Program cards responsive fixes */
    .program-card {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Ensure text-white remains white */
.text-white {
    color: #ffffff !important;
}

/* Additional section styling for consistency */
.py-16.bg-gray-900 {
    background-color: #111111 !important;
    color: #ffffff;
}
