/* Ashly Cummings - Travel & Lifestyle Theme CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Georgia', serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--text-dark);
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    height: 100vh;
    position: relative;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:0.8" /><stop offset="100%" style="stop-color:%234ecdc4;stop-opacity:0.8" /></linearGradient></defs><rect width="1920" height="1080" fill="url(%23grad)" /></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--light-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Destinations Section */
.destinations {
    padding: 5rem 0;
    background: var(--gray-light);
}

.destinations h2,
.recommendations h2,
.guides h2,
.newsletter h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.destination-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.destination-tag {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.destination-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.explore-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.explore-link:hover {
    color: var(--secondary-color);
}

/* Recommendations Section */
.recommendations {
    padding: 5rem 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--light-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.btn-shop {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Guides Section */
.guides {
    padding: 5rem 0;
    background: var(--gray-light);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guide-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.guide-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.guide-link:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    text-align: center;
}

.newsletter h2 {
    color: var(--light-color);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
}

.privacy-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #b0b0b0;
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Show mobile toggle button */
  .mobile-menu-toggle { 
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-dark);
    transition: transform 0.3s ease;
    z-index: 2002;
  }
  
  .mobile-menu-toggle:hover {
    transform: scale(1.1);
  }
  
  /* Hide nav links by default on mobile */
  .nav-links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  /* Show nav links when active class is present */
  .nav-links.active {
    display: flex !important;
    max-height: 80vh;
    padding: 1rem 0;
    overflow-y: auto;
  }
  
  /* Style individual nav links for mobile */
  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .nav-links a:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
  }
  
  /* Remove the hover underline effect on mobile */
  .nav-links a::after {
    display: none;
  }
  
  /* Prevent body scroll when menu is open */
  body.no-scroll { 
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  /* Adjust hero for mobile */
  .hero h1 { 
    font-size: 2rem; 
  }
  
  .cta-buttons { 
    flex-direction: column; 
  }
  
  .newsletter-form { 
    flex-direction: column; 
  }
  
  .product-card.featured { 
    transform: scale(1); 
  }
}

/* === Family Footprints Travel — global flourishes =================== */
/* Color tokens (fall/winter friendly). Keep or map to your existing vars */
:root{
  --primary-color:#2f6bff;
  --secondary-color:#00b3a4;
  --accent-color:#ffd166;
  --light-color:#f9fafb;
  --gray-light:#f1f5f9;
  --text-dark:#0f172a;
  --text-light:#475569;
  --shadow: 0 6px 18px rgba(15,23,42,.08);
  --shadow-hover: 0 10px 28px rgba(15,23,42,.16);
}

/* Generic hero for guide pages */
.page-hero{
  margin-top:70px; padding:4.5rem 0;
  background: radial-gradient(1200px 500px at 0% 0%, rgba(255,255,255,.08), transparent),
              linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color:#fff; text-align:center; position:relative; overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.15;
  background-image:
    radial-gradient(10px 10px at 12% 22%, #fff 45%, transparent 46%),
    radial-gradient(10px 10px at 82% 28%, #fff 45%, transparent 46%),
    radial-gradient(10px 10px at 28% 78%, #fff 45%, transparent 46%);
  animation: heroFloat 14s ease-in-out infinite alternate;
}
@keyframes heroFloat { to { transform: translateY(-18px); } }

/* Section shell + subtitle */
.tips-section{ padding:3.25rem 0; background:#fff; }
.tips-section.alt{ background:var(--light-color); }
.section-subtitle{ color:var(--text-light); margin-bottom:1rem; }

/* Simple chips, cards, and info text */
.chip{ display:inline-block; font-size:.78rem; background:var(--gray-light); color:var(--text-light);
  padding:.25rem .6rem; border-radius:999px; margin-right:.35rem; }
.info{ font-size:.95rem; color:var(--text-light); }

/* CTA / ghost button */
.btn-ghost{
  background:rgba(255,255,255,.15); color:#fff; border:1px solid rgba(255,255,255,.35);
  padding:.55rem 1rem; border-radius:999px; text-decoration:none; font-weight:600; transition:.2s ease;
}
.btn-ghost:hover{ background:rgba(255,255,255,.25); transform:translateY(-2px); }

/* Ashly contact card */
.ashly-card{
  display:grid; grid-template-columns: 80px 1fr; gap:1rem; align-items:center;
  background:#fff; border-radius:14px; padding:1rem; box-shadow:var(--shadow);
}
.ashly-avatar{
  width:80px; height:80px; border-radius:50%; background: linear-gradient(135deg, #ffd, #eef);
  display:grid; place-items:center; font-size:2rem; color: var(--primary-color); font-weight:800;
}
.ashly-meta small{ color:var(--text-light); }

/* Reveal-on-scroll utility */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

/* Count-up numbers */
.countup{
  font-weight:800; font-size:clamp(1.4rem, 3.5vw, 2.2rem); letter-spacing:.5px;
}

/* FAQ/Accordion (drop-in anywhere) */
.accordion{ display:grid; gap:.8rem; }
.acc-item{ background:#fff; border-radius:12px; box-shadow:var(--shadow); overflow:hidden; }
.acc-head{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; padding:1rem 1rem; font-weight:700; }
.acc-toggle{ transition: transform .25s ease; }
.acc-body{ max-height:0; overflow:hidden; transition:max-height .35s ease, padding .35s ease; padding:0 1rem; }
.acc-item.active .acc-body{ max-height:420px; padding:0 1rem 1rem; }
.acc-item.active .acc-toggle{ transform: rotate(180deg); }

/* Floating “Ask Ashly” button (optional global) */
.floating-ask{
  position:fixed; bottom:20px; right:20px; z-index:999; display:flex; align-items:center; gap:.5rem;
  background:#fff; border-radius:999px; padding:.6rem .8rem; box-shadow:var(--shadow-hover);
}
.floating-ask .ping{ width:8px; height:8px; border-radius:50%; background: var(--secondary-color); animation:pulse 2s infinite; }
@keyframes pulse { 0%{transform:scale(.8);opacity:.7} 50%{transform:scale(1.25);opacity:1} 100%{transform:scale(.8);opacity:.7} }

/* Subtle money/travel sparkles (positioned via JS) */
.ff-spark{ position:fixed; pointer-events:none; z-index:998; inset:auto; font-size:20px; }

/* Minor responsive tweak */
@media (max-width: 768px){
  .page-hero{ padding:3.25rem 0; }
  .ashly-card{ grid-template-columns: 64px 1fr; }
  .ashly-avatar{ width:64px; height:64px; font-size:1.6rem; }
}

/* Make anchor jumps land below the fixed header */
:where(section[id], h1[id], h2[id], h3[id]) { scroll-margin-top: 90px; }

/* Optional: smooth scrolling for anchor links */
html { scroll-behavior: smooth; }

/* --- Mobile nav fix --- */
.navbar .container { position: relative; } /* anchor the absolute dropdown */

@media (max-width: 768px){
  .mobile-menu-toggle { display: block; }
  .nav-links{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column; gap: 1rem; padding: 1rem 1.25rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    z-index: 2001; /* sit above page content */
  }
  .nav-links.active { display: flex; }
  body.no-scroll { overflow: hidden; }
}

@media (min-width: 769px) {
  .mobile-menu-toggle { 
    display: none !important; 
  }
  
  .nav-links { 
    display: flex !important;
    position: static;
    gap: 2rem;
    padding: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    flex-direction: row;
  }
  
  .nav-links li {
    border: none;
  }
  
  .nav-links a {
    padding: 0;
  }
  
  /* Re-enable hover effects on desktop */
  .nav-links a::after {
    display: block;
  }
  
  body.no-scroll {
    overflow: auto;
    position: static;
  }
}
