/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #f4a261;
  --accent: #e76f51;
  --dark: #1a1a2e;
  --darker: #12121f;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(18, 18, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.5rem;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  border-radius: 12px;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
  height: 40px;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

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

.btn-nav {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.85rem !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--light);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: var(--darker);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--primary);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 31, 0.7) 0%,
    rgba(18, 18, 31, 0.85) 50%,
    rgba(18, 18, 31, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  max-width: 700px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  margin: 0 auto 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  filter: drop-shadow(0 8px 24px rgba(230, 57, 70, 0.3));
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(248, 249, 250, 0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-hours {
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-hours span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--light);
  border: 2px solid rgba(248, 249, 250, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: rgba(248, 249, 250, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
  background: var(--darker);
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: 250px;
}

.about-img-main {
  grid-column: 1 / -1;
  height: 300px;
}

.about-img-secondary {
  grid-column: 1 / -1;
  height: 200px;
}

.about-content p {
  color: rgba(248, 249, 250, 0.75);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.3);
  background: rgba(230, 57, 70, 0.05);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(248, 249, 250, 0.6);
  margin-top: 0.25rem;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--dark);
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-large img {
  height: 300px;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== MENU ===== */
.menu-section {
  background: var(--darker);
  padding: 5rem 0;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding: 0 1.5rem;
}

.menu-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--light);
  transition: var(--transition);
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.menu-grid {
  max-width: 800px;
  margin: 0 auto;
}

.menu-category {
  display: none;
}

.menu-category.active {
  display: grid;
  gap: 0.75rem;
}

.menu-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}

.menu-item:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transform: translateX(4px);
  background: rgba(230, 57, 70, 0.05);
}

.menu-item-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.menu-item-info p {
  font-size: 0.85rem;
  color: rgba(248, 249, 250, 0.5);
}

/* ===== FEATURES ===== */
.features {
  background: var(--dark);
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(244, 162, 97, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.6);
}

/* ===== BRANCHES ===== */
.branches {
  background: var(--darker);
  padding: 5rem 0;
}

.branches-grid {
  display: grid;
  gap: 1.5rem;
}

.branch-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.3);
}

.branch-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.branch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.branch-card:hover .branch-card-img img {
  transform: scale(1.05);
}

.branch-card-body {
  padding: 1.5rem;
}

.branch-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.branch-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.branch-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(230, 57, 70, 0.15);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.branch-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(248, 249, 250, 0.75);
}

.branch-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary);
}

.branch-info-item a {
  color: var(--secondary);
  font-weight: 600;
  transition: color var(--transition);
}

.branch-info-item a:hover {
  color: var(--primary);
}

.branch-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.branch-btn {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.branch-btn-primary {
  background: var(--primary);
  color: var(--white);
}

.branch-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.branch-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--light);
}

.branch-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== CTA ===== */
.cta {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
    var(--dark);
  text-align: center;
  padding: 5rem 0;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(248, 249, 250, 0.6);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.platform-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.platform-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.platform-logo:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.platform-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.5);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-links li {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.5);
  transition: color var(--transition);
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(248, 249, 250, 0.4);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-logo {
    width: 180px;
    height: 180px;
  }

  .hero-buttons {
    flex-direction: row;
    max-width: 500px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-large {
    grid-column: 1 / -1;
  }

  .gallery-item img {
    height: 250px;
  }

  .gallery-item-large img {
    height: 350px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta h2 {
    font-size: 2.5rem;
  }

  .platform-logo {
    width: 160px;
    height: 160px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

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

  .hero-logo {
    width: 200px;
    height: 200px;
  }

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

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }

  .about-img-main {
    height: 350px;
  }

  .about-img-secondary {
    height: 250px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item-large {
    grid-column: 1 / 3;
  }

  .gallery-item img {
    height: 280px;
  }

  .gallery-item-large img {
    height: 280px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .branches-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .navbar {
    padding: 0.75rem 3rem;
  }

  .navbar.scrolled {
    padding: 0.5rem 3rem;
  }
}
