/*
Theme Name: Shree Travels
Theme URI: https://shreetravels.com
Author: Shree Travels
Author URI: https://shreetravels.com
Description: A modern, responsive travel agency theme with booking functionality, glass-morphism effects, and beautiful animations. Features hero sections, package cards, and more.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shree-travels
Tags: travel, booking, responsive, custom-menu, custom-logo, featured-images, theme-options

Shree Travels WordPress Theme - Your trusted partner for unforgettable journeys.
*/

/* ==========================================
   CSS Variables (Design Tokens)
   ========================================== */
:root {
  /* Colors - Light Mode */
  --background: 210 20% 98%;
  --foreground: 210 40% 10%;
  --card: 0 0% 100%;
  --card-foreground: 210 40% 10%;
  --primary: 199 89% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 45 29% 90%;
  --secondary-foreground: 210 40% 10%;
  --muted: 210 20% 96%;
  --muted-foreground: 210 15% 45%;
  --accent: 199 89% 48%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --border: 210 20% 90%;
  --input: 210 20% 90%;
  --ring: 199 89% 48%;
  --radius: 0.75rem;
  
  /* Custom Colors */
  --ocean: 199 89% 48%;
  --ocean-dark: 199 89% 38%;
  --ocean-light: 199 89% 95%;
  --sand: 45 29% 90%;
  --sand-dark: 45 29% 70%;
  --sunset: 25 95% 53%;
  --palm: 152 69% 31%;
  
  /* Gradients */
  --gradient-ocean: linear-gradient(135deg, hsl(199 89% 48%), hsl(199 89% 38%));
  --gradient-sunset: linear-gradient(135deg, hsl(25 95% 53%), hsl(340 82% 52%));
  
  /* Shadows */
  --shadow-card: 0 4px 20px -2px hsl(199 89% 48% / 0.15);
  --shadow-elevated: 0 20px 40px -10px hsl(210 40% 10% / 0.2);
}

/* Dark Mode */
.dark {
  --background: 210 40% 6%;
  --foreground: 210 20% 98%;
  --card: 210 40% 10%;
  --card-foreground: 210 20% 98%;
  --primary: 199 89% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 30% 15%;
  --secondary-foreground: 210 20% 98%;
  --muted: 210 30% 15%;
  --muted-foreground: 210 15% 60%;
  --border: 210 30% 18%;
  --input: 210 30% 18%;
}

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

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================
   Utility Classes
   ========================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   Glass Effect
   ========================================== */
.glass {
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--border) / 0.5);
}

.glass-dark {
  background: hsl(var(--foreground) / 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--foreground) / 0.2);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-gradient {
  background: var(--gradient-ocean);
  color: hsl(var(--primary-foreground));
  font-weight: 500;
  box-shadow: 0 4px 14px 0 hsl(var(--primary) / 0.4);
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px 0 hsl(var(--primary) / 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--input));
  color: hsl(var(--foreground));
}

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

.btn-ghost {
  background: transparent;
  color: hsl(var(--primary));
}

.btn-ghost:hover {
  background: hsl(var(--accent) / 0.1);
}

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

/* ==========================================
   Navigation
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.main-navigation {
  display: none;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
  color: hsl(var(--primary));
}

.nav-actions {
  display: none;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    hsl(var(--foreground) / 0.3),
    hsl(var(--foreground) / 0.2),
    hsl(var(--foreground) / 0.7)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 0 1rem;
  animation: fadeUp 0.6s ease-out;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title span {
  display: block;
  color: hsl(var(--primary));
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground) / 0.9);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* Hero Search */
.hero-search {
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .search-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.search-input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  height: 3rem;
  background: hsl(var(--card) / 0.8);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.search-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.search-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}

.scroll-indicator div {
  width: 2rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid hsl(var(--primary-foreground) / 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator div span {
  width: 0.375rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary-foreground) / 0.5);
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
  padding: 5rem 0;
  background: hsl(var(--sand));
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: hsl(var(--card));
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   Packages Section
   ========================================== */
.packages-section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  color: hsl(var(--muted-foreground));
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Package Card */
.package-card {
  display: block;
  background: hsl(var(--card));
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.package-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-elevated);
}

.package-image {
  position: relative;
  height: 13rem;
  overflow: hidden;
}

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

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

.package-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.6), transparent);
}

.package-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.package-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: hsl(var(--card) / 0.9);
  backdrop-filter: blur(4px);
  color: hsl(var(--foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.package-content {
  padding: 1.25rem;
}

.package-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.package-card:hover .package-title {
  color: hsl(var(--primary));
}

.package-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.package-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.package-meta svg {
  width: 1rem;
  height: 1rem;
}

.package-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.stars svg {
  width: 1rem;
  height: 1rem;
}

.stars svg.filled {
  fill: hsl(var(--sunset));
  color: hsl(var(--sunset));
}

.stars svg.empty {
  color: hsl(var(--muted));
}

.rating-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
  padding: 5rem 0;
  background: hsl(var(--primary));
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-description {
  color: hsl(var(--primary-foreground) / 0.9);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.cta-btn {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

.cta-btn:hover {
  background: hsl(var(--card) / 0.9);
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}

.footer-site-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: hsl(var(--primary));
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.contact-item svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--muted-foreground) / 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================
   WordPress Specific Styles
   ========================================== */
.wp-block-button__link {
  background: var(--gradient-ocean);
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Page Content */
.page-content,
.entry-content {
  padding: 2rem 0;
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

/* Posts */
.hentry {
  margin-bottom: 3rem;
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.entry-title a {
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}

.entry-title a:hover {
  color: hsl(var(--primary));
}

.entry-meta {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.post-thumbnail {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.pagination a {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.pagination .current {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Comments */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.comment-list {
  list-style: none;
}

.comment {
  padding: 1.5rem;
  background: hsl(var(--card));
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

/* Sidebar & Widgets */
.widget-area {
  padding: 2rem 0;
}

.widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid hsl(var(--primary));
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.widget a:hover {
  color: hsl(var(--primary));
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 5rem 0;
}

.error-404 h1 {
  font-size: 6rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.error-404 p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: hsl(var(--card));
  clip: auto;
  height: auto;
  left: 5px;
  padding: 15px 23px 14px;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999999;
  width: auto;
  height: auto;
  padding: 1rem 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: var(--radius);
}
