/* Barber Custom Color Palette - Mint Teal Theme */
:root {
  --primary-dark: #0B4F4A;
  --accent: #4ECDC4;
  --secondary-text: #FFFFFF;
  --highlight-accent: #7BEFEF;
  --background: #0B4F4A;
  --surface: #1A6F69;
  --text-primary: #FFFFFF;
  --text-secondary: #E8F8F7;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  background-image:
    linear-gradient(45deg, rgba(78, 205, 196, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(78, 205, 196, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(78, 205, 196, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(78, 205, 196, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

/* Keyframe Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Barber Navigation - Clean Modern Design */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(11, 79, 74, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(78, 205, 196, 0.2);
  transition: background-color 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
  position: relative;
}

.logo::before {
  content: '✂️';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.nav-links a:hover::after {
  width: 100%;
  height: 100%;
}

.nav-links a:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 4rem;
  background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--accent), var(--highlight-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 25px;
  filter: drop-shadow(0 20px 40px rgba(78, 205, 196, 0.15))
          brightness(1.05) contrast(1.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-img::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--accent), var(--highlight-accent));
  border-radius: 30px;
  z-index: -1;
  opacity: 0.1;
  filter: blur(15px);
}

.hero-img:hover {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 25px 50px rgba(78, 205, 196, 0.25))
          brightness(1.08) contrast(1.15);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--surface);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent);
}

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

.service-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(78, 205, 196, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--highlight-accent);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--background);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.about-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 25px;
  border: 2px solid rgba(78, 205, 196, 0.1);
  filter: drop-shadow(0 18px 40px rgba(78, 205, 196, 0.25))
          saturate(1.15) brightness(1.03) contrast(1.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
  object-fit: cover;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(78, 205, 196, 0.08) 0%,
    rgba(123, 239, 239, 0.05) 25%,
    transparent 50%,
    rgba(78, 205, 196, 0.08) 75%,
    rgba(123, 239, 239, 0.05) 100%);
  border-radius: 25px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-img:hover::after {
  opacity: 1;
}

.about-img:hover {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 25px 55px rgba(78, 205, 196, 0.35))
          saturate(1.25) brightness(1.08) contrast(1.08);
  border-radius: 28px;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--surface);
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.info-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 8px;
  background-color: var(--background);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  padding: 3rem 0 1rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--highlight-accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .hero-text {
    font-size: 1.1rem;
  }

  .hero-img {
    max-width: 400px;
  }

  .nav-links {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-img {
    max-width: 320px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 100px 0 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-img {
    max-width: 350px;
  }

  .about-img {
    max-width: 280px;
  }

  .info-item {
    text-align: center;
  }
}