/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  /* Colors */
  --primary-color: #1e40af; /* Blue */
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --accent-color: #10b981; /* Green */
  --accent-light: #34d399;
  --accent-dark: #059669;
  --white-color: #ffffff;
  --text-color: #374151;
  --text-light: #6b7280;
  --body-color: #f9fafb;
  --container-color: #ffffff;
  --border-light: #e5e7eb;
  --shadow-light: 0 2px 16px hsla(220, 32%, 8%, 0.1);
  --shadow-medium: 0 4px 32px hsla(220, 32%, 8%, 0.15);

  /* Typography */
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /* Font Weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* z-index */
  --z-tooltip: 10;
  --z-fixed: 100;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Responsive Typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.875rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--primary-dark);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* === REUSABLE CSS CLASSES === */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.section__subtitle {
  color: var(--text-light);
  font-size: var(--normal-font-size);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  z-index: var(--z-fixed);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.nav {
  height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo h2 {
  color: var(--primary-color);
  font-weight: var(--font-bold);
  font-size: 1.5rem;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--accent-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 2px 0;
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  padding-top: 8rem;
  background: linear-gradient(135deg, var(--body-color) 0%, var(--white-color) 100%);
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero__data {
  text-align: left;
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero__title span {
  color: var(--accent-color);
}

.hero__description {
  font-size: var(--h3-font-size);
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: var(--font-light);
}

.hero__button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-medium);
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.hero__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px hsla(220, 32%, 8%, 0.2);
}

.hero__image {
  justify-self: center;
}

.hero__blob {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  animation: blob 7s ease-in-out infinite;
  box-shadow: var(--shadow-medium);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes blob {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* === ABOUT SECTION === */
.about {
  background-color: var(--white-color);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: var(--h3-font-size);
}

.about__description {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about__stat {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--body-color);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
}

.about__stat h4 {
  font-size: 2rem;
  color: var(--accent-color);
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
}

.about__stat span {
  color: var(--text-light);
  font-size: var(--small-font-size);
}

.about__image {
  justify-self: center;
}

.about__img {
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  width: 100%;
  max-width: 400px;
}

/* === COLLECTION SECTION === */
.collection {
  background-color: var(--body-color);
}

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

.collection__card {
  background-color: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.collection__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
  transition: var(--transition);
}

.collection__card:hover::before {
  left: 100%;
}

.collection__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.collection__icon {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.collection__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.collection__description {
  color: var(--text-light);
  line-height: 1.8;
}

/* === TESTIMONIAL SECTION === */
.testimonial {
  background-color: var(--white-color);
}

.testimonial__content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial__card {
  display: none;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  transform: translateX(100px);
  transition: var(--transition);
}

.testimonial__card.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testimonial__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-size: var(--h3-font-size);
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.testimonial__job {
  color: var(--text-light);
  font-size: var(--small-font-size);
}

.testimonial__description {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
  font-size: var(--normal-font-size);
}

.testimonial__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial__button {
  background-color: var(--primary-color);
  color: var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.testimonial__button:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.testimonial__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial__dot.active {
  background-color: var(--accent-color);
}

/* === CONTACT SECTION === */
.contact {
  background-color: var(--body-color);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: var(--h3-font-size);
}

.contact__description {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__detail h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: var(--normal-font-size);
}

.contact__detail span {
  color: var(--text-light);
}

.contact__form {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
}

.contact__field {
  margin-bottom: 1.5rem;
}

.contact__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: var(--transition);
}

.contact__input:focus {
  border-color: var(--accent-color);
  outline: none;
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.contact__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* === FOOTER === */
.footer {
  background-color: var(--primary-dark);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__title {
  font-size: var(--h2-font-size);
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer__social-title {
  margin-bottom: 1rem;
  color: var(--white-color);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--small-font-size);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--accent-color);
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.scroll-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.scroll-top.show {
  bottom: 3rem;
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero__container,
  .about__content,
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero__image,
  .about__image {
    order: -1;
  }
  
  .about__stats {
    justify-self: center;
    max-width: 400px;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer__links {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    padding: 3rem 0 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
  }
  
  .nav__menu.show-menu {
    top: 4.5rem;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .section {
    padding: 4rem 0 2rem;
  }
  
  .hero {
    padding-top: 6rem;
  }
  
  .hero__data {
    text-align: center;
  }
  
  .hero__blob {
    width: 250px;
    height: 250px;
  }
  
  .collection__content {
    grid-template-columns: 1fr;
  }
  
  .testimonial__header {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial__info {
    text-align: center;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
  }
  
  .contact__form {
    order: -1;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .collection__card {
    padding: 2rem 1.5rem;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
  
  .testimonial__navigation {
    flex-wrap: wrap;
  }
}