/*
Theme Name: Purvika Travels
Theme URI: https://gitlab.com/na-group2400125/NA-project
Author: Purvika Travels
Author URI: https://purvikatravels.example
Description: A modern, responsive WordPress theme for Purvika Travels - a tours and travels company with a fleet of Force Urbania and Tempo Traveller vehicles. Fully compatible with Elementor page builder and Contact Form 7.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purvika-travels
Tags: travel, business, elementor, contact-form-7, custom-logo, responsive, two-columns, custom-menu, featured-images
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ==========================================================================
   Base / Reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --pt-primary: #0d3b66;
  --pt-accent: #f4a259;
  --pt-accent-dark: #e08e3c;
  --pt-dark: #1a1a2e;
  --pt-light: #f7f9fb;
  --pt-muted: #6b7280;
  --pt-white: #ffffff;
  --pt-radius: 12px;
  --pt-shadow: 0 10px 30px rgba(13,59,102,.12);
  --pt-maxw: 1200px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--pt-dark);
  line-height: 1.65;
  background: var(--pt-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pt-primary); text-decoration: none; }
a:hover { color: var(--pt-accent-dark); }
h1, h2, h3, h4 { color: var(--pt-primary); line-height: 1.2; margin-top: 0; }

.pt-container {
  width: 100%;
  max-width: var(--pt-maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.pt-btn {
  display: inline-block;
  background: var(--pt-accent);
  color: var(--pt-dark);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.pt-btn:hover { background: var(--pt-accent-dark); color: #fff; transform: translateY(-2px); }

.pt-btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.pt-btn-outline:hover { background: #fff; color: var(--pt-primary); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--pt-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.site-header .pt-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo,
.site-branding img { max-height: 54px; width: auto; }
.site-title { font-size: 1.4rem; margin: 0; }
.site-title a { color: var(--pt-primary); }
.site-description { margin: 0; font-size: .8rem; color: var(--pt-muted); }

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-navigation a { color: var(--pt-dark); font-weight: 600; }
.main-navigation a:hover { color: var(--pt-accent-dark); }

.menu-toggle {
  display: none;
  background: var(--pt-primary);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.pt-hero {
  background: linear-gradient(120deg, rgba(13,59,102,.92), rgba(26,26,46,.85)),
              url('assets/img/hero.svg') center/cover no-repeat;
  color: #fff;
  padding: 110px 0;
  text-align: center;
}
.pt-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.pt-hero p { font-size: 1.2rem; max-width: 680px; margin: 0 auto 34px; opacity: .95; }
.pt-hero .pt-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Sections
   ========================================================================== */
.pt-section { padding: 80px 0; }
.pt-section.alt { background: var(--pt-light); }
.pt-section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.pt-section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pt-section-head p { color: var(--pt-muted); font-size: 1.1rem; }

/* Fleet */
.pt-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.pt-fleet-card {
  background: #fff;
  border-radius: var(--pt-radius);
  overflow: hidden;
  box-shadow: var(--pt-shadow);
  transition: transform .25s ease;
}
.pt-fleet-card:hover { transform: translateY(-6px); }
.pt-fleet-card .pt-fleet-img { background: var(--pt-light); padding: 24px; }
.pt-fleet-card .pt-fleet-img img { margin: 0 auto; max-height: 170px; }
.pt-fleet-body { padding: 24px 26px 30px; }
.pt-fleet-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pt-fleet-body ul { list-style: none; padding: 0; margin: 14px 0 0; }
.pt-fleet-body li { padding: 6px 0 6px 26px; position: relative; color: var(--pt-muted); }
.pt-fleet-body li::before { content: '\2713'; position: absolute; left: 0; color: var(--pt-accent-dark); font-weight: 700; }

/* Features */
.pt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.pt-feature {
  text-align: center;
  padding: 30px 22px;
  background: #fff;
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow);
}
.pt-feature .pt-feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pt-accent); color: var(--pt-dark);
  border-radius: 50%; font-size: 1.6rem;
}

/* Booking / Contact */
.pt-booking { background: var(--pt-primary); color: #fff; }
.pt-booking h2 { color: #fff; }
.pt-booking .pt-booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.pt-booking .pt-contact-info li { list-style: none; margin: 0 0 16px; padding-left: 0; }
.pt-booking ul { padding: 0; }
.pt-booking-form-wrap { background: #fff; color: var(--pt-dark); padding: 34px; border-radius: var(--pt-radius); }

/* CF7 form styling fallback */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea,
.pt-fallback-form input,
.pt-fallback-form select,
.pt-fallback-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin: 6px 0 14px;
  border: 1px solid #d6dbe1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus { outline: none; border-color: var(--pt-accent); }
.wpcf7-form input[type="submit"],
.pt-fallback-form button {
  background: var(--pt-accent);
  color: var(--pt-dark);
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.wpcf7-form input[type="submit"]:hover { background: var(--pt-accent-dark); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--pt-dark); color: #cbd2d9; padding: 50px 0 24px; }
.site-footer a { color: #cbd2d9; }
.site-footer a:hover { color: var(--pt-accent); }
.pt-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 30px; margin-bottom: 30px; }
.pt-footer-grid h4 { color: #fff; }
.pt-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .9rem; }

/* Content (pages/posts) */
.pt-content { padding: 60px 0; }
.pt-content .entry-title { margin-bottom: 20px; }
.widget-area { margin-top: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  .main-navigation {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    display: none;
  }
  .main-navigation.toggled { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  .main-navigation li { padding: 10px 0; border-bottom: 1px solid #eee; }
  .pt-booking .pt-booking-inner { grid-template-columns: 1fr; }
}
