/* MO-IT161 - Web Systems and Technology */
/* Anton Roger Galfo || Marjorie Navarro */

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

body {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  background-color: #f7f2e4;
  color: #3e2723;
}

h2 {
  font-size: 2rem;  
  font-family: "Comic Sans MS", sans-serif;
  color: #7c2a14;          
  font-weight: 1000;                
  margin: 0.5rem 0 0;  
  display: inline-block;
}

section {
  padding-top: 100px;   /* extra space for the navbar */
  margin-top: -100px;   /* pulls content back up visually */
}

/* HOME SECTION */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  background: linear-gradient(135deg, #fdf6f0, #ffe4d9);
  min-height: 90vh;
}

.home__content {
  max-width: 50%;
}

.home__title {
  font-size: 3rem;
  font-family: "Comic Sans MS", sans-serif;
  color: #3e2723;
  margin-bottom: 20px;
}

.home__title span {
  color: #973719;
}

.home__subtitle {
  font-size: 1.5rem;
  color: #5d4037;
  margin-bottom: 15px;
}

.home__description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #4e342e;
}

.home__button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #225e5f;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease, transform 0.2s ease;
}

.home__button:hover {
  background-color: #7c2a14;
  transform: scale(1.05);
}

.home__image img {
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: float 3s ease-in-out infinite;
}

/* Cute floating animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


/* HEADER / BANNER */
.header {
  background: linear-gradient(to bottom, #4db6ac, #fefef1);
  text-align: left;
  padding: 1rem;
  border-bottom: 4px solid #fbc02d;
}

header h1 {
  font-family: "Roboto Serif", serif;
  font-size: 5rem;
  color: #3e2723;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0;
}

header p {
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
  color: #3e2723;
  margin-top: 0.5rem;
}

/* NAVIGATION BAR */
nav {
  background-color: #07535e;
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between; 
  align-items: center;       
}

.navbar {
  transition: opacity 0.5s ease, visibility 0.5 ease;
}

.navbar.hidden {
  opacity: 0;
  visibility: hidden;

}

/* Logo */
nav .logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* Nav links */
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0;
}

nav ul a {
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  color: #fefef1;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

nav ul a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #f28b82;
  transition: width 0.3s ease;
}

nav ul a:hover::after {
  width: 100%;
}

nav ul a:hover {
  color: #f28b82;
}

.button {
  display: inline-block;
  padding: 10px 15px;
  background: #fefefe;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
}

.button--back {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #225e5f;
  color: #fff;
  z-index: 1000;
}

.button--back:hover {
  background: #7c2a14;
}

/* MAIN CONTENT*/
.cat__showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px; /* or 1200px depending on your taste */
  margin: 0 auto; 
  gap: 40px;
  padding: 50px;
  background: linear-gradient(135deg, #fdf6f0, #ffe4d9)
}

.cat__info {
  flex: 1;
  padding: 20px;
}

.cat__name {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cat__tagline {
  font-style: italic;
  margin-bottom: 20px;
  color: #666;
}

.cat__details p {
  margin: 6px 0;
}

.view__more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #225e5f;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  border: none;          
  outline: none;         
  box-shadow: none;    
}

.view__more:hover {
  background-color: #973719;
  transform: scale(1.05);
}

.cat__image {
  flex: 1;
  text-align: center;
}

.cat__image img {
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  transition: transform 0.3s ease-in-out;
}

.cat__image img:hover {
  transform: scale(1.05);
}

.cat__story {
  display: none;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 800px;
}

.cat__story:target {
  display: block;
}

.glow__up img {
  width: 150px;
  margin: 10px;
  border-radius: 10px;
}

.glow__up img:hover {
  transform: scale(1.1);
  cursor: pointer;
} 

/* MOMENTS & WHISKERS GALLERY*/
.moments-section {
  text-align: center; 
  margin: 0px auto;
  max-width: 900px;
}

.moments-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.moments-section p {
  font-size: 1.1rem;
  margin-bottom: 150px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.moments-section video {
  display: block;
  margin: 0 auto;
  max-width: 350px;  /* keeps video nicely sized */
  border-radius: 15px;
}


#moments .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

#moments .gallery img,
#moments .gallery video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

#moments .gallery img:hover,
#moments .gallery video:hover {
  transform: scale(1.05);
}

/* VIDEOS */
.cat-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.reel {
  position: relative;   
  width: 360px;
  height: 640px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-actions {
  position: absolute;
  right: 10px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.video-actions .action span {
  display: block;
  font-size: 14px;
  text-align: center;
  margin-top: 2px;
}


#glow-up {
  display: flex;
  overflow-x: auto; 
  white-space: nowrap;
  padding: 10px 0;
}


#glow-up img {
  width: 200px;      
  height: 250px;
  gap: 10px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-shrink: 0;   
  transition: transform 0.3s;
}


#glow-up video {
  width: 200px;      
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-shrink: 0;    
  transition: transform 0.3s;
}


#glow-up img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

#glow-up p {
  font-size: 1.2rem;
  color: #3e2723;
  text-align: center;
  margin-top: 5px;
  width: 200px;
}

/* Community Showcase Section */
.community-section {
  text-align: center; 
  margin: 30px auto;
  max-width: 900px;
}

.community-header h2 {
  font-size: 2rem;
  color: #7c2a14;
  margin-bottom: 15px;
}

.community-header p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

.community-videos {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  margin-top: 30px;
}

.community-videos video {
  width: 100%; 
  height: auto; 
  display: block;
  border-radius: 10px; 
}

/* PET CARE TIPS */
#pet-care {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}


#pet-care h5:first-of-type {
  color: #4db6ac;
  font-size: 2rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #fbc02d;
  padding-bottom: 5px;
  display: block;
}


/*Paragraph style for pet care tips*/
#pet-care p {
  font-size: 1.2rem;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  color: #3e2723;
  margin-bottom: 20px;
}


/*List style for pet care tips*/
#pet-care ul li {
  font-size: 1.2rem;
  font-family: "Roboto", sans-serif;
  margin-bottom: 10px;
  color: #3e2723;
  margin-left: 50px;
}


/*CAT TRIVIA & FUN FACTS (Did You Know?) */
#cat-trivia {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


#cat-trivia h4 {
  color: #4db6ac;
  font-size: 2rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #fbc02d;
  padding-bottom: 5px;
  display:block;
}


#cat-trivia h5 {
  font-size: 1.3rem;
  font-family: "Roboto", sans-serif;
  color: #3e2723;
  margin: 15px 0 8px;
}


/*Paragraph style for cat   trivia*/
#cat-trivia p {
  font-size: 1.1rem;
  font-family: "Roboto", sans-serif;
  color: #3e2723;
  margin-bottom: 10px;
  margin-left: 10px;
  line-height: 1.6;


}


#cat-trivia ul {
  font-size: 1.1rem;
  font-family: "Roboto", sans-serif;
  color: #3e2723;
  margin-left: 50px;
  margin-bottom: 15px;
}


#cat-trivia li {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #2c2c2c;
}


/* CAT CULTURE (Cat-egorical Terms) */
#cat-culture {
  background-color: #fefef1;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}


#cat-culture h5 {
  font-size: 1.5rem;
  color: #4db6ac;
  margin-bottom: 12px;
  border-bottom: 2px solid #fbc02d;
  display: block;
  padding-bottom: 4px;
}


#cat-culture ul {
  list-style: none;
  padding: 0;


}

#cat-culture li {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-family: Roboto, sans-serif;
  color: #2c2c2c;


}

#cat-culture li strong {
  color: #3e2723;
}


/* FOOTER */
footer {
  background-color: #4db6ac;
  color: #2c2c2c;
  text-align: center;
  padding: 10px 15px;
}


footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  color: #f28b82;
  text-decoration: underline;
}





