/* Modern styles for Big Blue Ibiza website */

:root {
  --primary-blue: #2B2873;
  --secondary-green: #B6CDBD;
  --dark-gray: #3C464C;
  --light-green: #EDF5F2;
  --white: #FFFFFF;
  --transition-speed: 0.3s;
  --bs-primary-rgb: 211, 217, 220;
  --bs-secondary-rgb: 182, 205, 189;
  --bs-ternary-rgb: 133, 153, 139;
  --bg-light-green: #b6cdbd;
  --bg-dark-green: #85998b;
  --bg-light-gray: #d3d9dc;
  --bg-dark-gray: #3c464c;
  --text-dark: #3c464c;
  --text-light: #FFFFFF;

  --bs-card-color: #3c464c;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Work Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', 'Work Sans', sans-serif;
  font-weight: 600;
}

p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--text-dark);
  transition: all var(--transition-speed);
}

a:hover,
a:focus {
  color: #1e1b52;
  text-decoration: none;
}

.bg-primary {
  background-color: var(--dark-gray);
  color: var(--text-dark);
}

.bg-secondary {
  background-color: var(--bg-dark-green);
  color: var(--dark-gray);
}

.bg-ternary {
  background-color: rgba(var(--bs-ternary-rgb));
  color: var(--text-light);
}

.bg-white {
  background-color: white;
  color: var(--text-dark);
}

section {
  padding: 80px 0;
}

/* Modern Navbar */
.navbar-modern {
  transition: all 0.4s;
  padding: 15px 0;
  background-color: transparent;
}

.navbar-modern .navbar-brand span {
  height: 30px;
  transition: all 0.3s;
}

.navbar-modern .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}

.navbar-modern .nav-link:hover {
  color: white;
}

.navbar-modern .nav-link.active {
  color: white;
  font-weight: 600;
}

.navbar-modern.navbar-scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar-modern.navbar-scrolled .nav-link,
.navbar-modern.navbar-scrolled .brand,
.navbar-modern.navbar-scrolled .navbar-toggler>span {
  color: var(--dark-gray);
}

.navbar-modern.navbar-scrolled .nav-link:hover,
.navbar-modern.navbar-scrolled .nav-link.active {
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content img.logo {
  max-height: 300px;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

@media (min-width: 992px) and (max-height: 700px) {
  .hide-short {
    display: none !important;
  }
}

/* Page Headers */
.page-header {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
}

/* Cards */
.card-modern {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  margin-bottom: 30px;
  border: none;
  background-color: white;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-modern .card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-modern .card-body {
  padding: 25px;
}

.card-modern .card-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-modern .card-text {
  color: var(--dark-gray);
  margin-bottom: 20px;
}

/* Buttons */
.btn-primary-modern {
  background-color: var(--bg-dark-gray);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all var(--transition-speed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.btn-primary-modern:hover {
  background-color: var(--bg-dark-gray);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #2b28734d;
}

.btn-hero {
  color: var(--bg-dark-gray);
  background-color: white;
}

.btn-outline-modern {
  background-color: transparent;
  color: var(--bg-dark-gray);
  border: 2px solid var(--bg-dark-gray);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all var(--transition-speed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.btn-outline-modern:hover {
  background-color: var(--bg-dark-gray);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-modern-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all var(--transition-speed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.btn-outline-modern-white:hover {
  background-color: var(--bg-dark-gray);
  color: white;
  transform: translateY(-2px);
}

.btn-hero-outline {
  color: var(--text-light);
  background-color: var(--bg-dark-gray);
}

/* Features */
.feature-box {
  text-align: center;
  margin-bottom: 40px;
}

.feature-box .feature-icon {
  font-size: 3rem;
  color: var(--bg-dark-gray);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Gallery */
.gallery-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform var(--transition-speed);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform var(--transition-speed);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.testimonial-card .quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
}

.testimonial-card .author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-card .author-info h5 {
  margin-bottom: 0;
  font-weight: 600;
}

.testimonial-card .author-info p {
  margin-bottom: 0;
  font-size: 14px;
  color: #777;
}

/* Contact Form */
.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
  border-radius: 4px;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  border-color: var(--bg-dark-gray);
  box-shadow: none;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--bg-dark-gray);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-info-item .content h5 {
  margin-bottom: 5px;
}

.contact-info-item .content p {
  margin-bottom: 0;
}

.btn-whatsapp.btn-success {
  background-color: #25D366;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-whatsapp.btn-success:hover {
  background-color: #1ebe5b;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 60px 0 30px;
}

.footer h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: white;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  transition: all var(--transition-speed);
}

.footer-links li a:hover {
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  margin-right: 10px;
  transition: all var(--transition-speed);
}

.social-icons a:hover {
  background-color: var(--bg-dark-gray);
  transform: translateY(-3px);
}

/* Courses Page Specific Styles */
.course-card {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  color: var(--text-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed);
}

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

.course-title {
  color: var(--bg-dark-gray);
  margin-bottom: 15px;
  font-weight: 600;
}

.course-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--bg-dark-gray);
  margin: 15px 0;
}

.course-features {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.course-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-green);
}

.course-features li:last-child {
  border-bottom: none;
}

.course-features i {
  color: var(--bg-dark-gray);
  margin-right: 10px;
}

.course-img {
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
}

.btn-course {
  background-color: #2B2873;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-course:hover {
  background-color: var(--bg-dark-gray);
  color: white;
}

.course-img {
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
}

.course-section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--bg-dark-gray);
}

.courses-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

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

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

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .page-header-content h1 {
    font-size: 2.5rem;
  }

  .hero-content img.logo {
    max-height: 250px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .page-header-content h1 {
    font-size: 2rem;
  }

  .hero-content img.logo {
    max-height: 200px;
  }

  .hero-section {
    height: 80vh;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content img.logo {
    max-height: 150px;
  }
}