/* 
   LANDING PAGE PREMIUM CSS STYLE - TOUR ĐÀ LẠT 3N3Đ
   Theme: Pine Forest & Misty Highlands (Xanh thông, sương mù & gỗ ấm)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #1b4d3e;     /* Xanh lá thông sâu */
  --primary-light: #2c6e49;     /* Xanh lá thông sáng */
  --secondary-color: #d68c45;   /* Cam đất ấm áp */
  --secondary-light: #f3c178;   /* Vàng nắng nhạt */
  --dark-color: #122c23;        /* Xanh thông đậm đen */
  --light-color: #f7f9f6;       /* Trắng sương mờ */
  --text-dark: #223c30;         /* Chữ xanh tối */
  --text-muted: #627a6d;        /* Chữ xám nhạt */
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(27, 77, 62, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(27, 77, 62, 0.1), 0 10px 10px -5px rgba(27, 77, 62, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light-color);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typography Utility */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
  background-color: #bf7834;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* Header & Navigation */
.header-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(18, 44, 35, 0.7), transparent);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.logo span {
  color: var(--secondary-light);
}

.header-phone {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
}

.header-phone:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5% 4rem 5%;
  background-color: var(--dark-color);
  color: var(--white);
  overflow: hidden;
}

/* Simulated image check background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(18, 44, 35, 0.6), rgba(18, 44, 35, 0.95)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Fallback if local image not copied yet - CSS gradient block pattern only */
.hero-bg-fallback {
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(243, 193, 120, 0.2);
  color: var(--secondary-light);
  border: 1px solid rgba(243, 193, 120, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

/* Quick Pricing Grid (Landing Page Content) */
.quick-pricing-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
  text-align: left;
}

.quick-pricing-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px dashed rgba(27, 77, 62, 0.1);
  padding-bottom: 0.5rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-item {
  background: var(--white);
  border: 1px solid rgba(27, 77, 62, 0.05);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pricing-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.pricing-stars {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.pricing-item h4 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.price-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Generic Section Styles */
section {
  padding: 6rem 5%;
}

/* Highlights Section */
.highlights {
  background-color: var(--white);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.highlight-box {
  background: var(--light-color);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(27, 77, 62, 0.02);
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border-color: rgba(27, 77, 62, 0.08);
}

.highlight-icon {
  width: 70px;
  height: 70px;
  background: rgba(27, 77, 62, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
}

.highlight-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.highlight-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Detailed Itinerary Section */
.itinerary {
  background-color: var(--light-color);
}

.itinerary-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background-color: rgba(27, 77, 62, 0.15);
}

.itinerary-day {
  position: relative;
  padding-left: 80px;
  margin-bottom: 4rem;
}

.itinerary-day:last-child {
  margin-bottom: 0;
}

.day-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--light-color);
}

.day-badge span {
  font-size: 1.1rem;
}

.day-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.day-desc h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.day-desc li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.day-desc li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.day-img {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 200px;
}

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

.day-card:hover .day-img img {
  transform: scale(1.05);
}

/* Why Us Section */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.why-left h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
}

.why-dot {
  width: 24px;
  height: 24px;
  background: var(--secondary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.why-item h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.why-right-card {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.why-right-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-light);
}

.why-right-card ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.why-right-card li {
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.why-right-card li:last-child {
  border-bottom: none;
}

/* FAQ Section */
.faq {
  background-color: var(--light-color);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-q::before {
  content: 'Q:';
  color: var(--secondary-color);
  font-weight: 800;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 1.5rem;
}

/* Lead Capture Form Section */
.register {
  background: var(--white);
}

.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

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

.form-header h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(27, 77, 62, 0.15);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--light-color);
  transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.form-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
}

/* Footer styling */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 4rem 5% 2rem 5%;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}

.footer-about h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary-light);
}

.footer-contact li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

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

/* Floating Contact Badges */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-phone {
  background-color: #03C988;
}

.float-zalo {
  background-color: #0068FF;
  font-weight: 800;
  font-size: 0.95rem;
}

.float-messenger {
  background-color: #A33A89;
}

/* Modern Glassmorphic Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 44, 35, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  max-width: 500px;
  width: 90%;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--glass-border);
  position: relative;
  animation: modalEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: rgba(3, 201, 136, 0.15);
  color: #03C988;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
}

.modal-content h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .day-card {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 4rem 5%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .itinerary-timeline::before {
    left: 20px;
  }
  
  .itinerary-day {
    padding-left: 50px;
  }
  
  .day-badge {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }
  
  .day-badge span {
    font-size: 0.9rem;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
  }
}
