/*
Theme Name: Spark Travels & Tours
Theme URI: https://spark.aromanish.com
Author: Spark Travels and Tours
Author URI: https://spark.aromanish.com
Description: A fully customizable travel and tours theme for Spark Travels - featuring Karachi, Sindh, Pakistan & Worldwide tours.
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: spark-travels
Tags: travel, tours, customizable, responsive, karachi
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #1d3557;
  --accent: #f4a261;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --border-radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; font-size: 16px; }
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 { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--secondary); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--secondary); color: var(--white); }
.section-dark h1,.section-dark h2,.section-dark h3 { color: var(--white); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; transition: var(--transition); border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: transparent; color: var(--secondary); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #e07b3a; border-color: #e07b3a; color: var(--white); }

/* ===== SECTION HEADING ===== */
.section-heading { margin-bottom: 50px; }
.section-heading .label { display: inline-block; color: var(--primary); font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-heading p { color: var(--gray); font-size: 17px; max-width: 600px; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin: 0 auto; }

/* ===== HEADER ===== */
#masthead { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 22px; }
.logo-text .site-name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--secondary); display: block; line-height: 1.1; }
.logo-text .tagline { font-size: 11px; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; }
#primary-navigation ul { display: flex; gap: 8px; align-items: center; }
#primary-navigation ul li a { padding: 8px 14px; border-radius: 6px; font-weight: 500; color: var(--dark); font-size: 14px; }
#primary-navigation ul li a:hover, #primary-navigation ul li.current-menu-item a { color: var(--primary); background: rgba(230,57,70,0.07); }
#primary-navigation ul li.menu-btn a { background: var(--primary); color: var(--white); border-radius: 50px; padding: 10px 22px; }
#primary-navigation ul li.menu-btn a:hover { background: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: 2px solid var(--primary); color: var(--primary); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 18px; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--secondary) 0%, #2d6a9f 50%, #1a2a4a 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('assets/images/hero-bg.jpg'); background-size: cover; background-position: center; opacity: 0.25; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); color: var(--white); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 500; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.2); }
.hero h1 { font-size: clamp(36px, 6vw, 68px); color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 32px; font-weight: 700; color: var(--white); font-family: var(--font-heading); }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }
.hero-search { background: var(--white); border-radius: var(--border-radius); padding: 24px; box-shadow: var(--shadow-lg); margin-top: 30px; }
.hero-search h3 { font-size: 16px; margin-bottom: 16px; color: var(--secondary); }
.search-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-form .form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.search-form .form-group select, .search-form .form-group input { width: 100%; padding: 12px 16px; border: 1.5px solid #dee2e6; border-radius: 8px; font-size: 14px; color: var(--dark); }

/* ===== CARDS ===== */
.card { background: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.card:hover .card-img img { transform: scale(1.05); }
.card-badge { position: absolute; top: 14px; left: 14px; background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.card-badge.featured { background: var(--accent); }
.card-body { padding: 24px; }
.card-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.card-meta span { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.card-body h3 { font-size: 20px; margin-bottom: 10px; }
.card-body p { color: var(--gray); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-top: 1px solid #f0f0f0; }
.price { font-size: 22px; font-weight: 700; color: var(--primary); font-family: var(--font-heading); }
.price small { font-size: 13px; font-weight: 400; color: var(--gray); font-family: var(--font-body); }

/* ===== DESTINATIONS ===== */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 20px; }
.dest-card { position: relative; border-radius: var(--border-radius); overflow: hidden; cursor: pointer; }
.dest-card img { width: 100%; height: 200px; object-fit: cover; transition: var(--transition); }
.dest-card:first-child { grid-row: span 2; }
.dest-card:first-child img { height: 100%; min-height: 420px; }
.dest-card:hover img { transform: scale(1.05); }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.dest-overlay h3 { color: var(--white); font-size: 20px; }
.dest-overlay p { color: rgba(255,255,255,0.8); font-size: 13px; }

/* ===== FEATURES ===== */
.feature-box { text-align: center; padding: 36px 24px; }
.feature-icon { width: 72px; height: 72px; background: rgba(230,57,70,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }
.feature-box h3 { font-size: 20px; margin-bottom: 10px; }
.feature-box p { color: var(--gray); font-size: 14px; }

/* ===== PRICING ===== */
.pricing-card { background: var(--white); border-radius: var(--border-radius); padding: 40px 32px; box-shadow: var(--shadow); border: 2px solid transparent; transition: var(--transition); text-align: center; }
.pricing-card.featured { border-color: var(--primary); position: relative; }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 4px 20px; border-radius: 50px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.pricing-badge { display: inline-block; background: var(--light); color: var(--gray); padding: 4px 14px; border-radius: 50px; font-size: 13px; margin-bottom: 20px; }
.pricing-card .price { font-size: 48px; color: var(--secondary); display: block; margin-bottom: 4px; }
.pricing-card .price-note { color: var(--gray); font-size: 14px; margin-bottom: 24px; }
.pricing-features { text-align: left; margin-bottom: 32px; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.pricing-features li.no::before { content: '✕'; color: #ccc; }
.pricing-features li.no { color: #ccc; }

/* ===== TESTIMONIALS ===== */
.testimonial { background: var(--white); border-radius: var(--border-radius); padding: 36px; box-shadow: var(--shadow); }
.testimonial-stars { color: var(--accent); font-size: 18px; margin-bottom: 16px; }
.testimonial p { font-size: 15px; color: var(--gray); font-style: italic; margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.author-info strong { display: block; font-size: 15px; color: var(--secondary); }
.author-info span { font-size: 13px; color: var(--gray); }

/* ===== BLOG ===== */
.blog-card .card-img img { height: 240px; }
.blog-card .card-body h3 { font-size: 19px; line-height: 1.4; }
.blog-category { display: inline-block; background: rgba(230,57,70,0.1); color: var(--primary); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }

/* ===== ABOUT PAGE ===== */
.about-img { border-radius: var(--border-radius); overflow: hidden; }
.about-img img { width: 100%; height: 500px; object-fit: cover; }
.about-content { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.value-item { background: var(--light); padding: 20px; border-radius: 10px; }
.value-item h4 { font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.value-item p { font-size: 13px; color: var(--gray); }
.team-card { text-align: center; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; background: var(--light); border: 4px solid var(--white); box-shadow: var(--shadow); }
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-size: 13px; font-weight: 600; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h3 { font-size: 26px; margin-bottom: 16px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: rgba(230,57,70,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-detail h4 { font-size: 15px; margin-bottom: 4px; }
.contact-detail p { color: var(--gray); font-size: 14px; }
.contact-form { background: var(--white); border-radius: var(--border-radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid #dee2e6; border-radius: 8px; font-size: 15px; transition: var(--transition); font-family: var(--font-body); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 80px 0; text-align: center; }
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
#colophon { background: #0d1b2a; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .site-name { color: var(--white); font-size: 22px; font-family: var(--font-heading); font-weight: 700; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 15px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-widget h4 { color: var(--white); font-size: 16px; font-family: var(--font-heading); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,0.1); }
.footer-widget ul li { margin-bottom: 10px; }
.footer-widget ul li a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-widget ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--light); padding: 14px 0; }
.breadcrumb-list { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.breadcrumb-list li::after { content: '›'; margin-left: 8px; color: var(--gray); }
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list li a { color: var(--primary); }
.breadcrumb-list li:last-child { color: var(--gray); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--secondary), #2d6a9f); padding: 80px 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 56px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 17px; }

/* ===== PRIVACY / TERMS ===== */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; margin: 40px 0 16px; color: var(--secondary); }
.legal-content h3 { font-size: 18px; margin: 24px 0 12px; }
.legal-content p, .legal-content li { color: #444; font-size: 16px; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; list-style: disc; }

/* ===== BADGE & TAGS ===== */
.tag { display: inline-block; background: var(--light); color: var(--gray); padding: 4px 12px; border-radius: 50px; font-size: 12px; margin: 2px; }
.badge-strip { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

/* ===== ACCORDION ===== */
.accordion-item { border: 1.5px solid #dee2e6; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.accordion-header { padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; background: var(--white); }
.accordion-header:hover { background: var(--light); }
.accordion-body { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.accordion-body.open { max-height: 400px; padding: 16px 24px; }
.accordion-body p { color: var(--gray); font-size: 15px; }

/* ===== PACKAGES PAGE FILTER ===== */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 1.5px solid #dee2e6; background: var(--white); color: var(--dark); font-size: 14px; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }

/* ===== NOTICE BANNER ===== */
.notice-bar { background: var(--secondary); color: var(--white); padding: 10px 0; text-align: center; font-size: 13px; }
.notice-bar a { color: var(--accent); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-card:first-child { grid-row: span 1; }
  .dest-card:first-child img { min-height: 200px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero-stats { gap: 24px; }
  .menu-toggle { display: block; }
  #primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); }
  #primary-navigation.open { display: block; }
  #primary-navigation ul { flex-direction: column; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-buttons { flex-direction: column; }
  .about-img img { height: 300px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .container { padding: 0 16px; }
}
