/* Modern Adventure Luxury Hotel - CSS Styles */

/* CSS Custom Properties */
:root {
  --primary-color: #2C5530;
  --primary-light: #3d7142;
  --primary-dark: #1e3a21;
  --secondary-color: #E8B547;
  --secondary-light: #f0c768;
  --secondary-dark: #d49d2a;
  --accent-color: #8B4513;
  --text-dark: #2C2C2C;
  --text-light: #6C6C6C;
  --text-white: #FFFFFF;
  --background-light: #F8F9FA;
  --background-white: #FFFFFF;
  --border-color: #E0E0E0;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* Bootstrap Overrides */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.75rem 2rem;
  transition: var(--transition-fast);
  border: none;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Card Overrides */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition-fast);
  overflow: hidden;
}

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

.card-header {
  background-color: var(--background-light);
  border-bottom: 2px solid var(--secondary-color);
  font-weight: 600;
  color: var(--primary-color);
}

/* Form Overrides */
.form-control {
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  transition: var(--transition-fast);
  padding: 1rem 0;
}

.navbar.scrolled {
  background-color: var(--background-white);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-light);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background-color: var(--background-light);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background-color: var(--secondary-color);
  font-weight: 600;
}

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

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232C5530' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(139, 69, 19, 0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23f0f8f0" width="1000" height="600"/><path fill="%23e8b547" opacity="0.1" d="M0 0h1000v300L0 600z"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(232, 181, 71, 0.1) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  color: var(--text-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  color: var(--text-white);
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
  animation: fadeInUp 1s ease-out 0.6s both;
  margin: 0.5rem;
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--background-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  height: 100%;
  transition: var(--transition-fast);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  transform: scale(1.1);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  margin-bottom: 2rem;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.8), rgba(232, 181, 71, 0.8));
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonial {
  background-color: var(--background-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--secondary-color);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  background-color: var(--background-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-error {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  display: none;
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  display: none;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-medium);
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-medium);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-medium);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .navbar-nav {
    background-color: var(--background-white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .feature-card {
    padding: 2rem 1rem;
  }
  
  .testimonial {
    padding: 2rem 1.5rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero,
  .btn,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
}