/*
Theme Name: Saitirthyatra Custom
Theme URI: https://saitirthyatra.com
Author: Your Name
Description: A custom spiritual travel theme based on Figma design.
Version: 1.0
Text Domain: saitirthyatra
*/

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Figma Colors */
:root { --yatra-orange: #FF9933; --yatra-blue: #2C3E50; }

.hero { 
    background: var(--yatra-blue); 
    color: white; 
    padding: 100px 0; 
    text-align: center; 
}
.btn-primary { 
    background: var(--yatra-orange); 
    padding: 12px 30px; 
    border-radius: 50px; 
    color: white; 
    text-decoration: none; 
}

/* ==========================================================================
   Header & Navigation Styling
   ========================================================================== */
.site-header {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky; /* Keeps it at the top when scrolling! */
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    text-decoration: none;
    color: var(--yatra-blue);
}

.site-logo h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Menu Links */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-list li a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li.current-menu-item a {
    color: var(--yatra-orange); /* Highlights the page you are currently on */
}

/* Header Button */
.btn-outline {
    border: 2px solid var(--yatra-orange);
    color: var(--yatra-orange);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--yatra-orange);
    color: white;
}

/* Navigation Styling */
nav ul { list-style: none; display: flex; gap: 25px; margin: 0; }
nav ul li a { text-decoration: none; color: var(--yatra-blue); font-weight: 600; }
nav ul li a:hover { color: var(--yatra-orange); }

/* Card Improvements */
.tour-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}
.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Single Post Styling */
.yatra-details h1 {
    border-bottom: 2px solid var(--yatra-orange);
    display: inline-block;
    padding-bottom: 10px;
}

.entry-content p {
    margin-bottom: 20px;
}

.post-hero {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Hero Background Updates --- */
.hero { 
    background-color: var(--yatra-blue); /* Fallback color */
    background-size: cover;
    background-position: center;
    color: white; 
    padding: 120px 0; 
    text-align: center; 
}

.hero h1 { 
    font-size: 48px; 
    margin-bottom: 10px; 
}

/* --- Figma-Style Search Box --- */
.yatra-search-box {
    background: white;
    border-radius: 50px;
    padding: 10px 15px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: #333;
}

.search-form-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-field {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    padding: 5px 20px;
}

.search-field label {
    font-size: 12px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.search-field input, .search-field select {
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--yatra-blue);
    font-weight: 600;
    width: 100%;
}

.search-divider {
    width: 1px;
    height: 40px;
    background: #ddd;
}

.btn-search {
    background: var(--yatra-orange);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-search:hover {
    background: #e68a00;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Soft shadow */
    z-index: 1000; /* Keeps it on top of other content */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover Animation */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px); /* Grows and lifts slightly */
    background-color: #1ebe57;
}

/* Sizing the SVG Icon */
.whatsapp-icon {
    width: 35px;
    height: 35px;
}

/* ==========================================================================
   Itinerary Accordion
   ========================================================================== */
.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: #fff;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--yatra-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.accordion-header:hover {
    background: #f9f9f9;
}

/* When the accordion is clicked/opened */
.accordion-header.active {
    background: var(--yatra-orange);
    color: white;
}

/* The hidden content inside */
.accordion-content {
    padding: 0 20px;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

/* When active, expand the content */
.accordion-header.active + .accordion-content {
    padding: 15px 20px;
    max-height: 500px; /* Allows the box to expand smoothly */
}

/* ==========================================================================
   Inclusions & Exclusions Styling
   ========================================================================== */
.inc-exc-content ul {
    list-style: none; /* Removes default dots */
    padding-left: 0;
    margin: 0;
}

.inc-exc-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
}

/* Green Checkmarks for Inclusions */
.inclusions-box .inc-exc-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

/* Red Crosses for Exclusions */
.exclusions-box .inc-exc-content ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
    font-size: 18px;
}
/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 50px;
}

/* On mobile screens, stack them on top of each other */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.info-item {
    margin-bottom: 20px;
}
.info-item strong {
    color: var(--yatra-orange);
    font-size: 18px;
}
.info-item p {
    margin: 5px 0 0 0;
    color: #444;
}

/* Contact Form Styling */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.yatra-contact-form .form-group {
    margin-bottom: 20px;
}

.yatra-contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--yatra-blue);
    font-size: 14px;
}

.yatra-contact-form input, 
.yatra-contact-form select, 
.yatra-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box; /* Prevents fields from spilling out */
    transition: border-color 0.3s;
}

.yatra-contact-form input:focus, 
.yatra-contact-form select:focus, 
.yatra-contact-form textarea:focus {
    outline: none;
    border-color: var(--yatra-orange);
}

.wpcf7-submit { width: 100%; border: none; cursor: pointer; padding: 15px; border-radius: 8px; }