/* stylepackages.css - Main Styles for Package Pages */

:root {
  --primary: #1a6bb0;
  --secondary: #0d4b7a;
  --accent: #e9c46a;
  --light: #f8f9fa;
  --dark: #212529;
  --ocean-light: #a8d0e6;
  --ocean-dark: #374785;
  --wave-blue: #3a7ca5;
  --success: #28a745;
  --text-dark: #333;
  --text-light: #666;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--light);
}

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

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(13, 75, 122, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

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

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

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

.nav-links a:hover {
  color: var(--primary);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 5px;
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.language-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: none;
  min-width: 150px;
  z-index: 1001;
}

.language-selector:hover .language-dropdown {
  display: block;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.language-option:hover {
  background: var(--light);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  margin-top: 70px;
  overflow: hidden;
  background: linear-gradient(rgba(13, 75, 122, 0.7), rgba(13, 75, 122, 0.4));
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  animation: scaleIn 20s infinite alternate ease-in-out;
}

@keyframes scaleIn {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

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

.price-tag {
  background: var(--accent);
  color: var(--secondary);
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s both;
  box-shadow: 0 5px 15px rgba(233, 196, 106, 0.3);
}

.cta-button {
  background: white;
  color: var(--secondary);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.content-section {
  padding: 80px 0;
  background: var(--light);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.content-wrapper:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.section-title {
  color: var(--secondary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.content-text {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Features List */
.features-list {
  list-style: none;
  margin-bottom: 30px;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

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

.feature-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.sub-list {
  list-style: none;
  margin: 10px 0 0 30px;
}

.sub-list li {
  padding: 5px 0;
  border-bottom: none;
  font-size: 0.95rem;
  color: var(--text-light);
}

.highlight-box {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.option-card {
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.option-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.option-title {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-price {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Room Preview Section */
.room-preview {
  background: linear-gradient(135deg, #f0f7ff, #e6f2ff);
  padding: 50px 0;
  margin: 40px 0;
}

.room-preview h3 {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.room-preview h3 i {
  color: var(--accent);
  margin-right: 10px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.room-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.room-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.room-info {
  padding: 20px;
  text-align: center;
}

.room-info h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.room-info p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.room-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Back Button */
.back-section {
  text-align: center;
  padding: 40px 0;
  background: var(--ocean-light);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(13, 75, 122, 0.3);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--ocean-dark), var(--secondary));
  color: white;
  padding: 60px 0 20px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(to right, white, var(--ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

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

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

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .content-wrapper {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

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

  .price-tag {
    font-size: 1.3rem;
    padding: 10px 20px;
  }

  .content-section {
    padding: 50px 0;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

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

  .content-wrapper {
    padding: 20px;
  }

  .hero-section {
    height: 50vh;
    min-height: 350px;
  }
  
  .price-tag {
    font-size: 1.1rem;
    padding: 8px 16px;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Content language toggle */
.content-en,
.content-fr {
  transition: opacity 0.3s ease;
}