/* 
  Malhar Travels - Main Stylesheet
  A responsive design for a travel agency website
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  /* Color Variables */
  --primary-50: #fff7ed;
  --primary-100: #ffedd5;
  --primary-200: #fed7aa;
  --primary-300: #fdba74;
  --primary-400: #fb923c;
  --primary-500: #f97316; /* Main orange */
  --primary-600: #ea580c;
  --primary-700: #c2410c;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Spacing System (8px) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  
  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
}

html {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.5;
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-700);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
}

/* Navigation */
.nav-desktop {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-500);
}

.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-6);
  border-radius: 0.375rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

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

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

/* Mobile menu */
.menu-toggle {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu {
  display: none;
  background-color: white;
  border-top: 1px solid var(--gray-200);
  padding: var(--space-4);
}

.mobile-menu.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 0.375rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--primary-50);
  color: var(--primary-600);
}

.mobile-btn {
  margin-top: var(--space-4);
  display: block;
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/1659438/pexels-photo-1659438.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  color: white;
  padding: var(--space-16) 0;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-6);
  font-size: var(--text-4xl);
}

.hero p {
  font-size: var(--text-lg);
  max-width: 800px;
  margin: 0 auto var(--space-8) auto;
}

/* Sections */
.section {
  padding: var(--space-12) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Page */
.contact-grid {
  display: grid;
  gap: var(--space-8);
}

.contact-info {
  margin-bottom: var(--space-8);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-icon {
  color: var(--primary-500);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-form {
  background-color: white;
  padding: var(--space-8);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Privacy Policy */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-link {
  color: var(--primary-500);
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: var(--gray-800);
  color: white;
  padding: var(--space-8) 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer-link {
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
}

.footer-copyright {
  color: var(--gray-400);
  font-size: var(--text-sm);
}

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

/* Media Queries */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: var(--space-4) 0;
  }
  
  h1 {
    font-size: var(--text-5xl);
  }
  
  .hero {
    padding: var(--space-16) 0;
  }
  
  .hero h1 {
    font-size: var(--text-5xl);
  }
}

.footer {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
    width: 100%;
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: bold;
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: #f97316;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-icon {
  font-size: 1rem;
  margin-top: 0.1rem;
}

.contact-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.contact-link:hover {
  color: #f97316;
}

.contact-address {
  color: #d1d5db;
  font-style: normal;
  line-height: 1.4;
  font-size: 0.9rem;
}

.business-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hours-day {
  color: #f9fafb;
  font-weight: 500;
  font-size: 0.9rem;
}

.hours-time {
  color: #fbbf24;
  font-weight: 600;
  font-size: 0.9rem;
}

.hours-note {
  color: #d1d5db;
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #d1d5db;
  font-size: 0.9rem;
}

.footer-made-by {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 2fr;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .contact-item {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
}