/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: black;
  background: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  transition: background 0.3s ease;
}

header.scrolled {
  background: black;
}

header .logo img {
  height: 40px;
}

nav {
  padding-left: 40px;
  padding-right: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-right: auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #f39c12;
}

#language-toggle {
  background: #f39c12;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  margin-left: auto;
}

#language-toggle:hover {
  background: #d98209;
}

.nav-btn-2025 {
  background: #f39c12;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
  margin-left: auto;
  font-weight: bold;
}

.nav-btn-2025:hover {
  background: #d98209;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  align-items: flex-end;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    border-radius: 5px;
    align-items: flex-end;
  }

  nav ul.show {
    display: flex;
  }

  .burger-menu {
    display: flex;
  }
}

/* Home Section */
#home {
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
    url("./assets/img/giro.samba.home.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
}

/* Fix for iOS devices */
@supports (-webkit-touch-callout: none) {
  #home {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  #home {
    background-attachment: scroll;
    background-position: center center;
  }
}

@media (max-width: 480px) {
  #home {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
}

#home .home-logo {
  height: 100px;
}

#home .home-logo img {
  width: 150px;
  margin-bottom: 20px;
}

#home .overlay {
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

#home h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

#home p {
  font-size: 1.1rem; /* Default font size */
  line-height: 1.6;
  margin-bottom: 30px; /* Space before buttons */
  color: #f0f0f0; /* Light color for readability on dark overlay */
  max-width: 600px; /* Limit width for better readability */
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #f39c12; /* Orange */
  color: white !important; /* Ensure text color is white */
  text-decoration: none !important; /* Ensure no underline */
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
  margin: 8px auto; /* Vertical spacing, auto for horizontal centering by flex parent */
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 220px;
  max-width: 90%; /* Prevent overflow on medium-small screens before breakpoint */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.cta-button:hover {
  background-color: #e67e22; /* Darker orange */
  transform: translateY(-2px);
}

.cta-button-party-pass {
  display: inline-block;
  padding: 12px 25px;
  background-color: #e74c3c; /* A distinct red color for the party pass */
  color: white !important; /* Ensure text color is white */
  text-decoration: none !important; /* Ensure no underline */
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
  margin: 8px auto; /* Vertical spacing, auto for horizontal centering by flex parent */
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 220px;
  max-width: 90%; /* Prevent overflow on medium-small screens before breakpoint */
  box-sizing: border-box;
}

.cta-button-party-pass:hover {
  background-color: #c0392b; /* Darker red */
  transform: translateY(-2px);
}

/* About Section */
#about {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #ff6f61, #ffcc00);
  position: relative;
  overflow: hidden;
}

#about .shape3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  top: -150px;
  left: -150px;
  animation: rotate 20s infinite linear;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: white;
}

#about p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: white;
}

#description-text {
  margin: 0 10%;
}

/* Venue Info */
.venue-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.venue-info h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: white;
}

.venue-info h4 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: white;
}

.venue-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  width: 100%;
}

.venue-item {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.venue-image {
  max-width: 100%;
  border-radius: 10px;
  margin: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  height: 200px;
  object-fit: cover;
}

.venue-image:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .venue-item {
    min-width: 250px;
  }
}

/* Make the venue images look clickable */
.venue-item:nth-child(1) .venue-image,
.venue-item:nth-child(2) .venue-image {
  cursor: pointer;
  position: relative;
}

.venue-item:nth-child(1) .venue-image::after,
.venue-item:nth-child(2) .venue-image::after {
  content: "\f144"; /* Font Awesome play icon */
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.venue-item:nth-child(1) .venue-image:hover::after,
.venue-item:nth-child(2) .venue-image:hover::after {
  opacity: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: linear-gradient(135deg, #ff6f61, #ffcc00);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  color: white;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* Ensure all content displays properly */
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-button {
  color: white;
  float: right;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  position: sticky;
  top: 0;
  z-index: 10;
}

.close-button:hover {
  color: #f39c12;
}

.schedule-info {
  margin-top: 20px;
}

#checkin-info {
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 8px;
}

/* Improved Schedule Layout */
.time-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 25px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.time-header {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px 8px 0 0;
  font-size: 1.3em;
  margin: -15px -15px 15px -15px;
}

.rooms-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.room-column {
  flex: 1;
  min-width: calc(25% - 10px);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* Single room styles for Friday classes */
.single-room {
  justify-content: center;
}

.room-column.full-width {
  min-width: 90%;
  max-width: 90%;
}

.room-header {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.9em;
  letter-spacing: 1px;
}

.class-block {
  padding: 15px 10px;
  text-align: center;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.95em;
  line-height: 1.3;
}

.teacher-name {
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 8px;
  color: white;
}

.class-description {
  font-size: 0.99em;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.class-block:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.class-block.check-in {
  background: rgba(243, 156, 18, 0.3);
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .room-column {
    min-width: calc(50% - 10px);
    margin-bottom: 10px;
  }

  .rooms-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  #home h1 {
    font-size: 2.2rem; /* Slightly smaller for tablets */
  }

  #home p {
    font-size: 1rem; /* Adjust paragraph font size */
    max-width: 90%; /* Allow more width on tablets */
  }

  .cta-button,
  .cta-button-party-pass {
    font-size: 0.95rem; /* Slightly smaller font for buttons */
    padding: 10px 20px; /* Adjust padding */
    min-width: 200px; /* Adjust min-width for tablets */
  }
}

@media (max-width: 576px) {
  .room-column {
    min-width: 100%;
  }

  .time-section {
    padding: 10px;
  }

  .time-header {
    font-size: 1em;
    margin: -10px -10px 10px -10px;
  }

  .class-block {
    min-height: 60px;
  }

  .close-button {
    font-size: 36px;
    top: 5px;
    right: 15px;
  }

  #home h1 {
    font-size: 1.8rem; /* Smaller for mobile */
  }

  #home p {
    font-size: 0.9rem; /* Smaller paragraph font size */
    margin-bottom: 20px; /* Adjust space before buttons */
    max-width: 95%; /* Allow more width on mobile */
  }

  .cta-button,
  .cta-button-party-pass {
    font-size: 0.9rem; /* Smaller font for buttons on mobile */
    padding: 12px 15px; /* More vertical padding for better tap height */
    width: 85%; /* Make buttons take more width of the parent */
    min-width: unset; /* Remove min-width to allow percentage width to work */
    max-width: 320px; /* Set a max-width for these buttons on small screens */
    margin: 8px auto; /* Consistent margin */
  }
}

/* Video Modal Styles */
.video-modal-content {
  width: 90%;
  max-width: 800px;
  padding: 20px;
  margin: 5% auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
  background: #000;
  border-radius: 8px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Enhanced responsive styling for video modal */
@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    padding: 15px;
    margin: 8% auto;
    max-height: 90vh;
    overflow: auto;
  }

  .video-container {
    padding-bottom: 100%; /* Square aspect ratio for medium screens */
  }
}

@media (max-width: 480px) {
  .video-modal-content {
    width: 98%;
    padding: 10px;
    margin: 2% auto;
  }

  .video-container {
    padding-bottom: 177.78%; /* Return to 9:16 ratio for phones in portrait */
  }

  .close-button {
    font-size: 35px;
    position: absolute;
    right: 15px;
    top: 5px;
    z-index: 2;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .video-modal-content {
    margin: 2% auto;
    max-height: 90vh;
  }

  .video-container {
    padding-bottom: 75%; /* 4:3 aspect ratio for landscape */
  }

  /* Ensure the video is fully visible in landscape */
  .video-container video {
    object-fit: contain;
  }
}

/* Very small screens in portrait */
@media (max-width: 350px) {
  .video-container {
    padding-bottom: 140%; /* Slightly shorter for very small screens */
  }
}

/* Teachers Section */
#teachers {
  padding: 80px 20px;
  background: linear-gradient(135deg, #00b4db, #0083b0);
  text-align: center;
}

#teachers h2 {
  color: white;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per line */
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .teachers-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* 2 cards per line on smaller screens */
  }
}

@media (max-width: 480px) {
  .teachers-grid {
    grid-template-columns: 1fr; /* 1 card per line on mobile */
  }
}

.teacher-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  color: black;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.teacher-card:hover {
  transform: translateY(-10px);
}

.teacher-card img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 20px;
}

.teacher-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.teacher-card a {
  color: #f39c12;
  font-size: 1.5em;
  text-decoration: none;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: #f39c12;
  transition: color 0.3s, transform 0.3s;
}

.instagram-link:hover {
  color: #d98209;
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .instagram-link {
    font-size: 2em;
  }
}

/* Partners Section */
#partners {
  padding: 80px 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  text-align: center;
}

#partners h2 {
  color: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.partner-card {
  background: white;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  transform: translateY(-10px);
}

.partner-card img {
  width: auto;
  height: 100%;
  max-height: 60px;
}

/* Footer */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 20px;
}

footer a {
  color: #f39c12;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-instagram {
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  padding: 10px 20px;
  margin-bottom: 20px;
  background: #f39c12;
  border-radius: 50px;
  transition: background 0.3s;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-instagram:hover {
  background: #d98209;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-instagram i {
  margin-right: 10px;
  text-decoration: none;
}

/* New Footer Link Styles */
.footer-links {
  margin-bottom: 15px;
}

.footer-link {
  color: white;
  font-size: 0.9em;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #f39c12;
  text-decoration: none;
}

.footer-separator {
  margin: 0 10px;
  color: #555;
}

.footer-compliance {
  margin-top: 15px;
}

.livro-link {
  display: inline-block;
  transition: transform 0.3s;
}

.livro-link:hover {
  transform: translateY(-3px);
}

.livro-img {
  height: 40px;
  width: auto;
}

@media (max-width: 480px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-separator {
    display: none;
  }

  .livro-img {
    height: 35px;
  }
}

/* Schedule Tab Styles */
.schedule-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  gap: 10px;
}

.tab-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tab-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.tab-button.active {
  background-color: #f39c12;
  color: "#fff";
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Schedule day visibility */
.schedule-day {
  display: none;
  width: 100%;
  min-height: 200px;
}

.schedule-day.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for tabs */
@media (max-width: 480px) {
  .schedule-tabs {
    flex-direction: row;
    gap: 5px;
  }

  .tab-button {
    padding: 10px 15px;
    font-size: 0.9em;
    flex: 1;
  }
}

/* Video error message */
.video-error {
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  margin-top: 10px;
}

/* Button container for schedule and parties buttons */
.venue-info .button-container {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

#schedule-button,
#parties-button {
  margin: 0;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
}

@media (max-width: 576px) {
  #schedule-button,
  #parties-button {
    flex: 100%;
    min-width: unset;
    max-width: unset;
    margin-bottom: 10px;
  }
}

/* Parties Modal Styles */
.parties-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.party-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  page-break-inside: avoid;
}

.party-item:hover {
  transform: translateY(-5px);
}

.party-date {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.party-date h3 {
  margin: 0;
  font-size: 1.3em;
}

.party-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
}

.pre-party {
  background-color: #3498db;
}

.special-event {
  background-color: #9b59b6;
}

.official-party {
  background-color: #f39c12;
}

.closing-party {
  background-color: #e74c3c;
}

.party-details {
  padding: 20px;
}

.party-time,
.party-location {
  display: flex;
  align-items: flex-start; /* Changed from center to better align multi-line text */
  margin-bottom: 10px;
  font-size: 1.1em;
}

.party-location span {
  line-height: 1.4;
}

.party-time i,
.party-location i {
  margin-right: 8px;
  display: inline-block;
  width: 16px;
  text-align: center;
}

.party-time i {
  margin-top: 3px; /* Add a small top margin to align with the first line */
}

.party-description {
  margin-top: 15px;
  line-height: 1.5;
  font-size: 1.1em;
}

@media (max-width: 576px) {
  .party-date {
    flex-direction: column;
    align-items: flex-start;
  }

  .party-date h3 {
    margin-bottom: 10px;
  }

  .party-time,
  .party-location {
    font-size: 1em;
  }

  .party-description {
    font-size: 1em;
  }
}

/* Switch Schedule Button */
.switch-schedule-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 15px 0 20px 0;
  flex-wrap: wrap;
}

.switch-schedule-button,
.download-pdf-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch-schedule-button:hover {
  background-color: #f39c12;
  transform: translateY(-2px);
}

.download-pdf-button {
  background-color: rgba(46, 204, 113, 0.8);
}

.download-pdf-button:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

.switch-schedule-button i,
.download-pdf-button i {
  font-size: 1.1em;
  margin-right: 5px;
}

/* Free Tag */
.free-tag {
  background-color: #2ecc71;
  margin-left: 5px;
}

/* Paid Tag */
.paid-tag {
  background-color: #e67e22;
  margin-left: 5px;
}

/* Price Options */
.price-options {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.price-option {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 8px;
  flex: 1;
  min-width: 120px;
  text-align: center;
  transition: transform 0.2s ease;
}

.price-option:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
}

.price {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 5px;
}

.price-details {
  font-size: 0.9em;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .price-options {
    flex-direction: column;
  }
}

/* Cookie Consent Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
  padding-right: 20px;
}

.cookie-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #f39c12;
}

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.accept-cookies {
  background: #f39c12;  /* Fixed: was using var(--gradient) which is not defined */
  color: white;
}

.accept-cookies:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(176, 71, 39, 0.3);
}

.customize-cookies {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.customize-cookies:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.cookie-settings.active {
  display: flex;
}

.settings-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  color: #333; /* Added to ensure text is visible on white background */
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.settings-header h3 {
  margin: 0;
  color: #f39c12;
}

.close-settings {
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.cookie-type {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.cookie-type:last-child {
  border-bottom: none;
}

.cookie-type h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #333; /* Added to ensure text is visible */
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #f39c12;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.settings-footer {
  display: flex;
  justify-content: flex-end; /* Changed to align button to right */
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.save-preferences {
  background: #f39c12; /* Fixed: was using var(--gradient) which is not defined */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.save-preferences:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(176, 105, 39, 0.3);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content {
    padding-right: 0;
    margin-bottom: 15px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

/* Select box styling for white text */
.platform-select select {
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 5px;
}

.platform-select select option {
  background-color: #333;
  color: white;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content {
    padding-right: 0;
    margin-bottom: 15px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

/* Ensure proper icon rendering */
.fas, .fab, .far {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
  font-weight: 900;
}

.far {
  font-weight: 400;
}
