/* ==========================
GLOBAL STYLES
========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background: #f8f8f8;
  color: #333;
}

img {
  width: 100%;
  display: block;
}

section {
  padding: 80px 10%;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 15px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ==========================
BUTTONS
========================== */

.btn {
  display: inline-block;
  background: #ff5f8f;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #e84a7a;
}

/* ==========================
NAVBAR
========================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff5f8f;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #333;
  font-weight: 600;
}

.nav-links a:hover {
  color: #ff5f8f;
}

.menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================
HERO SECTION
========================== */

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/manicure1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ==========================
WHY US
========================== */

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

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

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

/* ==========================
SERVICES
========================== */

.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 45px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card span {
  display: block;
  margin-top: 10px;
  color: #ff5f8f;
  font-weight: bold;
}

/* ==========================
GALLERY
========================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 55px;
}

.gallery img {
  border-radius: 10px;
  width: 70%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

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

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

/* Navigation buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

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

@keyframes zoomIn {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}

/* ==========================
TESTIMONIALS
========================== */

.testimonials {
  background: #fff;
}

.testimonial {
  background: #f1f1f1;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #ff5f8f;
  border-radius: 5px;
}

/* ==========================
ABOUT
========================== */

/* ==========================
ABOUT
========================== */

#about {
  text-align: center;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 60px;
  text-align: left;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  color: #ff5f8f;
}

.about-text p {
  color: #555;
  margin-bottom: 15px;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.mv-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.mv-card:hover {
  transform: translateY(-8px);
}

.mv-card i {
  font-size: 1.8rem;
  color: #ff5f8f;
  margin-bottom: 12px;
}

.mv-card h3 {
  margin-bottom: 10px;
}

.mv-card p {
  color: #666;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  background: #fff0f4;
  padding: 25px 15px;
  border-radius: 10px;
}

.stat h3 {
  font-size: 2rem;
  color: #ff5f8f;
  margin-bottom: 5px;
}

.stat p {
  color: #555;
  font-size: 0.9rem;
}

/* ==========================
TEAM
========================== */

.team h2 {
  margin-bottom: 100px;
}
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 100px;
  max-width: 1100px;
}

.team-member {
  background: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: center;
  transition:
    0.3s ease,
    transform 0.3s ease;
}
.team-member:hover {
  transform: scale(1.15);
}
.team-member-image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  margin-bottom: 16px;
  align-items: center;
  position: relative;
  border: 3px solid #f4a6a6;
  margin-top: -80px;
}
.team-member-image img {
  margin-top: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.team-experience {
  color: #e84a7a;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-experience i {
  margin-right: 5px;
  color: #f4a6a6;
}
.social-icons {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.social-icons a {
  color: #999;
  font-size: 1.1rem;
  transition:
    color 0.2s ease,
    transfom 0.2s ease;
}
.social-icons a:hover {
  color: #f4a6a6;
  transform: scale(1.15);
}

/* ==========================
FORMS
========================== */

form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
select,
textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ff5f8f;
}

button {
  background: #ff5f8f;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #e84a7a;
}

/* ==========================
CONTACT
========================== */

#contact p {
  text-align: center;
  margin-bottom: 10px;
}

/* ==========================
FOOTER
========================== */

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 30px 10%;
}
.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  margin: 0 10px;
}

.footer-links a:hover {
  color: #ff5f8f;
}

/* ==========================RESPONSIVE DESIGN========================== */

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

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

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 60px 5%;
  }
}
/* ==========================
LIGHTBOX
========================== */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* ==========================
SCROLL ANIMATION
========================== */

section {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}
/*
.popup {
  width: 100%;
  display: none;
  margin-top: 15px;
  padding: 10px 10px;
  border-radius: 5px;
  text-align: center;
}
.success {
  display: block;
  background: #d4edda;
  color: green;
}
.error {
  display: block;
  background: #f8d7da;
  color: red;
}
.output {
  display: none;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid green;
}*/
.popup {
  text-align: center;
}
.site-footer {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 60px 20px 20px;
  font-family: "DM Sans", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  color: #ff4d8d;
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-col p {
  line-height: 1.6;
  color: #b5b5b5;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #b5b5b5;
}

.footer-col ul li i {
  color: #ff4d8d;
  margin-right: 8px;
  width: 16px;
}

.footer-col a {
  color: #b5b5b5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ff4d8d;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 50%;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.footer-socials a:hover {
  background: #ff4d8d;
  border-color: #ff4d8d;
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom a {
  color: #ff4d8d;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
