/* styles.css - Shared across all pages */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
  --white: #ffffff;
  --light-gray: #f8f8f8;
  --dark-brown: #463E31;
  --accent: #8b7355;
  --light-brown: #a08c70;
}
body {
  background-color: var(--white);
  color: #333;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header */
header {
  background-color: var(--dark-brown);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  position: relative;
}
.logo img {
  height: 60px;
}
nav ul {
  display: flex;
  list-style: none;
}
nav ul li {
  margin-left: 30px;
}
nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav ul li a:hover {
  color: var(--accent);
}
.mobile-menu {
  display: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  padding: 5px 10px;
}
/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.btn:hover {
  background-color: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Hero Section */
.hero {
  padding: 60px 0 40px 0;
  background-color: var(--light-gray);
  text-align: center;
  width: 100%;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero h1 {
  font-size: 48px;
  color: var(--dark-brown);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero p {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Video Section */
.video-section {
  padding: 80px 0;
  background-color: var(--white);
}
.category-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-video {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: #000;
  flex-shrink: 0;
}
.category-hero-text {
  flex: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.category-hero-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.category-hero-text strong {
  color: var(--dark-brown);
  font-weight: 600;
}

/* Small Bottom Loading Bar */
.loading-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--accent);
  padding: 15px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.loading-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.paw-spinner {
  font-size: 24px;
  color: var(--accent);
  animation: bounce 1.5s infinite;
  flex-shrink: 0;
}

.loading-text {
  font-size: 16px;
  color: var(--dark-brown);
  font-weight: 500;
  flex: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.countdown {
  font-size: 16px;
  font-weight: bold;
  color: var(--accent);
  background: var(--light-gray);
  padding: 6px 12px;
  border-radius: 20px;
  flex-shrink: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.manual-link {
  flex-shrink: 0;
}

.manual-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  transition: all 0.3s;
  display: inline-block;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.manual-link a:hover {
  background-color: var(--accent);
  color: white;
}

.close-loading {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--dark-brown);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-loading:hover {
  background-color: var(--light-gray);
  color: var(--accent);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Footer */
footer {
  background-color: var(--dark-brown);
  color: var(--light-gray);
  padding: 50px 0 20px;
  width: 100%;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  gap: 30px;
}
.footer-column {
  max-width: 600px;
  width: 100%;
}
.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--white);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-column ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.footer-column ul li {
  margin-bottom: 0;
}
.footer-column ul li a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s;
  padding: 5px 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-column ul li a:hover {
  color: var(--white);
}
/* Footer Logo & Info */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-direction: column;
}
.footer-logo img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
.footer-logo h3 {
  font-size: 20px;
  margin-bottom: 0;
  color: var(--white);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-column p {
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Copyright */
.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-brown);
    flex-direction: column;
    padding: 20px;
    z-index: 1000;
  }
  nav ul.show { display: flex; }
  nav ul li { margin: 10px 0; margin-left: 0; }
  .mobile-menu { display: block; }
  
  /* Hero Section Mobile */
  .hero {
    padding: 40px 0 20px 0;
    text-align: center;
  }
  
  .hero h1 { 
    font-size: 36px; 
    text-align: center;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto 20px auto;
  }
  
  .hero p { 
    font-size: 18px; 
    text-align: center;
    padding: 0 15px;
  }
  
  /* Category Hero Mobile */
  .category-hero {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }
  
  .hero-video {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  
  .category-hero-text {
    text-align: center;
    padding: 0 15px;
  }
  
  .category-hero-text p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
  }
  
  /* Loading Bar Mobile */
  .loading-bar {
    padding: 12px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .loading-content {
    gap: 10px;
    order: 1;
    width: 100%;
    justify-content: center;
  }
  
  .close-loading {
    order: 0;
    align-self: flex-start;
    position: absolute;
    right: 10px;
    top: 10px;
  }
  
  .manual-link {
    order: 2;
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }
  
  .paw-spinner {
    font-size: 20px;
  }
  
  .loading-text {
    font-size: 14px;
    text-align: center;
  }
  
  .countdown {
    font-size: 14px;
    padding: 4px 10px;
  }
  
  .manual-link a {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
 
  .footer-logo {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
 
  .footer-logo img {
    margin-right: 0;
    margin-bottom: 10px;
  }
 
  .footer-column {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { 
    font-size: 32px;
    padding: 0 10px;
  }
  
  .hero p {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .hero-video {
    width: 280px;
    height: 280px;
  }
  
  .category-hero-text p {
    font-size: 15px;
    padding: 0 10px;
  }
  
  .loading-bar {
    padding: 10px 12px;
  }
  
  .loading-text {
    font-size: 13px;
  }
}

/* Force centering for all hero elements on mobile */
@media (max-width: 768px) {
  .hero,
  .hero .container,
  .hero .hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero h1 {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important;
    padding: 0 15px !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .hero p {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
  }

  .category-hero {
    text-align: center !important;
    align-items: center !important;
  }

  .category-hero-text {
    text-align: center !important;
    width: 100% !important;
  }
}