
/* Reset.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  min-width: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

html,
body {
  height: 100%;
}

body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  min-height: 100vh;
  min-height: 100dvh;
}

p,
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
}

/* Style.css */
:root {
  --width-screen: min(100rem, 100%);
  --color-contrast-1: #e2e2e2;
  --color-contrast-2: #868484;
}

.icon {
  --internal-icon-color: var(--color-contrast-2);
  --internal-icon-size: 2rem;
  fill: var(--icon-color, var(--internal-icon-color));
  width: var(--icon-size-w, var(--icon-size, var(--internal-icon-size)));
  height: var(--icon-size-h, var(--icon-size, var(--internal-icon-size)));
  display: inline-block;
}

body {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  color: rgb(25, 23, 23);
  background-color: var(--color-contrast-1);
}

body.paws-page {
  background-image: url("/images/paws.jpg");
}

body.planets-page {
  background-image: url("/images/planets.jpg");
}

main {
  flex: 1;
  width: 100%;
}

header,
main,
footer {
  & > div {
    width: var(--width-screen);
    margin: 0 auto;
    padding: 1rem;
  }
}

footer {
  --icon-color: var(--color-contrast-1);
  --icon-size: 2rem;

  background-color: var(--color-contrast-2);
  color: var(--color-contrast-1);

  & > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;

    & a {
      color: var(--color-contrast-1);
      font-weight: 700;
      text-decoration: none;
    }
  }
}

article,
section,
p {
  margin: 1rem 0;
}

.main-nav {
  display: flex;
  justify-content: space-around;
  background-color: #e2e2e2;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  background-color: #93a6a8;
  color: inherit;
  transform: scale(1.05);
}

.intro {
  background: linear-gradient(90deg, #ffd6e0, #ffe0b3);
  border-left: 6px solid #ff6f61;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-align: center;
  color: #333;
}

.intro strong {
  color: #ff3b3f;
  font-size: 1.3rem;
}

/* Grid layout */
.explore-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Cards */
.explore-card {
  flex: 1 1 250px;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  color: white;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.explore-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 900;
}

/* Hover effect */
.explore-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Individual card colors */
.paws {
  background: linear-gradient(135deg, #8a3974, #a6c1ee);
}

.planets {
  background: linear-gradient(135deg, #499aa0, #66a6ff);
}

.plates {
  background: linear-gradient(135deg, #805f32, #fcb69f);
}
a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

a:hover,
a:focus {
  text-decoration: none;
}

/* Paw profile image */
.paw-profile .paw-image {
  width: 100%;
  max-width: none; /* remove cap entirely */
  height: 500px; /* or any fixed height */
  object-fit: cover;
  display: block;
  margin: 1.5rem auto;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
/* paw list index */

.paws-list {
  background: url("/images/paws.jpg") center center / cover no-repeat;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.paws-list h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Grid layout for cards */
.paws-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Individual paw card */
.paw-card {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.paw-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Image inside card */
.paw-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Content inside card */
.paw-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.paw-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.paw-content p {
  margin: 0.3rem 0;
}

.paw-content a {
  margin-top: 1rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.paw-content a:hover {
  color: #ff3b3f;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .paws-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Planets page container */
.planets-list {
  padding: 2rem;
  background: url("/images/planets.jpg") center center / cover no-repeat;
  min-height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.planets-list h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Grid layout */
.planets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Individual planet card (grid preview) */
.planet-card {
  background: linear-gradient(135deg, #499aa0, #66a6ff);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.planet-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.planet-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.planet-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.planet-content p {
  margin: 0.3rem 0;
}

.planet-content a {
  margin-top: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.planet-content a:hover {
  color: #ffeb3b;
  text-decoration: underline;
}

//* Planet article (planet.html / review page) */
.movie-review {
  background: linear-gradient(
    145deg,
    rgba(10, 25, 47, 0.9),
    rgba(15, 40, 70, 0.9)
  );
  border: 1px solid #1ec8ff;
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 750px;
  color: #141415;
  box-shadow: 0 0 15px rgba(30, 200, 255, 0.3), 0 0 30px rgba(0, 120, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(30, 200, 255, 0.5), 0 0 50px rgba(0, 120, 255, 0.3);
}

.movie-review h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1c1e1e;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.7),
    0 0 20px rgba(0, 180, 255, 0.4);
}

.movie-review p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  border-left: 4px solid #64ffda;
  padding-left: 1rem;
  color: #1e1d1d;
}

.movie-review strong {
  color: #010f0c;
}

.movie-review a {
  color: #010d11;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.movie-review a:hover {
  color: #181919;
  text-shadow: 0 0 8px #64ffda, 0 0 16px rgba(100, 255, 218, 0.5);
}

.movie-review hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #1ec8ff, transparent);
  margin: 1.5rem 0;
}

.movie-body {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1rem;
  font-family: "Courier New", monospace;
  color: #0b0b0b;
  text-shadow: 0 0 3px #00ffe7;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .planets-grid {
    flex-direction: column;
    align-items: center;
  }

  .movie-review {
    padding: 1rem;
    margin: 1rem;
  }

  .movie-review h1 {
    font-size: 1.5rem;
  }
}
