/* Ultra Modern Glassmorphism + Neumorphism Theme */
:root {
  --primary: #0f2027;
  --secondary: #2c5364;
  --accent: #ffb347;
  --danger: #ff5e62;
  --glass: rgba(255,255,255,0.13);
  --shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  --radius: 18px;
  --blur: 18px;
  --font-main: 'Poppins', 'Inter', Arial, sans-serif;
  --font-script: 'Pacifico', 'Dancing Script', cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(120deg, #0f2027 0%, #2c5364 100%);
}

body {
  font-family: var(--font-main);
  color: #f5f6fa;
  background: transparent;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2vw;
}

/* Header */
header {
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur));
  border-bottom: 1.5px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.logo-text {
  font-family: var(--font-script);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2.5px;
  text-shadow: 0 2px 12px #0002;
  background: linear-gradient(90deg, #ffb347 60%, #ff5e62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-family: 'Montserrat', sans-serif;
  color: var(--danger);
  font-size: 2.1rem;
  margin-left: 6px;
  letter-spacing: 1px;
  -webkit-text-fill-color: initial;
  background: none;
}

/* Navigation */

nav {
      display: flex;
      gap: 24px;
      align-items: center;
      background: var(--glass-light);
      padding: 12px 20px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-light);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    nav a {
      color: var(--text-dark);
      font-weight: 600;
      font-size: 1rem;
      text-decoration: none;
      padding: 8px 16px;
      border-radius: var(--radius);
      position: relative;
      transition: background 0.3s ease, color 0.3s ease;
    }

    nav a::after {
      content: '';
      display: block;
      height: 2px;
      width: 0;
      background: var(--accent);
      border-radius: 2px;
      transition: width 0.3s ease;
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
    }

    nav a:hover,
    nav a:focus,
    nav a.active {
      color: var(--accent);
      background: rgba(241, 90, 41, 0.1);
      outline: none;
    }

    nav a:hover::after,
    nav a:focus::after,
    nav a.active::after {
      width: 80%;
    }

    .mobile-menu-icon {
      display: none;
      background: var(--glass-light);
      border: none;
      font-size: 2rem;
      color: var(--accent);
      cursor: pointer;
      border-radius: 50%;
      padding: 8px;
      box-shadow: var(--shadow-light);
    }

    /* Mobile Styles */
    @media (max-width: 900px) {
      nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 16px;
        background: rgba(0, 0, 0, 0.8);
        box-shadow: var(--shadow-dark);
        border-radius: var(--radius);
        padding: 16px;
        min-width: 200px;
        z-index: 999;
      }

      nav a {
        color: #fff !important;
      }

      nav.mobile-open {
        display: flex;
      }

      .mobile-menu-icon {
        display: block;
      }
    }

    /* Dark Mode */
    @media (prefers-color-scheme: dark) {
      body {
        background: #111;
        color: #fff;
      }

      nav {
        background: var(--glass-dark);
        box-shadow: var(--shadow-dark);
      }

      nav a {
        color: var(--text-light);
      }

      nav a:hover,
      nav a:focus,
      nav a.active {
        background: rgba(241, 90, 41, 0.2);
      }

      .mobile-menu-icon {
        background: var(--glass-dark);
        color: var(--accent);
        box-shadow: var(--shadow-dark);
      }

      @media (max-width: 900px) {
        nav {
          background: rgba(255, 255, 255, 0.05);
        }
      }
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        transition: none !important;
      }
    }

/* === MANUAL OVERRIDES === */

/* Force light mode (for white or bright backgrounds) */
body.light-page nav {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-light);
}

body.light-page nav a {
  color: var(--text-dark);
}

body.light-page nav a:hover,
body.light-page nav a.active {
  background: rgba(241, 90, 41, 0.1);
  color: var(--accent);
}

body.light-page .mobile-menu-icon {
  background: rgba(0, 0, 0, 0.05);
  color: var(--accent);
}

/* Mobile menu override */
@media (max-width: 900px) {
  body.light-page nav {
    background: rgba(0, 0, 0, 0.9);
  }

  body.light-page nav a {
    color: #fff;
  }
}


/* Section-based scroll dynamic nav (when nav overlaps white sections) */
/* When the navbar is on a LIGHT section, it should turn DARK */
nav.on-light {
  background: rgba(0, 0, 0, 0.85); /* dark background */
  color: #fff;
  box-shadow: var(--shadow-dark);
}

nav.on-light a {
  color: #fff !important;
}

nav.on-light a:hover,
nav.on-light a.active {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--danger));
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(255,179,71,0.18);
  background: linear-gradient(90deg, var(--danger), var(--accent));
}

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

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-light {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-light:hover {
  background: var(--accent);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 600px;
  background: linear-gradient(120deg, #232526 0%, #414345 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 48px #0005;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/WhatsApp Image 2025-05-02 at 08.43.47_40ba1809.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 1;
  filter: blur(8px) grayscale(0.3) brightness(0.8);
  animation: float 8s ease-in-out infinite;
}

.hero-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.18) 100%);
  backdrop-filter: blur(24px);
  border-radius: 0 0 32px 32px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 32px 80px 32px;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,179,71,0.08) 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px #ffb34733, 0 2px 12px #0002;
  backdrop-filter: blur(8px);
  animation: float 3.5s ease-in-out infinite;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  text-shadow: 0 4px 24px #0004;
  margin-bottom: 24px;
}

.hero-content .hero-highlight {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--danger);
  margin-bottom: 18px;
  display: block;
  letter-spacing: 3px;
  text-shadow: 0 2px 18px #ff5e6233;
}

.hero-content .hero-subtitle {
  font-size: 1.35rem;
  color: #f5f6fa;
  margin-bottom: 40px;
  opacity: 0.98;
}

.hero-cta-group {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-badge {
  background: linear-gradient(90deg, var(--accent) 60%, var(--danger) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 8px 18px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(255,179,71,0.09);
  transition: background 0.2s, transform 0.2s;
  animation: float 2.5s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-badge:hover {
  background: linear-gradient(90deg, var(--danger) 60%, var(--accent) 100%);
  transform: scale(1.07);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.feature-card {
  background: var(--glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  animation: float 3.5s ease-in-out infinite;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255,179,71,0.18);
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px #ffb34755);
  animation: float 2.5s ease-in-out infinite;
  animation-delay: 1s;
}

.feature-title {
  font-size: 1.4rem;
  color: var(--danger);
  margin-bottom: 14px;
  font-weight: 700;
}

/* Puppy Cards */
.puppy-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.puppy-card {
  background: var(--glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; /* Keep overflow hidden for rounded corners */
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  animation: float 3.5s ease-in-out infinite;
}

.puppy-card img {
  width: 100%;
  /* Using aspect-ratio for responsive height based on width */
  aspect-ratio: 4 / 3; /* Common photo aspect ratio (e.g., 4:3) */
  object-fit: cover; /* Ensures the image fills the defined aspect ratio, cropping if necessary */
  object-position: center; /* Ensures the center of the image is prioritized */
  border-radius: 18px 18px 0 0;
  box-shadow: 0 8px 32px rgba(255,179,71,0.18), 0 2px 12px #0003;
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
  filter: brightness(1.08) saturate(1.2) contrast(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}

@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content .hero-highlight { font-size: 1.4rem; }
  /* Adjusted grid for cards to take more width on tablets/smaller desktops */
  .features, .photo-gallery, .contact-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .puppy-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Increased min-width for cards */
    gap: 24px; /* Adjusted gap */
  }
  .timeline { padding-left: 12px; }
  .hero-content { padding: 60px 12px 40px 12px; }
}

@media (max-width: 600px) {
  .logo-text { font-size: 1.3rem; }
  .hero-content { padding: 36px 8px; }
  .hero-content h1 { font-size: 1.3rem; }
  .hero-content .hero-highlight { font-size: 1rem; }
  .btn, .sticky-cta .btn { font-size: 0.98rem; padding: 10px 12px; }
  .footer-logo { font-size: 1.3rem; }
  .footer-links { gap: 8px; }
  .sticky-cta { display: block; }
  /* Ensure cards take full width on very small screens */
  .puppy-gallery {
    grid-template-columns: 1fr; /* Single column, full width */
    gap: 18px;
  }
  .container {
    padding: 0 4vw; /* Slightly more padding for very small screens */
  }
}

.puppy-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255,94,98,0.13);
}

.puppy-card:hover img {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(255,94,98,0.18), 0 4px 24px #0004;
  filter: brightness(1.15) saturate(1.3);
}

.puppy-info {
  padding: 18px; /* Reduced padding to make text area slightly more compact */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.puppy-name {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.puppy-meta {
  color: #eee;
  font-size: 0.98rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.puppy-description {
  color: #f5f6fa;
  font-size: 1.05rem;
  margin-bottom: 14px;
  opacity: 0.92;
}

.puppy-info ul {
  margin: 0 0 14px 0;
  padding: 0 0 0 18px;
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .puppy-card img {
    height: 360px !important;
    width: 100% !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
    background: #f8fafc;
    display: block;
  }
}

.read-more {
  color: var(--danger);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.read-more:hover {
  color: var(--accent);
}

/* Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  aspect-ratio: 1/1;
  transition: transform 0.2s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  border-radius: var(--radius);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--accent), var(--danger));
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0.92;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--danger));
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  margin-bottom: 38px;
  padding-left: 48px;
}

.timeline-content {
  background: var(--glass);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.step-number {
  position: absolute;
  left: -10px;
  top: 18px;
  width: 38px;
  height: 38px;
  background: linear-gradient(90deg, var(--accent), var(--danger));
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px #ffb34755;
}

/* FAQ */
.faq-container {
  max-width: 900px;
  margin: 48px auto 0;
}

.faq-item {
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.faq-question {
  padding: 18px 24px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--glass);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--danger);
}

.faq-question.active::after {
  content: '-';
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  background: transparent;
  color: #fff;
}

.faq-answer.show {
  padding: 16px 24px;
  max-height: 400px;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.contact-info,
.contact-form {
  background: var(--glass);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.contact-info h3 {
  color: var(--danger);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.contact-details p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #fff;
}

.contact-details i {
  margin-right: 12px;
  color: var(--accent);
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  background: rgba(255,255,255,0.18); /* slightly lighter for contrast */
  color: #222; /* dark text for visibility */
  font-size: 1rem;
  box-shadow: 0 2px 8px #0002;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888; /* placeholder color for visibility */
  opacity: 1;
}

/* About Section */
.bg-light {
  background: linear-gradient(120deg, #f8fafc 60%, #e9ecef 100%);
  color: #1a2957;
  border-radius: var(--radius);
  box-shadow: 0 6px 36px rgba(30,42,94,0.10);
  padding: 48px 0;
}

.bg-light .section-title,
.bg-light h3,
.bg-light h4 {
  color: #1a2957;
}

.bg-light .feature-card {
  background: #fff;
  color: #32436a;
  box-shadow: 0 2px 12px #0001;
  border-radius: var(--radius);
  padding: 32px 24px;
}

.bg-light .btn {
  background: linear-gradient(90deg, #1a3a8f 60%, #43cea2 100%);
  color: #fff;
}

.bg-light .btn-outline {
  background: transparent;
  border: 2px solid #1a3a8f;
  color: #1a3a8f;
}

.bg-light .btn-outline:hover {
  background: #1a3a8f;
  color: #fff;
}

/* Sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--accent), var(--danger));
  padding: 12px 0;
  z-index: 999;
  box-shadow: 0 -2px 18px #ffb34733;
}

.sticky-cta-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2vw;
}

.sticky-cta .btn {
  padding: 10px 22px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 48px 0 24px;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
}

.footer-logo {
  font-family: var(--font-script);
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--accent);
}

.footer-logo span {
  color: var(--danger);
}

.social-links {
  margin: 18px 0;
}

.social-links a {
  color: var(--accent);
  font-size: 1.5rem;
  margin: 0 12px;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--danger);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0;
}

.footer-links a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 24px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
}

/* Liveliness Animations */
@keyframes float {
  0% { transform: translateY(0px);}
  50% { transform: translateY(-12px);}
  100% { transform: translateY(0px);}
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}

@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content .hero-highlight { font-size: 1.4rem; }
  .features, .puppy-gallery, .photo-gallery, .contact-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .timeline { padding-left: 12px; }
  .hero-content { padding: 60px 12px 40px 12px; }
  .puppy-card img { height: 180px; }
}

@media (max-width: 600px) {
  .logo-text { font-size: 1.3rem; }
  .hero-content { padding: 36px 8px; }
  .hero-content h1 { font-size: 1.3rem; }
  .hero-content .hero-highlight { font-size: 1rem; }
  .btn, .sticky-cta .btn { font-size: 0.98rem; padding: 10px 12px; }
  .footer-logo { font-size: 1.3rem; }
  .footer-links { gap: 8px; }
  .sticky-cta { display: block; }
  .puppy-card img { height: 120px; }
}

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