/* Rimal Website Styles - Desert Theme */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Open+Sans:wght@400;600&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Desert Theme Color Palette */
  --dark-night: #1E1E24;
  --sand-gold: #D4B483;
  --sunset-orange: #E07A5F;
  --sunset-red: #c75f46;
  --white-sand: #F9F7F3;
  --dune-brown: #3D3B30;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--dark-night);
  color: var(--white-sand);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white-sand);
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--sunset-orange);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--sand-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--sunset-orange);
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--sunset-orange);
  color: var(--white-sand);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  background: var(--sunset-red);
  color: var(--white-sand);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(224, 122, 95, 0.4);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(224, 122, 95, 0.4);
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(30, 30, 36, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 180, 131, 0.3);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--sand-gold);
  text-shadow: 0 0 10px rgba(212, 180, 131, 0.5);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--white-sand);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sand-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--sunset-orange);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--sunset-orange);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--sand-gold);
  margin: 5px;
  transition: all 0.3s ease;
}

.social-icons {
  display: flex;
  list-style: none;
}

.social-icons li {
  margin-left: 1rem;
}

.social-icons a {
  color: var(--sand-gold);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--sunset-orange);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.9)), url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.2) 0%, rgba(18, 18, 18, 0.5) 100%); /* Changed gradient color to blue */
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--sand-gold);
  text-shadow: 0 0 20px rgba(212, 180, 131, 0.8);
  animation: fadeInDown 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white-sand);
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
}

.hero-btn {
  animation: fadeInUp 1s ease 1s forwards;
  opacity: 0;
}

/* Characters Section */
.characters {
  padding: 8rem 0;
  background-color: var(--dark-night);
  position: relative;
}

.characters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/texture.png');
  opacity: 0.05;
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.character-card {
  background: linear-gradient(145deg, rgba(56, 182, 255, 0.2), rgba(18, 18, 18, 0.8)); /* Changed gradient color to blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.character-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(56, 182, 255, 0.2); /* Changed shadow color to blue */
}

.character-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(56, 182, 255, 0.15), rgba(74, 30, 127, 0.05)); /* Changed gradient colors */
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.character-card:hover::before {
  opacity: 1;
}

.character-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
}

.character-info {
  padding: 1.5rem;
}

.character-name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--sand-gold);
}

.character-desc {
  color: var(--white-sand);
  margin-bottom: 1rem;
}

/* Maps Section */
.maps {
  padding: 8rem 0;
  background-color: rgba(18, 18, 18, 0.9);
  position: relative;
}

.maps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/pattern.png');
  opacity: 0.05;
  pointer-events: none;
}

.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(56, 182, 255, 0.2); /* Changed shadow color to blue */
}

.map-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.map-card:hover .map-img {
  transform: scale(1.1);
}

.map-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.9), transparent);
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.map-card:hover .map-info {
  transform: translateY(0);
}

.map-name {
  font-size: 1.5rem;
  color: var(--sand-gold);
  margin-bottom: 0.5rem;
}

.map-desc {
  color: var(--white-sand);
  font-size: 0.9rem;
}

/* About Section */
.about {
  padding: 8rem 0;
  background-color: var(--dark-night);
}

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

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(56, 182, 255, 0.3); /* Changed shadow color to blue */
}

.about-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--sand-gold);
  border-radius: 10px;
  z-index: -1;
}

.team-section {
  margin-top: 6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--sand-gold);
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--sand-gold);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background-color: rgba(18, 18, 18, 0.9);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--sand-gold);
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--sand-gold);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-text p {
  color: var(--white-sand);
}

.business-hours h3 {
  margin-bottom: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(56, 182, 255, 0.2); /* Changed border color to blue */
}

.day {
  font-weight: 600;
}

.time {
  color: var(--white-sand);
}

.contact-form {
  background: linear-gradient(145deg, rgba(56, 182, 255, 0.2), rgba(18, 18, 18, 0.8)); /* Changed gradient color to blue */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(56, 182, 255, 0.3); /* Changed border color to blue */
  border-radius: 5px;
  color: var(--white-sand);
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--sand-gold);
  box-shadow: 0 0 10px rgba(212, 180, 131, 0.3); /* Changed shadow color to gold */
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: rgba(12, 12, 12, 0.95);
  padding: 4rem 0 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--dark-night), var(--sand-gold), var(--sunset-orange));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 1rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--sand-gold);
}

.footer-about p {
  color: var(--white-sand);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  list-style: none;
}

.footer-social li {
  margin-right: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(56, 182, 255, 0.1); /* Changed background color to blue */
  border-radius: 50%;
  color: var(--sand-gold);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--sand-gold);
  color: var(--white-sand);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--sand-gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white-sand);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--sand-gold);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--sand-gold);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.footer-contact-text {
  color: var(--white-sand);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(56, 182, 255, 0.2); /* Changed border color to blue */
}

.footer-bottom p {
  color: var(--dune-brown);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Particle Animation */
.particle {
  position: absolute;
  background-color: var(--sand-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-img {
    order: -1;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    clip-path: circle(0px at 90% -10%);
    transition: all 0.5s ease-out;
    pointer-events: none;
  }
  
  .nav-links.active {
    clip-path: circle(1000px at 90% -10%);
    pointer-events: all;
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .social-icons {
    display: none;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .characters-grid,
  .maps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .characters-grid,
  .maps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}