/* ===================================
   THE SWIFT GIFT - MAIN STYLESHEET
   =================================== */

/* -----------------------------------
   GLOBAL RESETS & BASE STYLES
----------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #6b46c1;
  transition: color 0.3s ease;
}

a:hover {
  color: #553c9a;
}

h1, h2, h3 {
  line-height: 1.2;
  color: #1a202c;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* -----------------------------------
   SITE WRAPPER
----------------------------------- */
.site-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.container {
  padding: 60px 20px;
}

/* -----------------------------------
   UTILITY CLASSES
----------------------------------- */

/* Restores default disc bullets + spacing */
.list-disc {
  list-style: disc;
  padding-left: 1.25rem;   /* 20 px */
  margin: 1.25rem 0;       /* 20 px top & bottom */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0,0,0,0);
  overflow: hidden;
}

.image-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  height: 100%;
  min-height: 200px;
  border-radius: 5px;
}

/* new reusable shadow utility */
.image-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
}

/* -----------------------------------
   HEADER STYLES
----------------------------------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;        /* allow nav to drop below logo if tight */
  padding: 20px 30px;
  background-color: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  width: 200px;            /* desktop size */
  height: 50px;
  min-width: 120px;        /* don’t get too small */
  min-height: 30px;
  object-fit: contain;
  display: block;
  border-radius: 5px;
  background: transparent;
  margin-right: 32px;      /* desktop spacing */
  transition: width 0.3s, height 0.3s, margin 0.3s;
}

nav ul {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;         /* helps avoid overlap if header stacks */
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: #4a5568;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: #6b46c1;
  border-bottom-color: #6b46c1;
}

/* Tablets and down */
@media (max-width: 900px) {
  .site-logo {
    width: 150px;
    height: 38px;
    min-width: 120px;
    min-height: 30px;
    margin-right: 16px;
  }
  nav ul {
    gap: 18px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .site-logo {
    width: 160px;      /* Increased from 120px */
    height: 40px;      /* Increased from 30px */
    min-width: 160px;  /* Increased from 120px */
    min-height: 40px;  /* Increased from 30px */
    margin-right: 8px;
  }
  nav ul {
    gap: 10px;
  }
  nav a {
    font-size: 0.97rem;
  }
}
/* -----------------------------------
   HERO SECTION
----------------------------------- */
#hero {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center;   /* Center them horizontally */
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
}
#hero h1 {
  font-size: 3rem;
  margin-bottom: 30px; /* Space between headline and image */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-image-container {
  width: 100%;
  max-width: 1200px; /* Control the max width of the image */
  margin-bottom: 30px; /* Space between image and text below */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden; /* Ensures image respects the border-radius */
  height: auto; /* Add height for mobile responsiveness */
}
.hero-image-container img {
  width: 100%;
  display: block; /* Removes any extra space below the image */
  object-fit: cover; /* Add object-fit for better mobile cropping */
  height: 100%;
}
.hero-sub-content p {
  font-size: 1.25rem;
  color: #4a5568;
  margin-top: 0;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }
  .hero-image-container {
    height: auto; /* Let image scale naturally */
    max-width: 100%; /* Use full width on mobile */
    margin-left: -20px; /* Counteract the hero section padding */
    margin-right: -20px;
    border-radius: 0; /* Remove border radius for full-width effect */
  }
  .hero-image-container img {
    object-fit: contain; /* Scale down to fit, no cropping */
    object-position: center center; /* Center the image */
  }
}
@media (max-width: 480px) {
  #hero h1 {
    font-size: 2rem;
  }
  .hero-sub-content p {
    font-size: 1.1rem;
  }
  .hero-image-container {
    height: auto; /* Let image scale naturally on small screens too */
  }
}

/* -----------------------------------
   BUTTON STYLES
----------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #6b46c1;
  border-color: #6b46c1;
}

.btn-secondary:hover {
  background: #6b46c1;
  color: white;
}

.btn-link {
  color: #6b46c1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-link:hover {
  transform: translateX(5px);
}

/* -----------------------------------
   GIFT GUIDES SECTION
----------------------------------- */
.gift-guides {
  padding: 60px 20px;
}

.section-intro {
  text-align: center;
  color: #4a5568;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.guide-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.guide-image {
  height: 250px;
  overflow: hidden;
}

.guide-image img {
  /* Ensures all guide images fill their box, stay sharp, and crop cleanly */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.guide-content {
  padding: 25px;
}

.guide-content h3 {
  color: #2d3748;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.guide-content p {
  color: #4a5568;
  margin-bottom: 15px;
  line-height: 1.6;
}

.guide-meta {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  font-size: 0.9rem;
}

.guide-meta span {
  color: #718096;
  display: flex;
  align-items: center;
}

.gift-count::before {
  content: "🎁 ";
  margin-right: 5px;
}

.price-range::before {
  content: "💰 ";
  margin-right: 5px;
}

/* -----------------------------------
   OCCASIONS SECTION
----------------------------------- */
.occasions {
  background: #f7fafc;
  padding: 60px 20px;
  margin: 0 -20px;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.occasion-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.occasion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.occasion-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.occasion-card h3 {
  color: #2d3748;
  font-size: 1.1rem;
  margin: 0;
}

/* -----------------------------------
   TRUST SECTION
----------------------------------- */
.trust-section {
  padding: 60px 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.trust-item h3 {
  color: #2d3748;
  margin-bottom: 10px;
}

.trust-item p {
  color: #4a5568;
  line-height: 1.6;
}

/* -----------------------------------
   ABOUT PAGE SECTION
----------------------------------- */


.bio-text li {
  margin-bottom: 8px;
}

.about-bio {
  display: flex;
  flex-wrap: wrap;          /* allows stacking on small screens */
  gap: 2rem;                /* space between image and text */
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.about-photo {
  flex: 0 0 200px;          /* fixed-ish width, shrinks if needed, match the intrinsic width set in the <img> see also about.php page */
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.bio-text {
  flex: 1 1 300px;          /* grows to fill remaining space */
  font-size: 1rem;
  line-height: 1.6;
}

/* remove extra gap so first line of text aligns with photo top */
.bio-text > p:first-child {
  margin-top: 0;
}

/* Responsive adjustments for phones */
@media (max-width: 640px) {
  .about-bio {
    flex-direction: column;  /* stack image above text */
    align-items: center;     /* center the photo container */
    text-align: center;
  }

  .about-photo {
    margin: 0 auto 1rem;     /* centers image itself, adds space below */
  }

  .bio-text {
    text-align: left;        /* keep copy readable */
    max-width: 38rem;        /* optional: prevent overly long lines */
  }
}


/* -----------------------------------
   QUICK FINDER SECTION
----------------------------------- */
.quick-finder {
  background: #f7fafc;
  padding: 60px 20px;
  margin: 0 -20px;
  text-align: center;
}

.quick-finder p {
  color: #4a5568;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.tag {
  background: white;
  padding: 10px 20px;
  border-radius: 20px;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tag:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* -----------------------------------
   FOOTER STYLES
----------------------------------- */
footer {
  background: #2d3748;
  color: #cbd5e0;
  padding: 40px 30px 20px;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section a {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #4a5568;
  color: white;
}

.newsletter-form input::placeholder {
  color: #a0aec0;
}

.newsletter-form button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.affiliate-disclaimer {
  max-width: 800px;
  margin: 8px auto 0;
  padding: 0 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #cbd5e0;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.8;
}

/* Add this new rule to fix the link colors */
.affiliate-disclaimer a {
  color: #cbd5e0 !important;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.affiliate-disclaimer a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}


/* Footer donation/tip links */
.footer-bottom p.donation-links {
    margin-top: 6px;
    font-size: 0.9rem; /* Match copyright text exactly */
    color: #cbd5e0; /* Same muted footer text color */
    line-height: 1.6;
}

.footer-bottom p.donation-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-bottom p.donation-links a:hover {
    color: #ffffff; /* Same hover effect as other footer links */
}

/* Subtle blending for the heart emoji */
.footer-bottom p.donation-links .emoji {
    opacity: 0.6;       /* Softens the color */
    margin: 0 5px;  /* Equal left & right spacing */
    font-size: 1em;     /* Keeps it aligned with text size */
}




/* -----------------------------------
   RESPONSIVE DESIGN
----------------------------------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .guide-grid {
    grid-template-columns: 1fr;
  }
  
  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .site-wrapper {
    width: 95%;
    margin: 10px auto;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}