/*
Theme Name: Kumud Travels
Theme URI: https://kumudtravels.com
Author: Kumud Travels
Author URI: https://kumudtravels.com
Description: A premium, feature-rich WordPress theme for Kumud Travels - Ahmedabad's trusted travel partner specializing in Jain Tirth Yatra and India Tours. Features package listings, inquiry forms, WhatsApp integration, multilingual support, and stunning visual design.
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: kumud-travels
Tags: travel, jain, pilgrimage, tour-packages, responsive, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready

This theme is built for Kumud Travels, Ahmedabad.
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Nunito:wght@300;400;500;600;700;800&family=Noto+Sans+Gujarati:wght@300;400;500;600;700&display=swap');

/* =========================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================= */
:root {
    /* Brand Colors */
    --primary: #E07B39;
    --primary-dark: #C4612A;
    --primary-light: #F5A263;
    --secondary: #1A4B8C;
    --secondary-dark: #0D3066;
    --secondary-light: #2560B0;
    --accent: #F5A623;
    --accent-dark: #D4891A;
    --golden: #C8962C;
    
    /* Jain Theme Colors */
    --jain-maroon: #8B1A1A;
    --jain-saffron: #FF9933;
    --jain-gold: #D4AF37;
    
    /* Neutral Colors */
    --bg-warm: #FFF8F0;
    --bg-light: #F9F4EE;
    --bg-card: #FFFFFF;
    --text-dark: #2D3436;
    --text-medium: #4A5568;
    --text-light: #718096;
    --text-muted: #A0ADB8;
    --border: #E8DDD0;
    --border-light: #F0EAE0;
    
    /* Status Colors */
    --success: #00B894;
    --warning: #F5A623;
    --error: #E53E3E;
    --info: #3182CE;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E07B39 0%, #C4612A 100%);
    --gradient-secondary: linear-gradient(135deg, #1A4B8C 0%, #0D3066 100%);
    --gradient-warm: linear-gradient(135deg, #FFF8F0 0%, #FFE8CC 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26,75,140,0.85) 0%, rgba(224,123,57,0.75) 100%);
    --gradient-jain: linear-gradient(135deg, #8B1A1A 0%, #C8962C 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5A623 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-card: 0 8px 30px rgba(224,123,57,0.12);
    --shadow-card-hover: 0 16px 50px rgba(224,123,57,0.2);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-gujarati: 'Noto Sans Gujarati', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1280px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
    --z-toast: 1070;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-warm { background: var(--bg-warm); }
.bg-light { background: var(--bg-light); }
.bg-white { background: #fff; }
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-jain { background: var(--gradient-jain); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

.hidden { display: none; }
.visible { display: block; }

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224,123,57,0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(224,123,57,0.2);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.section-divider .line {
    flex: 1;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    max-width: 60px;
}

.section-divider .diamond {
    width: 10px;
    height: 10px;
    background: var(--primary);
    transform: rotate(45deg);
    border-radius: 2px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-bounce);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.15);
    transition: left 0.3s ease;
    skewX(-15deg);
}

.btn:hover::before { left: 100%; }

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(224,123,57,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(224,123,57,0.45);
    color: #fff;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,75,140,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,75,140,0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.45);
    color: #fff;
}

.btn-gold {
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: 0 4px 20px rgba(212,175,55,0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212,175,55,0.45);
    color: #fff;
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-icon { padding: 12px; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(224,123,57,0.1);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* =========================================================
   BADGES
   ========================================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary { background: var(--primary); color: #fff; }
.badge-secondary { background: var(--secondary); color: #fff; }
.badge-success { background: var(--success); color: #fff; }
.badge-warning { background: var(--warning); color: #fff; }
.badge-gold { background: var(--gradient-gold); color: #fff; }
.badge-jain { background: var(--gradient-jain); color: #fff; }
.badge-bestseller {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 2px 8px rgba(255,180,0,0.4);
}
.badge-limited {
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #fff;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,62,62,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(229,62,62,0); }
}

/* =========================================================
   RATINGS
   ========================================================= */
.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating .star {
    color: #FFD700;
    font-size: 0.9rem;
}

.rating .star.empty { color: var(--border); }
.rating-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 4px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-right { animation: fadeInRight 0.6s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-scale { animation: scaleIn 0.4s ease forwards; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   SCROLL TO TOP
   ========================================================= */
.scroll-top {
    position: fixed;
    bottom: 140px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-fixed);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover { transform: translateY(-3px); }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb-section {
    background: var(--gradient-secondary);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('assets/images/pattern-dots.png') repeat;
    opacity: 0.05;
}

.breadcrumb-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.breadcrumb-nav a:hover { color: #fff; }

.breadcrumb-nav span {
    color: var(--accent);
    font-weight: 600;
}

.breadcrumb-nav .separator { color: rgba(255,255,255,0.4); }

/* =========================================================
   LOADING SPINNER
   ========================================================= */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInToast 0.3s ease;
    pointer-events: all;
    border-left: 4px solid var(--success);
}

.toast.error { border-left-color: var(--error); }
.toast.warning { border-left-color: var(--warning); }

@keyframes slideInToast {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 28px 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { background: var(--border); }

.modal-body { padding: 28px; }

/* =========================================================
   BACK TO TOP + PROGRESS BAR
   ========================================================= */
.reading-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: var(--z-toast);
    transition: width 0.1s linear;
}

/* =========================================================
   SKELETON LOADER
   ========================================================= */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* =========================================================
   WORDPRESS CORE COMPATIBILITY
   ========================================================= */
.wp-block-image { margin: 24px 0; }
.alignwide { margin: 0 -40px; }
.alignfull { margin: 0 calc(-50vw + 50%); }
.aligncenter { text-align: center; margin: 0 auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }

.wp-caption { max-width: 100%; margin: 16px 0; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* Entry Content Styles */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
    margin: 32px 0 16px;
    font-family: var(--font-heading);
}

.entry-content ul, .entry-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
    list-style: none;
}

.entry-content ul li::before {
    content: '✦';
    color: var(--primary);
    font-size: 0.6rem;
    margin-right: 10px;
    vertical-align: middle;
}

.entry-content ol { list-style: decimal; }

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-medium);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.entry-content table th {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
}

.entry-content table tr:nth-child(even) { background: var(--bg-light); }

/* Screenshottable */
#content { min-height: 60vh; }
