/* Cats With Hats - Main Style Sheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #E07A5F;
  --primary-hover: #D0694E;
  --secondary-color: #81B29A;
  --dark-color: #2F3E46;
  --light-color: #FDFBF7;
  --white: #FFFFFF;
  --gray-100: #F4F3EF;
  --gray-200: #EAE8E3;
  --gray-500: #8E9A9F;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(47, 62, 70, 0.05);
  --shadow-md: 0 8px 24px rgba(47, 62, 70, 0.08);
  --shadow-lg: 0 16px 40px rgba(47, 62, 70, 0.12);
  --border-radius: 12px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

/* --- Navigation Header --- */
.header {
  background-color: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-color);
}

.logo-icon {
  background-color: var(--primary-color);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
}

.logo-highlight {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.nav-cta {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.25);
}

.nav-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.35);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(224, 122, 95, 0.1) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(224, 122, 95, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  color: var(--dark-color);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--dark-color);
  opacity: 0.85;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.btn-secondary {
  border-color: var(--gray-200);
  background-color: transparent;
  color: var(--dark-color);
}

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

/* --- Feature Illustration --- */
.hero-image-wrapper {
  position: relative;
}

.hero-illustration {
  width: 100%;
  height: 400px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.hero-illustration::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 178, 154, 0.2) 0%, transparent 70%);
}

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

.illustration-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(129, 178, 154, 0.15);
  color: #558B71;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.illustration-body {
  margin: auto 0;
  text-align: center;
}

.cat-emoji {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
  animation: bob 4s ease-in-out infinite;
}

.illustration-footer {
  background-color: var(--gray-100);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-color);
  opacity: 0.8;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* --- Section Titles --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 40px;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.section-description {
  font-size: 16px;
  color: var(--gray-500);
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 122, 95, 0.3);
}

.card-icon {
  background-color: rgba(224, 122, 95, 0.1);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.card-title {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--dark-color);
}

.card-text {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* --- About Segment --- */
.about-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-details {
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.about-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.about-item-bullet {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: bold;
}

.stat-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 32px;
  color: var(--primary-color);
  font-weight: 800;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* --- Donation Page Form --- */
.donation-box {
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.donate-btn {
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.donate-btn:hover, .donate-btn.active {
  border-color: var(--primary-color);
  background-color: rgba(224, 122, 95, 0.05);
  color: var(--primary-color);
}

.custom-amount-wrapper {
  margin-bottom: 30px;
  position: relative;
}

.custom-amount-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  outline: none;
  font-family: var(--font-body);
}

.custom-amount-input:focus {
  border-color: var(--primary-color);
}

.input-symbol {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--gray-500);
}

.donation-purpose {
  font-size: 14px;
  color: var(--gray-500);
  background-color: var(--gray-100);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

/* --- Contact & Info --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-box {
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary-color);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.info-icon {
  background-color: rgba(129, 178, 154, 0.15);
  color: var(--secondary-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-desc {
  font-size: 14px;
  color: var(--gray-500);
}

/* --- Legal Documents --- */
.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  padding: 60px 48px;
  box-shadow: var(--shadow-md);
}

.legal-meta {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.legal-section p, .legal-section ul {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
}

/* --- Footer --- */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: var(--gray-200);
  opacity: 0.8;
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-logo-desc {
  font-size: 14px;
  color: var(--gray-200);
  opacity: 0.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-legal-link:hover {
  color: var(--white);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-segment {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* simple mobile drawer toggle or fallback */
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-wrapper {
    padding: 30px 20px;
  }
}

/* --- Social Media Icons --- */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-icon {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

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

