/* ============================================
   style.css - Teacup Welpen Website
   Main Stylesheet - Shared Across All Pages
   ============================================ */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #FFF9F0;
  color: #2D2D2D;
  line-height: 1.6;
}

h1, h2, h3, h4, .nav-links a, .logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: #FFF9F0;
  border-bottom: 1px solid #E6B8A2;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 249, 240, 0.95);
  backdrop-filter: blur(5px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Desktop Menu */
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #E6B8A2;
}

/* Dropdown (Available Puppies) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFF9F0;
  border: 1px solid #E6B8A2;
  border-radius: 8px;
  list-style: none;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu li a {
  font-size: 0.85rem;
  display: block;
}

.dropdown-menu li a:hover {
  color: #E6B8A2;
}

/* Mobile Menu (Hamburger) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #2D2D2D;
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: #FFF9F0;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1rem;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown > a {
    display: inline-block;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background-color: #E6B8A2;
  color: #2D2D2D;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: #d6a48a;
  transform: translateY(-2px);
}

.contact-btn {
  background-color: #25D366;
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.contact-btn:hover {
  background-color: #20b858;
  transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===== BREED GRID ===== */
.breed-grid, .puppy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.breed-card, .puppy-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
  text-align: center;
}

.breed-card:hover, .puppy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.breed-card img, .puppy-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.breed-card h3, .puppy-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

.breed-card p, .puppy-card p {
  padding: 0 1rem;
  font-size: 0.9rem;
}

.puppy-card .price {
  font-weight: bold;
  color: #E6B8A2;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.puppy-card .contact-btn {
  margin: 1rem auto 1.5rem;
  display: inline-block;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content {
  background-color: #f9f1e8;
  padding: 3rem 0;
  margin-top: 3rem;
  border-radius: 12px;
}

.seo-content .container {
  max-width: 900px;
}

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 3rem 0;
}

.page-content h1 {
  margin-bottom: 1rem;
  color: #2D2D2D;
}

.page-content h2 {
  margin: 1.5rem 0 1rem;
  color: #E6B8A2;
}

/* ===== FOOTER ===== */
footer {
  background-color: #2D2D2D;
  color: #FFF9F0;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

footer a {
  color: #E6B8A2;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E6B8A2;
  padding-bottom: 1rem;
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span {
  font-size: 1.2rem;
}

.faq-answer {
  display: none;
  padding-left: 1rem;
  color: #555;
}

.faq-answer.active {
  display: block;
}

/* ===== CONTACT FORM ===== */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form button {
  width: 100%;
}

/* ===== TESTIMONIALS PAGE ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #E6B8A2;
}

.testimonial-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.testimonial-location {
  font-size: 0.85rem;
  color: #666;
}

.testimonial-rating {
  color: #FFD700;
  margin: 0.5rem 0;
  font-size: 1rem;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.5;
  margin: 1rem 0;
}

.testimonial-date {
  font-size: 0.75rem;
  color: #999;
  text-align: right;
}

/* ===== PAYMENT PAGE ===== */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.payment-card {
  flex: 1;
  min-width: 280px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.payment-card h3 {
  color: #E6B8A2;
  margin-bottom: 1rem;
}

.bank-details {
  background: #f9f1e8;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-family: monospace;
  font-size: 0.9rem;
}

.steps {
  margin: 1rem 0 0 1rem;
  list-style-type: decimal;
}

.steps li {
  margin-bottom: 0.5rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .navbar {
    padding: 1rem;
  }
  
  .breed-grid, .puppy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .payment-methods {
    flex-direction: column;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .breed-grid, .puppy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}