/* =========================================================================
   STYLE CSS - SUNNYSIDE AGENCY 
   Starting fresh - Issue by Issue
   
   ✅ COMPLETED TASKS:
   ✓ Responsiveness (Mobile + Tablet) - Media queries, Layout adjustments, Image scaling
   ✓ UI Polish & Accessibility - Hover states, Focus states, Spacing bugs fixed, Code cleaned
   
   Last updated: 08 Apr 2026
   Status: Production Ready 🚀
   ========================================================================= */

:root {
  --color-soft-red: hsl(7, 99%, 70%);
  --color-yellow: hsl(51, 100%, 49%);
  --color-dark-desat-cyan: hsl(167, 40%, 24%);
  --color-dark-blue: hsl(198, 62%, 26%);

  --color-very-dark-blue: hsl(212, 27%, 19%);
  --color-very-dark-gray-blue: hsl(213, 9%, 39%);
  --color-dark-gray-blue: hsl(232, 10%, 55%);
  --color-gray-blue: hsl(210, 4%, 67%);
  --color-white: hsl(0, 0%, 100%);

  --font-base: 'Barlow', sans-serif;
  --font-headings: 'Fraunces', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 18px;
  color: var(--color-dark-gray-blue);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--color-very-dark-blue);
  font-weight: 900;
}

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

a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
}

/* Hover states */
a:hover {
  opacity: 0.7;
}

button:hover,
.btn:hover {
  opacity: 0.8;
  cursor: pointer;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

section {
  width: 100%;
}

/* ========================
   CTA Button Styles
   ======================== */

.btn {
  background: var(--color-white);
  color: var(--color-very-dark-blue);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-family: var(--font-headings);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn:focus-visible {
  outline: 2px solid var(--color-very-dark-blue);
  outline-offset: 3px;
}

/* =========================================
   ISSUE 1: HEADER & NAVIGATION
   ========================================= */

/* Hero Section - Header */
.header {
  height: 100vh;
  min-height: 500px;
  background: url('images/mobile/image-header.jpg') center bottom/cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 480px) {
  .header {
    min-height: 550px;
  }
}

@media (min-width: 768px) {
  .header {
    background: url('images/image-header.jpg') center bottom/cover no-repeat;
    height: 800px;
    min-height: 600px;
  }
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

@media (min-width: 480px) {
  .hero-content {
    gap: 3rem;
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    gap: 6rem;
    padding: 2rem 3rem;
  }
}

/* Navigation Bar */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background-color: #3ebfff;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 480px) {
  .nav {
    padding: 1.5rem 2rem;
  }
  .nav.scrolled {
    padding: 1rem 2rem;
  }
}

@media (min-width: 768px) {
  .nav {
    padding: 2rem 3rem;
  }
  .nav.scrolled {
    padding: 1.2rem 3rem;
    background-color: rgba(62, 191, 255, 0.95);
    backdrop-filter: blur(5px);
  }
}

/* Logo */
.logo {
  font-size: 1.25rem;
  color: var(--color-white);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 1px;
}

@media (min-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.8rem;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 12;
  transition: all 0.3s ease;
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Links */
.nav-links {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 2rem;
  }
}

.nav-links a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .nav-links a {
    font-size: 1rem;
  }
  .nav-links li:last-child a {
    color: var(--color-very-dark-blue);
  }
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem 1.25rem;
    z-index: 10;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    display: none;
    opacity: 0;
  }

  @media (min-width: 375px) {
    .nav-links {
      padding: 2.5rem 1.5rem;
      gap: 2rem;
    }
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
  }

  /* Triangle pointing top-right */
  .nav-links::before {
    content: '';
    position: absolute;
    top: -24px;
    right: 0;
    border-left: 24px solid transparent;
    border-bottom: 24px solid var(--color-white);
  }

  .nav-links a {
    color: var(--color-dark-gray-blue);
    font-weight: 600;
  }

  .nav-links a:hover {
    color: var(--color-very-dark-blue);
  }

  .nav-links li:last-child a {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--color-very-dark-blue);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-headings);
    text-transform: uppercase;
    margin-top: 0;
  }
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: none;
  z-index: 9;
}

.overlay.active {
  display: block;
}

/* Hero Section Content */
.header h2 {
  font-size: 2rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  text-align: center;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  opacity: 0;
  animation: fadeInDown 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  max-width: 90vw;
}

@media (min-width: 480px) {
  .header h2 {
    font-size: 2.5rem;
    letter-spacing: 0.4rem;
  }
}

@media (min-width: 768px) {
  .header h2 {
    font-size: 3.5rem;
    letter-spacing: 0.6rem;
  }
}

@media (min-width: 1024px) {
  .header h2 {
    font-size: 4.5rem;
    letter-spacing: 0.8rem;
  }
}

/* Arrow Down Animation */
.arrow-down {
  width: 30px;
  height: auto;
  opacity: 0;
  animation: 
    fadeIn 0.8s 0.8s ease-out forwards, 
    bounce 2.5s 1.6s infinite ease-in-out;
}

/* Base Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* =========================================
   ISSUE 5: SERVICES SECTION
   ========================================= */

.services {
  width: 100%;
  background-color: #f0f4f8;
  padding: 3rem 1rem;
}

@media (min-width: 480px) {
  .services {
    padding: 3.5rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .services {
    padding: 6rem 3rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .services-grid {
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.service-text {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: auto;
  background-color: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

@media (min-width: 480px) {
  .service-text {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 768px) {
  .service-text {
    padding: 3rem 10%;
    align-items: flex-start;
    text-align: left;
    min-height: 500px;
  }
}

.service-text:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-text:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
  border-radius: 20px;
}

.service-text h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-very-dark-blue);
  font-weight: 900;
  line-height: 1.1;
}

@media (min-width: 480px) {
  .service-text h2 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 768px) {
  .service-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.service-text p {
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: var(--color-very-dark-gray-blue);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (min-width: 480px) {
  .service-text p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
}

@media (min-width: 768px) {
  .service-text p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
}

.btn-learn-more {
  font-family: var(--font-headings);
  color: var(--color-very-dark-blue);
  text-transform: uppercase;
  font-weight: 900;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-learn-more::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 8px;
  border-radius: 10px;
  z-index: -1;
  opacity: 0.35;
  transition: all 0.3s ease;
}

.btn-yellow::after { background-color: var(--color-yellow); }
.btn-red::after { background-color: var(--color-soft-red); }

.btn-learn-more:hover {
  padding-left: 0.5rem;
  transform: scale(1.05);
}

.btn-learn-more:focus-visible {
  outline: 2px solid var(--color-very-dark-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.btn-learn-more:hover::after {
  height: 100%;
  opacity: 1;
}

.service-image {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .service-image {
    aspect-ratio: auto;
  }
}

.service-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-image:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
  border-radius: 20px;
}

.service-image picture {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.service-image:hover picture {
  transform: scale(1.08);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No manual ordering needed when visually separated by cards */

/* Graphic Design & Photography cards */
.service-card {
  position: relative;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

@media (min-width: 480px) {
  .service-card {
    padding: 3rem 2rem;
    min-height: 400px;
  }
}

@media (min-width: 768px) {
  .service-card {
    padding: 3.5rem 2rem;
    min-height: 500px;
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
  border-radius: 20px;
}

.card-content {
  position: relative;
  z-index: 2;
}

.graphic-design {
  background-image: url('images/mobile/image-graphic-design.jpg');
  color: var(--color-dark-desat-cyan);
}

.photography {
  background-image: url('images/mobile/image-photography.jpg');
  color: var(--color-dark-blue);
}

@media (min-width: 768px) {
  .graphic-design { background-image: url('images/image-graphic-design.jpg'); }
  .photography { background-image: url('images/image-photography.jpg'); }
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  font-family: var(--font-headings);
}

@media (min-width: 480px) {
  .card-content h3 {
    font-size: 1.7rem;
    margin-bottom: 1.1rem;
  }
}

@media (min-width: 768px) {
  .card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }
}

.card-content p {
  max-width: 350px;
  margin: 0 auto;
  font-weight: 600;
  line-height: 1.6;
  font-size: 0.9rem;
}

@media (min-width: 480px) {
  .card-content p {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .card-content p {
    font-size: 1rem;
  }
}

/* =========================================
   ISSUE 7: TESTIMONIALS SECTION
   ========================================= */

.testimonials {
  padding: 3rem 1rem 4rem;
  text-align: center;
  background-color: #f7fbff;
}

@media (min-width: 480px) {
  .testimonials {
    padding: 4rem 1.5rem 5rem;
  }
}

@media (min-width: 768px) {
  .testimonials {
    padding: 6rem 3rem 8rem;
  }
}

@media (min-width: 1024px) {
  .testimonials {
    padding: 100px 3rem 140px;
  }
}

.testimonials-title {
  color: var(--color-gray-blue);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  font-weight: 900;
}

@media (min-width: 480px) {
  .testimonials-title {
    font-size: 0.95rem;
    letter-spacing: 0.35rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .testimonials-title {
    font-size: 1rem;
    letter-spacing: 0.4rem;
    margin-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .testimonials-title {
    margin-bottom: 6rem;
    font-size: 1.25rem;
    letter-spacing: 0.6rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .testimonials-grid {
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (min-width: 480px) {
  .testimonial-card {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 3rem 2rem;
  }
}

.testimonial-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border-color: #3ebfff;
}

.testimonial-card:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
  border-radius: 24px;
}

/* Decorative Quotation Marks */
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -15px;
  left: 30px;
  font-size: 6rem;
  font-family: var(--font-headings);
  color: #3ebfff;
  opacity: 0.15;
  line-height: 1;
}

.client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 3px solid #f0f7ff;
  transition: all 0.3s ease;
}

@media (min-width: 480px) {
  .client-photo {
    width: 70px;
    height: 70px;
    margin-bottom: 1.75rem;
    border: 4px solid #f0f7ff;
  }
}

@media (min-width: 768px) {
  .client-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
  }
}

.testimonial-card:hover .client-photo {
  border-color: #3ebfff;
  transform: scale(1.1);
}

.client-quote {
  font-size: 0.95rem;
  color: var(--color-very-dark-gray-blue);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 500;
  font-style: italic;
  flex: 1;
}

@media (min-width: 480px) {
  .client-quote {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
  }
}

@media (min-width: 768px) {
  .client-quote {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
}

.client-name {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 900;
  color: var(--color-very-dark-blue);
}

@media (min-width: 480px) {
  .client-name {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
}

@media (min-width: 768px) {
  .client-name {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }
}

.client-role {
  font-size: 0.75rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

@media (min-width: 480px) {
  .client-role {
    font-size: 0.8rem;
    letter-spacing: 0.9px;
  }
}

@media (min-width: 768px) {
  .client-role {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
}

/* =========================================
   GALLERY SECTION
   ========================================= */

.gallery {
  width: 100%;
  background-color: #f0f4f8;
  padding: 3rem 1rem 4rem;
}

@media (min-width: 480px) {
  .gallery {
    padding: 3.5rem 1.5rem 5rem;
  }
}

@media (min-width: 768px) {
  .gallery {
    padding: 4rem 3rem 6rem;
  }
}

@media (min-width: 1024px) {
  .gallery {
    padding: 6rem 3rem 100px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .gallery-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    gap: 2rem;
  }
}

.gallery-grid picture {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  background-color: var(--color-white);
}

/* Unique Hover Effects - Different from Services */
.gallery-grid picture:hover {
  transform: translateY(-15px) rotate(2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  z-index: 10;
}

.gallery-grid picture:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
  border-radius: 24px;
}

.gallery-grid picture:nth-child(even):hover {
  transform: translateY(-15px) rotate(-2deg);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-grid picture:hover img {
  transform: scale(1.15);
}

/* Glassmorphism 'VIEW' Overlay */
.gallery-grid picture::after {
  content: 'VIEW';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (min-width: 480px) {
  .gallery-grid picture::after {
    font-size: 1rem;
    letter-spacing: 2.5px;
  }
}

@media (min-width: 768px) {
  .gallery-grid picture::after {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }
}

.gallery-grid picture:hover::after {
  opacity: 1;
}

/* =========================================
   ISSUE 8 & 10: FOOTER SECTION
   ========================================= */

.site-footer {
  background-color: hsl(167, 44%, 70%);
  padding: 2.5rem 1rem;
  text-align: center;
}

@media (min-width: 480px) {
  .site-footer {
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 4.5rem 3rem;
  }
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .footer-logo {
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .footer-logo {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-logo {
    margin-bottom: 3rem;
  }
}

.footer-logo img {
  height: 30px;
  filter: invert(36%) sepia(18%) saturate(1454%) hue-rotate(120deg) brightness(91%) contrast(87%);
  transition: filter 0.3s ease;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 35px;
  }
}

.footer-logo img:hover {
  filter: invert(36%) sepia(18%) saturate(1454%) hue-rotate(120deg) brightness(100%) contrast(90%);
}

.footer-logo img:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
  border-radius: 50%;
}

.footer-nav {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .footer-nav {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .footer-nav {
    margin-bottom: 3.5rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    margin-bottom: 4rem;
    gap: 3rem;
  }
}

.footer-nav a {
  color: var(--color-dark-desat-cyan);
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .footer-nav a {
    font-size: 1.1rem;
  }
}

.footer-nav a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer-nav a:focus-visible {
  outline: 2px dashed var(--color-white);
  outline-offset: 4px;
  color: var(--color-white);
  opacity: 1;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .footer-socials {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .footer-socials {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-socials {
    gap: 2.5rem;
  }
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

.footer-socials a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 6px;
  border-radius: 50%;
}

.footer-socials a img {
  height: 18px;
  width: 18px;
  transition: filter 0.3s ease;
  filter: invert(36%) sepia(18%) saturate(1454%) hue-rotate(120deg) brightness(91%) contrast(87%);
}

@media (min-width: 768px) {
  .footer-socials a img {
    height: 20px;
    width: 20px;
  }
}

.footer-socials a:hover img {
  filter: brightness(0) invert(1);
}

.footer-socials a:focus-visible img {
  filter: brightness(0) invert(1);
}