/* Elee Tour - Sri Lanka Taxi Service & Tours */
/* Consolidated Stylesheet */

:root {
  --font-heading-name: 'Playfair Display';
  --font-body-name: 'Inter';
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --letter-spacing-heading: 0.5px;
  --letter-spacing-body: 0px;

  --space-base: 1rem;

  --radius-small: 6px;
  --radius-large: 14px;
  --border-width: 1px;

  --shadow-color: 15 23 42;
  --shadow-offset-x: 0px;
  --shadow-offset-y: 4px;
  --shadow-blur: 24px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.12;
  --shadow-custom: 0px 4px 24px 0px rgba(15, 23, 42, 0.12);
  --shadow-custom-hover: 0px 8px 32px 0px rgba(15, 23, 42, 0.2);
}

/* CSS Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Hero Slider */
.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

.slide-dot {
  transition: all 0.3s ease;
}

.slide-dot.active {
  background-color: #ffffff;
  width: 24px;
}

/* Navigation Links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #f59e0b;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Service Cards */
.service-card:hover {
  transform: translateY(-4px);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Review Cards */
.review-card:hover {
  transform: translateY(-2px);
}

.review-card {
  transition: transform 0.3s ease;
}

/* Destination Cards */
.dest-card:hover {
  transform: translateY(-4px);
}

.dest-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-img {
  transition: transform 0.5s ease;
}

.dest-card:hover .dest-img {
  transform: scale(1.05);
}

/* Contact Cards */
.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card {
  transition: transform 0.3s ease;
}

/* Value Cards */
.value-card:hover {
  transform: translateY(-4px);
}

.value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Feature Items */
.feature-item {
  position: relative;
  border-left: 3px solid #f59e0b;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* WhatsApp Button Animation */
@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn {
  animation: pulse-whatsapp 2s infinite;
}

/* WhatsApp CTA Button */
.whatsapp-cta-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  transition: all 0.3s ease;
}

.whatsapp-cta-btn:hover {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* Form Inputs */
.form-input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Tab Buttons */
.tab-btn.active {
  background-color: #f59e0b;
  color: white;
  border-color: #f59e0b;
}

.tab-btn {
  transition: all 0.3s ease;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Filter Buttons */
.filter-btn.active {
  background-color: #f59e0b;
  color: white;
  border-color: #f59e0b;
}

.filter-btn {
  transition: all 0.3s ease;
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.open {
  transform: rotate(180deg);
}

/* Badges */
.badge-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.badge-popular {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.badge-heritage {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.badge-new {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.5rem;
  }
}

/* Mobile Menu */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

/* Selection Styling */
::selection {
  background-color: #f59e0b;
  color: white;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .whatsapp-btn,
  .whatsapp-cta-btn,
  nav,
  footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  a {
    text-decoration: underline;
  }
}