/* ==========================================================================
   Base Styles and Theme Variables
   ========================================================================== */

:root {
  /* Theme Background Gradients */
  --background-gradient-dark: url('img/asfalt-dark.png'), linear-gradient(135deg, #1a1a1a, #0f0f0f);
  --background-gradient-cyberpunk: url('img/escheresque.png'), linear-gradient(135deg, #000428, #004e92);
  --background-gradient-luxury: url('img/natural-paper.png'), linear-gradient(135deg, #6b4e31, #3d2b1f);
  --background-gradient-vintage-classic: url('img/natural-paper.png'), linear-gradient(135deg, #6b5243, #2d2420);

  /* Glass Effect Base Properties */
  --glass-bg: rgba(51, 51, 51, 0.7);
  --glass-border: rgba(128, 128, 128, 0.3);

  /* Theme-specific Glass Effects */
  --glass-bg-dark: rgba(25, 25, 25, 0.7);
  --glass-bg-cyberpunk: rgba(0, 40, 80, 0.7);
  --glass-bg-luxury: rgba(59, 43, 31, 0.7);
  --glass-bg-vintage-classic: rgba(107, 82, 67, 0.7);

  /* Typography - Dark Theme */
  --text-color-dark: #FCFCFA;
  --secondary-text-color-dark: #B8B6B9;
  --header-color-dark: #FFFFFF;
  --footer-color-dark: #9E9C9F;

  /* Typography - Cyberpunk Theme */
  --text-color-cyberpunk: #FFFFFF;
  --secondary-text-color-cyberpunk: #00FFFF;
  --header-color-cyberpunk: #FF00FF;
  --footer-color-cyberpunk: #00FFFF;

  /* Typography - Luxury Theme */
  --text-color-luxury: #FFFFFF;
  --secondary-text-color-luxury: #FFE5CC;
  --header-color-luxury: #FFD700;
  --footer-color-luxury: #D4BFA6;

  /* Typography - Vintage Classic Theme */
  --text-color-vintage-classic: #FFF6EB;
  --secondary-text-color-vintage-classic: #E8D5C4;
  --header-color-vintage-classic: #FFE6D0;
  --footer-color-vintage-classic: #D6BFA8;

  /* Accent Colors */
  --accent-color-dark: #2c4975;
  --accent-color-cyberpunk: #00ffff;
  --accent-color-luxury: #c49a6c;
  --accent-color-vintage-classic: #c4a485;

  /* Button Gradients */
  --button-dark: linear-gradient(180deg, #2c4975, #1e3250);
  --button-cyberpunk: linear-gradient(180deg, #FF00FF, #00FFFF);
  --button-luxury: linear-gradient(180deg, #FFD700, #C49A6C);
  --button-vintage-classic: linear-gradient(180deg, #D6BFA8, #9A7B5F);

  /* Button Glows */
  --button-glow-dark: rgba(44, 73, 117, 0.5);
  --button-glow-cyberpunk: rgba(255, 0, 255, 0.5);
  --button-glow-luxury: rgba(255, 215, 0, 0.5);
  --button-glow-vintage-classic: rgba(214, 191, 168, 0.6);

  /* Dividers */
  --divider-dark: rgba(255, 255, 255, 0.2);
  --divider-cyberpunk: rgba(0, 255, 255, 0.2);
  --divider-luxury: rgba(196, 154, 108, 0.2);
  --divider-vintage-classic: rgba(196, 164, 133, 0.25);

  /* Default Theme (Dark) */
  --text-color: var(--text-color-dark);
  --secondary-text-color: var(--secondary-text-color-dark);
  --header-color: var(--header-color-dark);
  --footer-color: var(--footer-color-dark);
  --current-glass-bg: var(--glass-bg-dark);
  --divider-color: var(--divider-dark);
  --current-background: var(--background-gradient-dark);
  --current-accent: var(--accent-color-dark);
  --current-button: var(--button-dark);
  --current-button-glow: var(--button-glow-dark);
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

body {
  font-family: 'Poppins', sans-serif;
  background: var(--current-background) !important;
  background-size: cover, cover;
  background-repeat: repeat, no-repeat;
  background-blend-mode: overlay;
  color: var(--text-color);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: var(--header-color);
}

p {
  font-size: 1rem;
  color: var(--secondary-text-color);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Container Styles
   ========================================================================== */

.container {
  opacity: 1;
  max-width: 600px;
  width: 95%;
  background: var(--current-glass-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  transition: transform 0.2s ease-in-out;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15));
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05), 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.6s ease-out forwards;
}

.container:hover {
  transform: scale(1.02);
}

.content-container {
  max-width: 700px;
  width: 90%;
  background: var(--glass-bg);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05), 0 15px 40px rgba(0, 0, 0, 0.4);
  margin: 40px auto;
}

/* ==========================================================================
   Profile and Image Styles
   ========================================================================== */

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--current-accent);
  transition: border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Link and Button Styles
   ========================================================================== */

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 16px;
  text-decoration: none;
  background: var(--current-button);
  color: var(--text-color);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  width: 80%;
  max-width: 360px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px var(--current-button-glow);
  text-align: center;
  margin: 1.25rem auto;
}

.link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px var(--current-button-glow);
  background: var(--current-button);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  margin: 1.5rem 0;
  width: auto;
  min-width: 200px;
}

.cta-button i {
  font-size: 1.2rem;
}

/* ==========================================================================
   Theme Switcher Styles
   ========================================================================== */

.theme-switcher {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.theme-button {
  padding: 10px 15px;
  background: var(--current-glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.theme-button:hover {
  background: var(--glass-border);
  transform: translateY(-2px);
}

.theme-button.active {
  background: var(--current-accent);
  color: var(--header-color);
  font-weight: bold;
  border: 2px solid var(--text-color);
  box-shadow: 0 0 10px var(--current-button-glow);
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.subtitle {
  font-size: 1.2rem;
  color: var(--secondary-text-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: center !important;
}

.about-section {
  margin: 2rem 0;
}

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

.about-section p:last-child {
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   TFP Agreement Styles
   ========================================================================== */

.tfp-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.tfp-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.tfp-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-icon {
  font-size: 1.8rem;
  color: var(--current-accent);
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.tfp-section:hover .section-icon {
  transform: scale(1.1);
}

.tfp-section h2 {
  color: var(--header-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.tfp-section h2:after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--current-accent);
  opacity: 0.7;
}

.tfp-section h3 {
  color: var(--secondary-text-color);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.tfp-section p {
  text-align: center;
  line-height: 1.6;
  margin: 0;
  color: var(--text-color);
  opacity: 0.9;
}

.rights-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.rights-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Booking Page Styles
   ========================================================================== */

.booking-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid var(--glass-border);
}

.booking-section h2 {
  color: var(--header-color);
  margin-bottom: 1rem;
}

.booking-section .link {
  margin-top: 1.5rem;
}

.booking-section p {
  text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.4s;
}

.fade-in:nth-child(4) {
  animation-delay: 0.6s;
}

.fade-in:nth-child(5) {
  animation-delay: 0.8s;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
  body {
    justify-content: flex-start;
    padding: 10px;
  }

  .container {
    width: 90%;
    padding: 25px 15px;
    transform: translateY(10px);
  }

  .content-container {
    padding: 25px 15px;
  }

  .link {
    padding: 12px;
    font-size: 0.95rem;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .theme-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }

  .theme-button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .tfp-section {
    padding: 1.5rem;
  }

  .section-icon {
    font-size: 1.5rem;
  }

  .tfp-section h2 {
    font-size: 1.2rem;
  }

  .tfp-section h3 {
    font-size: 1rem;
  }

  .tfp-section p {
    font-size: 0.95rem;
  }

  .rights-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 20px 12px;
  }

  .content-container {
    width: 95%;
    padding: 20px 12px;
  }

  .link {
    padding: 10px;
    font-size: 0.9rem;
  }
}