/* ============================================================
   Hassan Travel - Main Stylesheet
   Theme: White & Neutral Tones with Gold/Brown Accents
   Domain: hassan.in
   ============================================================ */

/* ----- CSS Variables / Design Tokens ----- */
:root {
  --color-white: #ffffff;
  --color-off-white: #fafaf8;
  --color-cream: #f5f2eb;
  --color-light-gray: #f0eee9;
  --color-border: #e5e2dc;
  --color-text-primary: #2c2a26;
  --color-text-secondary: #6b6760;
  --color-text-muted: #9c978e;
  --color-accent: #a67c52;      /* warm gold-brown */
  --color-accent-dark: #8c6643;
  --color-accent-light: #c9a87f;
  --color-green: #5a7a5a;
  --color-green-dark: #3d5a3d;
  --color-danger: #c0392b;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --shadow-sm: 0 1px 3px rgba(44, 42, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 42, 38, 0.08);
  --shadow-lg: 0 8px 30px rgba(44, 42, 38, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-dark);
}

ul, ol {
  list-style: none;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-primary);
}

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

/* ----- Header / Navigation ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-cta {
  background: var(--color-accent) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.2s ease !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-accent-dark) !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ----- Hero Section ----- */
.hero {
  padding-top: var(--header-height);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-off-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 42, 38, 0.75) 0%,
    rgba(44, 42, 38, 0.4) 50%,
    rgba(44, 42, 38, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: white;
}

.hero-content h1 {
  color: white;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 0.5rem;
}

.hero-content .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-search {
  display: flex;
  gap: 0;
  max-width: 500px;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-search input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-primary);
  outline: none;
  color: var(--color-text-primary);
}

.hero-search input::placeholder {
  color: var(--color-text-muted);
}

.hero-search button {
  background: var(--color-accent);
  border: none;
  color: white;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-primary);
}

.hero-search button:hover {
  background: var(--color-accent-dark);
}

/* Hero half-image layout for inner pages */
.hero-inner {
  padding-top: var(--header-height);
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: var(--color-off-white);
}

.hero-inner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-inner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 42, 38, 0.7) 0%,
    rgba(44, 42, 38, 0.35) 100%
  );
}

.hero-inner-content {
  position: relative;
  z-index: 1;
  color: white;
}

.hero-inner-content h1 {
  color: white;
}

.hero-inner-content .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-inner-content .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.hero-inner-content .breadcrumb a:hover {
  color: white;
}

.hero-inner-content .breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}

/* ----- Section Common ----- */
.section {
  padding: 80px 0;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ----- Featured Attractions Grid ----- */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.attraction-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.attraction-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.attraction-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.attraction-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.attraction-card-body {
  padding: 24px;
}

.attraction-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.attraction-card-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

.attraction-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.attraction-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.card-link:hover {
  gap: 10px;
}

/* ----- Itineraries ----- */
.itinerary-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.itinerary-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: box-shadow 0.3s ease;
}

.itinerary-card:hover {
  box-shadow: var(--shadow-md);
}

.itinerary-card .duration {
  display: inline-block;
  background: var(--color-cream);
  color: var(--color-accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.itinerary-card h3 {
  margin-bottom: 12px;
}

.itinerary-card ul {
  margin-bottom: 20px;
}

.itinerary-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.itinerary-card ul li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
}

/* ----- Guide / Info Sections ----- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.info-card h4 {
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ----- Gallery (4 images per page) ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* ----- Stats ----- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ----- Testimonials ----- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.testimonial-card .stars {
  color: #e8b84b;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card .author-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ----- CTA ----- */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: var(--font-primary);
}

.btn:hover {
  background: var(--color-accent-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--color-accent-dark);
}

.btn-white:hover {
  background: var(--color-off-white);
  color: var(--color-accent-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

/* ----- Contact Form ----- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  background: var(--color-white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ----- Footer ----- */
.site-footer {
  background: #1f1d1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  display: block;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--color-accent-light);
}

.footer-bottom a:hover {
  color: white;
}

.footer-cookie-notice {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.encrypted-email {
  cursor: pointer;
  color: var(--color-accent-light);
}

.encrypted-email:hover {
  color: white;
}

/* ----- Page Content ----- */
.page-content {
  padding: 60px 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-layout.reverse {
  direction: rtl;
}

.content-layout.reverse > * {
  direction: ltr;
}

.content-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ----- Attraction Detail ----- */
.attraction-detail-header {
  margin-bottom: 40px;
}

.attraction-detail-header .info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.attraction-detail-header .info-row .info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.attraction-tips {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 40px;
}

.attraction-tips h3 {
  margin-bottom: 16px;
}

.attraction-tips ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.attraction-tips ul li::before {
  content: '💡';
  font-size: 1rem;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-layout.reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }

  .hero-search button {
    width: 100%;
  }

  .section {
    padding: 50px 0;
  }

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

  .itinerary-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .gallery-grid img {
    height: 220px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-inner {
    min-height: 35vh;
  }
}

/* ----- Utility ----- */
.text-center { text-align: center; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 40px; }
