/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0d0d0d;
  color: #f2f2f2;
}

h1, h2 {
  font-family: 'Poppins', sans-serif;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
}

.login-btn {
  background-color: #f41336;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.login-btn:hover {
  background-color:#b83b29;
}

/* Hero Section */
.hero {
  background: url('../images/hero pic.png') no-repeat center center;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75); /* strong dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-text-wrapper {
  text-align: center;
  max-width: 90%;
}

.hero-heading {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-heading .red {
  color: #e63946;
}

.hero-heading .white {
  color: #ffffff;
}

.hero-btn {
  background-color: #e63946;
  color: white;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

.hero-btn:hover {
  background-color: #c92e3a;
  box-shadow: 0 0 14px rgba(230, 57, 70, 0.7);
}




.hero-text .accent {
  color: #f41336;
}

.hero .nav {
  margin: 1.5rem 0;
}

.hero .nav a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.hero .nav a:hover {
  color: #f41336;
}

/* Gallery Section */
.gallery {
  padding: 1rem 0;
  overflow-x: auto;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
  justify-content: flex-start;
}

.gallery-track img {
  flex: 0 0 auto;
  width: 90%;
  max-width:600px;
  aspect-ratio: 2 / 2;
  border-radius: 12px;
  scroll-snap-align: center;
  margin: 0 auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Content Sections */
.concept,
.app,
.membership,
.programs,
.subscriptions {
  padding: 3rem 2rem;
  text-align: center;
}

.programs {
  background-color: #0d0d0d;
}

.programs h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

/* Program Cards */
.program-list {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.program {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  width: 300px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.program:hover {
  transform: translateY(-5px);
}

.program h3 {
  color: #f41336;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.program p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

/* Subscription Section */
.subscriptions {
  padding: 0;
  background-color: #0d0d0d;
  color: #fff;
  text-align: center;
}

.subscription-bg {
  /*background: url('../images/Rilwan_rest1.png') no-repeat center center;*/
  background-size: cover;
  padding: 4rem 2rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.subscription-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #f41336;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.subscription-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.price {
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ccc;
  margin-left: 0.25rem;
}

/* Buttons */
.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.btn.primary {
  background-color: #f41336;
  color: #fff;
}

.btn.secondary {
  border: 1px solid #9ca3af;
  color: #9ca3af;
  background: transparent;
}

/* Image Rectangles */
.placeholder {
  background-color: #333;
  border-radius: 10px;
  margin: 2rem auto;
}

.image-rectangle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  margin: 2rem auto;
}

.image-rectangle .pic1 {
  width: 452px;
}

.image-rectangle .pic2,
.image-rectangle .pic3,
.image-rectangle .pic4 {
  width: 183px;
}

/* Footer */
footer {
  padding: 2rem;
  background: #101010;
  text-align: center;
}

.highlight {
  color: #f41336;
}

/* Talk section styling */
.talk-section {
  background-color: #0d0d0d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.talk-container {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.talk-text {
  flex: 1;
  min-width: 280px;
}

.talk-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.red-text {
  color: #e63946;
}

.talk-btn {
  display: inline-block;
  background-color: #e63946;
  color: white;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.talk-btn:hover {
  background-color: #ff4a5b;
}

.talk-img {
  flex: 1;
  min-width: 280px;
  height: 300px;
  background-image: url('../images/footer.png');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-left: 2rem;
}

/* FOOTER */
.site-footer {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 100px;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #e63946;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: #e63946;
  transform: scale(1.2);
}

.footer-copy {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #ccc;
}

footer hr {
  border: 0;
  border-top: 1px solid #333;
  margin: 2rem 0 1rem;
}




/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .logo {
    height: 32px;
  }

  .login-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 0;
    min-height: 100vh;
    background-position: center center;
    background-size: cover;
  }

  .hero-text h1 span {
    font-size: 2rem;
    line-height: 1.2;
  }

  .program-list {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .image-rectangle {
    justify-content: center;
  }

  .image-rectangle .pic1 {
    width: 100%;
    max-width: 100%;
  }

  .image-rectangle .pic2,
  .image-rectangle .pic3,
  .image-rectangle .pic4 {
    display: none;
  }

  .image-rectangle .pic1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  .top-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .top-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    display: none !important;
  }

  .logo {
    height: 50px;
  }

  .login {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }
    .talk-container {
      flex-direction: column;

    }
  
    .talk-img {
      margin: 2rem 0 0;
    }
  
    .footer-nav {
      flex-direction: column;
      gap: 1rem;
    }

  
    
      .talk-img {
        order: -1; /* Moves image to the top */
        margin: 0 0 2rem;
        width: 100%;
        height: 250px;
      }
    
      .talk-text {
        text-align: center;
      }

}