/* Cookie the Schnauzer Website Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #8b7355;
  --secondary-color: #d4c4a8;
  --accent-color: #a0522d;
  --background-light: #faf8f5;
  --text-dark: #2c2c2c;
  --text-light: #666666;
  --white: #ffffff;
}

body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  /* Added smooth scrolling behavior */
  scroll-behavior: smooth;
}

/* Added keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Added animation classes */
.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Header Styles */
#header {
  background-color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  /* Added header animation */
  animation: fadeInUp 0.6s ease-out;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  margin-bottom: 1rem;
}

#headerImg {
  /* Standardized header image size */
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  transition: transform 0.3s ease;
}

#headerImg:hover {
  /* Added hover animation for header image */
  transform: scale(1.1) rotate(5deg);
}

#headerSlogan h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

#headerSlogan span {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  /* Enhanced navigation link transitions */
  transition: all 0.3s ease, transform 0.2s ease;
}

nav a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  /* Added hover transform for nav links */
  transform: translateY(-2px);
}

/* Added language selector styling */
.language-selector {
  margin-left: auto;
}

.language-selector select {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--secondary-color);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-selector select:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.language-selector select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.3);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
#hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
  padding: 3rem 0;
}

.hero-content {
  flex: 1;
  /* Added animation to hero content */
  animation: fadeInLeft 1s ease-out;
}

.hero-content h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content > p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-content article {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Added hover animation for hero article */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-content article h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.hero-image {
  flex: 1;
  /* Added animation to hero image */
  animation: fadeInRight 1s ease-out;
}

.hero-image img {
  /* Improved hero image sizing and added hover effect */
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Highlights Section */
#highlights {
  margin-bottom: 4rem;
  /* Added animation to highlights section */
  animation: fadeInUp 1.2s ease-out;
}

#highlights h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Enhanced card animations */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 0.6s ease-out forwards;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.highlight-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.highlight-card span {
  color: var(--primary-color);
  font-weight: bold;
}

/* Design Process Page Styles */
.design-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.design-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.design-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Added animation to design intro */
.design-intro {
  animation: fadeInUp 0.8s ease-out;
}

.philosophy-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.philosophy-content h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.philosophy-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.philosophy-text span {
  color: var(--primary-color);
  font-weight: bold;
}

#design-decisions h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.design-decision {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  /* Added animation to design decisions */
  animation: fadeInUp 1s ease-out;
  transition: transform 0.3s ease;
}

.design-decision:hover {
  transform: translateY(-3px);
}

.design-decision h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.decision-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.decision-text {
  flex: 1;
}

.decision-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.decision-text ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.decision-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.decision-text span {
  color: var(--primary-color);
  font-weight: bold;
}

.color-palette {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 120px;
}

.color-swatch {
  width: 100px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #ddd;
}

.technical-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.technical-content h2 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.technical-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tech-feature {
  padding: 1rem;
  border-left: 4px solid var(--secondary-color);
  background-color: var(--background-light);
  border-radius: 8px;
}

.tech-feature h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tech-feature span {
  color: var(--accent-color);
  font-weight: bold;
}

.reflection-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.reflection-content h2 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.reflection-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.reflection-text span {
  color: var(--primary-color);
  font-weight: bold;
}

/* Care Tips Page Styles */
.care-intro {
  text-align: center;
  margin-bottom: 3rem;
  /* Added animation to care intro */
  animation: fadeInUp 0.8s ease-out;
}

.care-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.care-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.care-category {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  /* Added animation to care categories */
  animation: fadeInUp 1s ease-out;
  transition: transform 0.3s ease;
}

.care-category:hover {
  transform: translateY(-3px);
}

.care-category h3 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.care-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.care-text {
  flex: 2;
}

.care-tip {
  margin-bottom: 2rem;
}

.care-tip h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.care-tip span {
  color: var(--accent-color);
  font-weight: bold;
}

.care-image {
  flex: 1;
}

.care-image img {
  /* Standardized care image sizes and added hover effect */
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.care-image img:hover {
  transform: scale(1.05);
}

/* Adventures Page Styles */
.adventures-intro {
  text-align: center;
  margin-bottom: 3rem;
  /* Added animation to adventures intro */
  animation: fadeInUp 0.8s ease-out;
}

.adventures-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.adventures-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.adventure-story {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  /* Added animation to adventure stories */
  animation: fadeInUp 1s ease-out;
  transition: transform 0.3s ease;
}

.adventure-story:hover {
  transform: translateY(-3px);
}

.story-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.story-header h3 {
  color: var(--accent-color);
  font-size: 1.6rem;
}

.story-date {
  color: var(--text-light);
  font-style: italic;
  background-color: var(--secondary-color);
  padding: 0.25rem 1rem;
  border-radius: 15px;
}

.story-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.story-text {
  flex: 2;
}

.story-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-text span {
  color: var(--primary-color);
  font-weight: bold;
}

.story-image {
  flex: 1;
}

.story-image img {
  /* Standardized story image sizes and added hover effect */
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.story-image img:hover {
  transform: scale(1.05);
}

/* Gallery Page Styles */
.gallery-intro {
  text-align: center;
  margin-bottom: 3rem;
  /* Added animation to gallery intro */
  animation: fadeInUp 0.8s ease-out;
}

.gallery-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.gallery-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.category-section {
  margin-bottom: 4rem;
  /* Added staggered animation to category sections */
  animation: fadeInUp 1s ease-out;
}

.category-section h3 {
  color: var(--accent-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.photo-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Enhanced photo item animations */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 0.6s ease-out forwards;
}

.photo-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.photo-item img {
  /* Standardized gallery image sizes */
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  padding: 2rem 1rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  /* Added animation to photo captions */
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.photo-item:hover .photo-caption {
  transform: translateY(0);
}

.featured-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* Added animation to featured content */
  animation: fadeInUp 1s ease-out;
}

.featured-content h2 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.featured-image {
  margin-bottom: 2rem;
}

.featured-image img {
  /* Improved featured image sizing */
  width: 100%;
  max-width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.featured-image img:hover {
  transform: scale(1.03);
}

.featured-description {
  max-width: 600px;
  margin: 0 auto;
}

.featured-description span {
  color: var(--primary-color);
  font-weight: bold;
}

/* Baby Videos Page Styles */
.video-intro {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.video-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.video-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.video-container {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  text-align: center;
  animation: scaleIn 1s ease-out;
}

.video-container h3 {
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.02);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.video-description {
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.video-description span {
  color: var(--primary-color);
  font-weight: bold;
}

/* About Page Styles */
.about-content {
  text-align: center;
  margin-bottom: 3rem;
  /* Added animation to about content */
  animation: fadeInUp 0.8s ease-out;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.detail-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Added animation to detail cards */
  animation: scaleIn 0.8s ease-out;
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
}

.detail-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--secondary-color);
}

.info-list div:last-child {
  border-bottom: none;
}

.info-list span {
  color: var(--primary-color);
  font-weight: bold;
}

.trait {
  margin-bottom: 1.5rem;
}

.trait-name {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

#favorites h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.favorite-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.favorite-item h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.favorite-item span {
  color: var(--primary-color);
  font-weight: bold;
}

/* Cookie Routine Section */
#cookie-routine {
  border: 3px solid #8b4513;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #f8f6f0 0%, #f0ede6 100%);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
  position: relative;
}

#cookie-routine::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #8b4513, #d2691e, #8b4513);
  border-radius: 17px;
  z-index: -1;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 4rem;
  /* Added animation to footer */
  animation: fadeInUp 1.2s ease-out;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links span {
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  nav ul {
    justify-content: center;
    gap: 1rem;
  }

  #hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .decision-content,
  .care-content,
  .story-content {
    flex-direction: column;
  }

  .color-palette {
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .routine-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .story-header {
    flex-direction: column;
    text-align: center;
  }

  /* Improved mobile image sizing */
  .hero-image img {
    height: 300px;
  }

  .photo-item img,
  .care-image img,
  .story-image img {
    height: 220px;
  }

  .featured-image img {
    height: 280px;
  }
}
  .center {
   display: block;
   margin-left: auto;
   margin-right: auto;
  }
.profile-photo {
  display: block;
  margin: 0 auto 1.5rem;
  border: 6px solid var(--secondary-color);
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cv-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.cv-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
