/*
Theme Name: Patel's Plan
Theme URI: https://example.com/patels-plan
Author: Patel's Plan
Author URI: https://example.com
Description: A custom WordPress theme for Patel's Plan, a travel planning business focused on destinations across Maharashtra. Features a hero enquiry form that routes every lead straight to WhatsApp.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patels-plan
*/

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root{
  --pp-black:        #05070a;
  --pp-navy:          #0a1628;
  --pp-navy-soft:     #101f38;
  --pp-white:         #ffffff;
  --pp-offwhite:      #f4f6f9;
  --pp-blue:          #2f6fed;
  --pp-blue-light:    #7fb2ff;
  --pp-line:          rgba(255,255,255,0.14);
  --pp-line-dark:     rgba(10,22,40,0.12);

  --pp-font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --pp-font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --pp-radius: 2px;
  --pp-container: 1180px;
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--pp-font-body);
  color: var(--pp-navy);
  background: var(--pp-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--pp-font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; }
button, input, select{ font-family: inherit; font-size: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible{
  outline: 2px solid var(--pp-blue-light);
  outline-offset: 3px;
}

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

.eyebrow{
  font-family: var(--pp-font-display);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pp-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 26px;
  height: 1px;
  background: var(--pp-blue);
  display: inline-block;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--pp-font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border-radius: var(--pp-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: var(--pp-blue);
  color: var(--pp-white);
}
.btn-primary:hover{ background: #1e5adb; }
.btn-outline{
  background: transparent;
  border-color: var(--pp-line);
  color: var(--pp-white);
}
.btn-outline:hover{ border-color: var(--pp-white); }

/* ==========================================================================
   2. Site header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pp-black);
  border-bottom: 1px solid var(--pp-line);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.site-logo{
  font-family: var(--pp-font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--pp-white);
  letter-spacing: -0.01em;
}
.site-logo span{ color: var(--pp-blue-light); }
.primary-menu{
  display: flex;
  align-items: center;
  gap: 34px;
}
.primary-menu a{
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease;
}
.primary-menu a:hover{ color: var(--pp-white); }
.header-cta{
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu-toggle{
  display: none;
  background: none;
  border: 1px solid var(--pp-line);
  color: var(--pp-white);
  padding: 8px 12px;
  border-radius: var(--pp-radius);
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero{
  position: relative;
  background: linear-gradient(180deg, var(--pp-black) 0%, var(--pp-navy) 100%);
  color: var(--pp-white);
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero-route{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}
.hero-route path{
  fill: none;
  stroke: var(--pp-blue-light);
  stroke-width: 1.4;
  stroke-dasharray: 6 8;
  animation: pp-dash 40s linear infinite;
}
.hero-route circle{ fill: var(--pp-blue-light); }
.hero-route .stop-label{
  font-family: var(--pp-font-display);
  font-size: 11px;
  fill: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes pp-dash{ to{ stroke-dashoffset: -400; } }
@media (prefers-reduced-motion: reduce){
  .hero-route path{ animation: none; }
}

.hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.hero-copy h1{
  font-size: clamp(34px, 4.4vw, 54px);
  margin-bottom: 20px;
}
.hero-copy h1 em{
  font-style: normal;
  color: var(--pp-blue-light);
}
.hero-copy .lede{
  font-size: 17.5px;
  color: rgba(255,255,255,0.72);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-stats{
  display: flex;
  gap: 34px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--pp-line);
}
.hero-stats div strong{
  display: block;
  font-family: var(--pp-font-display);
  font-size: 26px;
  color: var(--pp-white);
}
.hero-stats div span{
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero enquiry form (card) */
.hero-form{
  position: relative;
  background: var(--pp-white);
  color: var(--pp-navy);
  border-radius: var(--pp-radius);
  padding: 34px 32px 30px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.hero-form::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pp-blue), var(--pp-blue-light));
}
.hero-form h2{
  font-size: 20px;
  margin-bottom: 4px;
}
.hero-form .form-sub{
  font-size: 13.5px;
  color: #566277;
  margin-bottom: 22px;
}
.field{
  margin-bottom: 16px;
}
.field label{
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #33415a;
  margin-bottom: 6px;
}
.field input,
.field select{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dde6;
  border-radius: var(--pp-radius);
  background: var(--pp-offwhite);
  color: var(--pp-navy);
}
.field input:focus,
.field select:focus{
  border-color: var(--pp-blue);
  background: var(--pp-white);
}
.field-error{
  display: none;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
}
.field.has-error input,
.field.has-error select{ border-color: #c0392b; }
.field.has-error .field-error{ display: block; }

.hero-form .btn{
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.form-note{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7b869a;
  margin-top: 14px;
}
.form-note svg{ flex: none; width: 15px; height: 15px; }
.form-status{
  font-size: 13px;
  margin-top: 12px;
  display: none;
}
.form-status.is-visible{ display: block; }
.form-status.is-error{ color: #c0392b; }
.form-status.is-success{ color: #1f8a4c; }

/* ==========================================================================
   4. Section scaffolding
   ========================================================================== */
.section{ padding: 90px 0; }
.section-tight{ padding: 70px 0; }
.section-dark{
  background: var(--pp-navy);
  color: var(--pp-white);
}
.section-offwhite{ background: var(--pp-offwhite); }
.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2{ font-size: clamp(26px, 3vw, 36px); }
.section-head p{ color: #566277; font-size: 16px; }
.section-dark .section-head p{ color: rgba(255,255,255,0.68); }

/* ==========================================================================
   5. Destinations grid
   ========================================================================== */
.destinations-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--pp-line-dark);
  border: 1px solid var(--pp-line-dark);
}
.destination-card{
  background: var(--pp-white);
  padding: 30px 26px;
  transition: background .2s ease;
}
.destination-card:hover{ background: var(--pp-offwhite); }
.destination-card .d-index{
  font-family: var(--pp-font-display);
  font-size: 12px;
  color: var(--pp-blue);
  letter-spacing: 0.08em;
}
.destination-card h3{
  font-size: 19px;
  margin: 10px 0 8px;
}
.destination-card p{
  font-size: 14px;
  color: #566277;
  margin-bottom: 0;
}

/* ==========================================================================
   6. Why us / process
   ========================================================================== */
.process-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.process-item{
  border-top: 2px solid var(--pp-blue);
  padding-top: 18px;
}
.process-item .p-num{
  font-family: var(--pp-font-display);
  font-size: 13px;
  color: var(--pp-blue-light);
}
.process-item h3{ font-size: 18px; margin: 8px 0; }
.process-item p{ font-size: 14.5px; color: rgba(255,255,255,0.68); }

/* ==========================================================================
   7. CTA band
   ========================================================================== */
.cta-band{
  background: var(--pp-blue);
  color: var(--pp-white);
  padding: 56px 0;
}
.cta-band .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2{ font-size: 26px; margin: 0; }
.cta-band p{ margin: 6px 0 0; color: rgba(255,255,255,0.85); }
.cta-band .btn-primary{ background: var(--pp-black); }
.cta-band .btn-primary:hover{ background: #000; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer{
  background: var(--pp-black);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--pp-line);
}
.footer-brand .site-logo{ margin-bottom: 12px; }
.footer-brand p{ font-size: 14px; max-width: 34ch; color: rgba(255,255,255,0.55); }
.footer-col h4{
  color: var(--pp-white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col li{ margin-bottom: 10px; font-size: 14.5px; }
.footer-col a:hover{ color: var(--pp-white); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* WhatsApp floating button */
.wa-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1ebe5b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.wa-float svg{ width: 28px; height: 28px; fill: var(--pp-white); }

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .destinations-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-list{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .primary-menu{ display: none; }
  .menu-toggle{ display: inline-flex; }
}
@media (max-width: 560px){
  .destinations-grid{ grid-template-columns: 1fr; }
  .hero{ padding: 64px 0 70px; }
  .cta-band .container{ flex-direction: column; align-items: flex-start; }
}
