/* Forest Majesty Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C5F2D;
  --secondary-color: #B8860B;
  --primary-dark: #1a3a1b;
  --primary-light: #4a8a4c;
  --secondary-dark: #8b6914;
  --secondary-light: #d4a520;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(44, 95, 45, 0.1);
  --shadow-lg: 0 20px 60px rgba(44, 95, 45, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--primary-dark) !important;
}

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

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.fixed-top {
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  background: var(--secondary-color) !important;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

.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='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.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 1440 320"><path fill="rgba(184, 134, 11, 0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  animation: wave 15s infinite linear;
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

.hero-title {
  font-size: 4.5rem !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
  margin-bottom: 2rem !important;
}

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

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.4rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

/* Booking Widget */
.booking-widget {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 10;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.booking-widget .card {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  border: none !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-lg) !important;
}

.booking-widget .card-body {
  padding: 2rem !important;
}

.form-label {
  font-weight: 600 !important;
  color: var(--primary-dark) !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.9rem;
}

.form-control,
.form-select,
.form-control-lg,
.form-select-lg {
  border: 2px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  font-size: 1rem !important;
  background-color: var(--white) !important;
}

.form-control:focus,
.form-select:focus,
.form-control-lg:focus,
.form-select-lg:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(44, 95, 45, 0.15) !important;
  outline: none !important;
}

/* Buttons */
.btn {
  border-radius: 10px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3) !important;
}

.btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(44, 95, 45, 0.4) !important;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3) !important;
}

.btn-secondary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(184, 134, 11, 0.4) !important;
}

.btn-light {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

.btn-light:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px) !important;
}

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

.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white) !important;
}

.card.shadow {
  box-shadow: var(--shadow) !important;
}

.card.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(44, 95, 45, 0.2) !important;
}

.card-body {
  padding: 2rem !important;
}

.card-title {
  font-weight: 700 !important;
  color: var(--primary-dark) !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: var(--text-light) !important;
  line-height: 1.8;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* Hover Lift Effect */
.hover-lift {
  transition: var(--transition);
}

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

/* Badge */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

/* Icons */
.bi {
  vertical-align: middle;
}

.bi-star-fill {
  color: var(--secondary-color) !important;
}

.bi-house-door,
.bi-egg-fried,
.bi-binoculars,
.bi-heart-pulse,
.bi-people,
.bi-bicycle,
.bi-tree,
.bi-heart,
.bi-geo-alt,
.bi-tree-fill,
.bi-shield-check {
  font-size: 3rem;
  color: var(--primary-color) !important;
  transition: var(--transition);
}

.card:hover .bi {
  transform: scale(1.1) rotate(5deg);
}

/* Section Spacing */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-4 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-3 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Background Colors */
.bg-light {
  background-color: #f8faf9 !important;
}

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

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}

.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
}

.bg-danger {
  background: #dc3545 !important;
}

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

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

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

.text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

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

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

.text-success {
  color: #10b981 !important;
}

.text-warning {
  color: #f59e0b !important;
}

/* Image Styling */
.img-fluid {
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.rounded {
  border-radius: 15px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

/* About Gallery Container */
.about-gallery-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.7) 0%, rgba(184, 134, 11, 0.7) 100%);
  opacity: 0;
  transition: var(--transition);
}

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

/* Timeline */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
  border-left: 3px solid var(--primary-color);
}

.timeline-item:last-child {
  border-left: none;
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -1rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--secondary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-color);
}

/* Sticky Elements */
.sticky-top {
  position: sticky !important;
  top: 80px;
  z-index: 100;
}

/* Season Slider */
.season-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.season-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

.season-slider:hover .season-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(44, 95, 45, 0.9) 100%);
}

/* Accommodation Card */
.accommodation-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: var(--transition);
}

.accommodation-card .card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 95, 45, 0.95) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.accommodation-card:hover .card-hover-overlay {
  opacity: 1;
}

.amenities-quick {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.amenities-quick .bi {
  font-size: 1.5rem;
  color: var(--secondary-color) !important;
}

/* Difficulty Rating */
.difficulty-rating {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.difficulty-rating .bi-circle-fill {
  font-size: 0.75rem;
}

/* Carousel */
.carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-item {
  height: 600px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 2rem;
}

.carousel-indicators button {
  background-color: var(--secondary-color) !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
}

/* Video Card */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.video-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.video-card:hover::after {
  background: rgba(44, 95, 45, 0.5);
}

.video-card .bi-play-circle-fill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem !important;
  color: var(--white) !important;
  z-index: 10;
  transition: var(--transition);
}

.video-card:hover .bi-play-circle-fill {
  transform: translate(-50%, -50%) scale(1.2);
}

/* Accordion */
.accordion {
  border-radius: 15px;
  overflow: hidden;
}

.accordion-item {
  border: none !important;
  border-bottom: 2px solid #e5e7eb !important;
  background: transparent !important;
}

.accordion-item:last-child {
  border-bottom: none !important;
}

.accordion-button {
  background: transparent !important;
  color: var(--primary-dark) !important;
  font-weight: 600 !important;
  padding: 1.5rem !important;
  font-size: 1.1rem !important;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-light) !important;
  color: var(--primary-color) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232C5F2D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
  padding: 1.5rem !important;
  color: var(--text-light) !important;
  line-height: 1.8;
}

/* Alert */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1.5rem !important;
  font-weight: 500 !important;
}

.alert .bi {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

footer a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

footer .list-unstyled li {
  margin-bottom: 0.75rem;
}

footer .bi {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  transition: var(--transition);
}

footer .bi:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.2);
}

/* Object Fit */
.object-fit-cover {
  object-fit: cover !important;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden !important;
}

/* Validation */
.needs-validation .form-control:invalid {
  border-color: #dc3545 !important;
}

.needs-validation .form-control:valid {
  border-color: #10b981 !important;
}

.invalid-feedback {
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem !important;
  }
  
  .display-1 {
    font-size: 3.5rem !important;
  }
  
  .display-2 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2.25rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .booking-widget {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 120px 0 50px;
  }
  
  .navbar-collapse {
    background: rgba(44, 95, 45, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .carousel-item {
    height: 400px;
  }
  
  .sticky-top {
    position: relative !important;
    top: auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .btn-lg {
    padding: 0.85rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .booking-widget .card-body {
    padding: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .season-slider {
    height: 300px;
  }
  
  .about-gallery-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .display-1,
  .display-2,
  .display-3,
  .display-4,
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .bi-house-door,
  .bi-egg-fried,
  .bi-binoculars,
  .bi-heart-pulse,
  .bi-people,
  .bi-bicycle,
  .bi-tree,
  .bi-heart,
  .bi-geo-alt {
    font-size: 2rem;
  }
  
  .booking-widget {
    width: 95%;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  .video-card .bi-play-circle-fill {
    font-size: 3rem !important;
  }
}

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

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

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

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

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

.slide-in-left {
  animation: slideInLeft 1s ease;
}

.slide-in-right {
  animation: slideInRight 1s ease;
}

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

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: var(--white);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--white);
}

/* Focus Visible */
:focus-visible {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 3px !important;
}

/* Print Styles */
@media print {
  .navbar,
  .booking-widget,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}