/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  background-color: transparent;
  mix-blend-mode: screen;
  filter: none;
}

body {
  background-color: #111;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation Bar */
nav#menu {
  background-color: #1a1a1a;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav#menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav#menu ul li a {
  color: #f00;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav#menu ul li a:hover {
  color: #ff3333;
}

/* Video Background */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header with Video */
header {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.header-content {
  z-index: 1;
  padding: 20px;
  text-shadow: 2px 2px 8px black;
}

/* SALAAR The Dinosaar */
header h1 {
  font-family: 'Anton', sans-serif;
  font-size: 68px;
  color: #ff1a1a;
  animation: fadeInDown 1.5s ease;
}

header p {
  font-size: 36px;
  color: #ccc;
  margin-top: 10px;
  font-weight: bold;
}

/* Section Styles */
section {
  padding: 60px 30px;
}

.BestFriend,
.Mother,
.clans,
.Story {
  background-color: #1a1a1a;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
}

section h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #ff3333;
}

section ul {
  padding-left: 20px;
}

section li {
  margin-bottom: 8px;
  color: #ccc;
}

/* Dialogues */
section[class*="Famous"] p {
  background-color: #000;
  padding: 12px;
  border-left: 5px solid #ff1a1a;
  margin: 10px 0;
  font-style: italic;
}

/* Footer */
footer {
  background-color: #0d0d0d;
  color: #aaa;
  text-align: center;
  padding: 20px 10px;
  margin-top: 50px;
  font-size: 14px;
}

footer h3 {
  color: #ff1a1a;
  margin-bottom: 5px;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* IMAGE RIGHT LAYOUT START */
/* ========================= */

.BestFriend,
.Mother,
.clans > .clan-info,
.Story {
  display: flex;
  flex-direction: row-reverse; /* forces image to the right */
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.BestFriend img,
.Mother img,
.clans img,
.Story img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.BestFriend > h2,
.Mother > h2,
.Story > h2,
.clans h2 {
  flex: 1;
}

.BestFriend p,
.Mother p,
.Story p,
.clans p,
.clans ul {
  flex: 1 1 400px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .BestFriend,
  .Mother,
  .clans > .clan-info,
  .Story {
    flex-direction: column;
  }

  .BestFriend img,
  .Mother img,
  .clans img,
  .Story img {
    margin-top: 20px;
  }
}

/* ======================= */
/* IMAGE RIGHT LAYOUT END  */
/* ======================= */
.BestFriend {
  display: flex;
  justify-content: center;
  background-color: #1a1a1a;
  padding: 40px 30px;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
}

.BestFriend .content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
}

.text-content {
  flex: 1;
  min-width: 300px;
}

.text-content h2 {
  font-size: 32px;
  color: #ff1a1a;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 18px;
  margin-bottom: 15px;
}

.text-content ul {
  padding-left: 20px;
  color: #ccc;
}

.image-content {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

.image-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}
/* Mother Section Styling */
.Mother {
  background-color: #1a1a1a;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
  padding: 60px 30px;
}

.Mother .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.Mother .text-content {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.Mother .text-content h2 {
  font-size: 36px;
  color: #ff3333;
  margin-bottom: 10px;
}

.Mother .text-content p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 15px;
}

.Mother .text-content ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #eee;
}

.Mother .image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.Mother .image-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}
/* Common Section Styling */
.CharacterSection {
  background-color: #1a1a1a;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
  padding: 60px 30px;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.text-content {
  flex: 1 1 55%;
  color: #fff;
}

.text-content h2.character-title {
  font-size: 32px;
  color: #ff1a1a;
  margin-bottom: 15px;
}

.text-content ul {
  padding-left: 20px;
}

.text-content li {
  margin-bottom: 8px;
  color: #ccc;
}

.image-content {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .text-content,
  .image-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .text-content ul {
    text-align: left;
  }
}
/* Clans Section Styling */
.clans {
  background-color: #1a1a1a;
  padding: 60px 30px;
  color: #fff;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
}

.clans-title {
  color: #ff1a1a;
  font-size: 36px;
  margin-bottom: 30px;
}

.clans-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.clan-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.clan-details {
  flex: 1;
}

.clan-details ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.clan-details li {
  color: #ccc;
  margin-bottom: 6px;
}

.clan-info {
  margin-bottom: 25px;
}

.clan-info h3 {
  color: #ff1a1a;
  margin-bottom: 10px;
}

.clan-info p {
  color: #ddd;
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .clans-wrapper {
    flex-direction: column;
  }

  .clan-image,
  .clan-details {
    width: 100%;
    text-align: center;
  }

  .clan-details ul {
    text-align: left;
  }
}
/* Clans Section Styling */
.clans {
  background-color: #1a1a1a;
  padding: 60px 30px;
  color: #fff;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
}

.clans-title {
  color: #ff1a1a;
  font-size: 36px;
  margin-bottom: 30px;
  text-align: left;
}

.clans-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.clan-details {
  flex: 1;
  max-width: 60%;
}

.clan-details ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.clan-details li {
  color: #ccc;
  margin-bottom: 6px;
}

.clan-info {
  margin-bottom: 25px;
}

.clan-name {
  color: #ff1a1a;
  margin-bottom: 10px;
}

.clan-info p {
  color: #ddd;
  margin-bottom: 6px;
}

.clan-image {
  flex: 1;
  max-width: 35%;
  text-align: right;
}

.clan-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .clans-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .clan-details,
  .clan-image {
    max-width: 100%;
  }

  .clan-details ul {
    text-align: left;
  }
}
/* Story Section Styling */
.story-section {
  background-color: #1a1a1a;
  padding: 60px 30px;
  color: #fff;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
  text-align: left;
}

.story-title {
  color: #ff1a1a;
  font-size: 36px;
  margin-bottom: 25px;
}

.story-content {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
  max-width: 1000px;
}

/* Family Tree Section Styling */
.family-tree-section {
  background-color: #121212;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
}

.family-tree-title {
  font-size: 36px;
  color: #ff1a1a;
  margin-bottom: 30px;
}

.family-tree-image {
  width: 90%;
  max-width: 1000px;
  border: 2px solid #444;
  border-radius: 10px;
  box-shadow: 0 0 15px #ff1a1a55;
  margin-bottom: 15px;
}

.family-tree-caption {
  font-size: 16px;
  color: #ccc;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
}
/* Movie Cast Section */
.movie-cast-section {
  background-color: #1a1a1a;
  padding: 60px 30px;
  color: #fff;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
  text-align: center;
}

.cast-title {
  font-size: 36px;
  color: #ff1a1a;
  margin-bottom: 40px;
}

.cast-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.cast-member {
  background-color: #0d0d0d;
  padding: 20px;
  border-radius: 10px;
  width: 220px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cast-member:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 26, 26, 0.6);
}

.cast-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #333;
}

.cast-member h3 {
  font-size: 20px;
  color: #ff3333;
  margin-bottom: 5px;
}

.cast-member p {
  font-size: 16px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .cast-member {
    width: 100%;
    max-width: 300px;
  }

  .cast-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
/* ======================== */
/* Movie Cast Section Start */
/* ======================== */

.movie-cast-section {
  background-color: #1a1a1a;
  padding: 60px 30px;
  color: #fff;
  border-top: 3px solid #ff1a1a;
  border-bottom: 3px solid #ff1a1a;
  text-align: center;
}

.cast-title {
  font-size: 36px;
  color: #ff1a1a;
  margin-bottom: 40px;
}

.cast-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.cast-member {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cast-member:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.cast-member img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.cast-member h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #fff;
}

.cast-member p {
  font-size: 16px;
  color: #ccc;
}

/* Responsive Cast Cards */
@media (max-width: 768px) {
  .cast-member {
    width: 100%;
    max-width: 320px;
  }
}

/* ====================== */
/* Movie Cast Section End */
/* ====================== */
