/* ===================================
    Modern Frontend Styles - Sea Beach Aqua Park Inspired
====================================== */

:root {
  --primary-blue: #1a4b84;
  --secondary-blue: #3498db;
  --accent-orange: #e67e22;
  --dark-gray: #2c3e50;
  --light-gray: #ecf0f1;
  --white: #ffffff;
  --black: #000000;
  --success-green: #27ae60;
  --warning-yellow: #f39c12;
  --danger-red: #e74c3c;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-light: #bdc3c7;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, #f39c12 100%);
  --gradient-success: linear-gradient(135deg, var(--success-green) 0%, #2ecc71 100%);
}

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

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

/* ===================================
    Header Styles
====================================== */

.navbar-modern {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px var(--shadow-light);
  transition: all 0.3s ease;
}

.navbar-modern .navbar-brand {
  transition: all 0.3s ease;
}

.navbar-modern .navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-modern .navbar-brand img {
  max-height: 66px;
  border-radius: 8px;
  /* box-shadow: 0 4px 15px var(--shadow-light); */
}

.navbar-modern .navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-modern .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-modern .navbar-toggler-line {
  background: var(--primary-blue);
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================================
    Hero Section Styles
====================================== */

.hero-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===================================
    Card Styles
====================================== */

.card-modern {
  background: var(--white);
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.card-modern .card-header {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-modern .card-body {
  padding: 2rem;
}

/* ===================================
    Button Styles
====================================== */

.btn-modern {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 75, 132, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 75, 132, 0.4);
  color: var(--white);
}

.btn-modern-secondary {
  background: var(--gradient-accent);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-modern-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
  color: var(--white);
}

.btn-modern-success {
  background: var(--gradient-success);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-modern-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
  color: var(--white);
}

/* ===================================
    Form Styles
====================================== */

.form-control-modern {
  border: 2px solid var(--border-light);
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 2px 10px var(--shadow-light);
}

.form-control-modern:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(26, 75, 132, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.form-control-modern::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.form-label-modern {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
    Step Styles
====================================== */

.step-container {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 35px var(--shadow-light);
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.step-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.step-title {
  color: var(--primary-blue);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ===================================
    Progress Bar
====================================== */

.progress-modern {
  height: 8px;
  border-radius: 10px;
  background: var(--light-gray);
  overflow: hidden;
  margin: 2rem 0;
}

.progress-bar-modern {
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 0.5s ease;
  position: relative;
}

.progress-bar-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===================================
    Room Card Styles
====================================== */

.room-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-medium);
}

.room-card.selected {
  border: 3px solid var(--primary-blue);
  box-shadow: 0 15px 35px rgba(26, 75, 132, 0.2);
}

.room-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.room-card:hover .room-image {
  transform: scale(1.05);
}

.room-info {
  padding: 1.5rem;
}

.room-title {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.room-price {
  color: var(--accent-orange);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.room-features {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===================================
    Footer Styles
====================================== */

.footer-modern {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.footer-links a:hover {
  color: var(--accent-orange);
}

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

.social-icons {
  margin-bottom: 25px;
}

.social-icons a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  margin: 0 8px;
  color: var(--white);
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icons a:hover {
  background: var(--accent-orange);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.copyright {
  color: var(--light-gray);
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}

/* ===================================
    Animation Classes
====================================== */

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

.bounce-in {
  animation: bounceIn 0.8s ease-out;
}

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

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===================================
    Responsive Design
====================================== */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .btn-modern, .btn-modern-secondary, .btn-modern-success {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .form-control-modern {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .card-modern .card-body {
    padding: 1.5rem;
  }
  
  .step-container {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .footer-links a {
    margin: 0 8px;
    font-size: 14px;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn-modern, .btn-modern-secondary, .btn-modern-success {
    padding: 8px 20px;
    font-size: 12px;
  }
  
  .card-modern {
    border-radius: 15px;
  }
  
  .step-container {
    padding: 1rem;
  }
} 