/* Classic Barber Shop Website Styles */

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #2d2d2d;
  --accent-color: #009bc2;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #888888;
  --bg-dark: #0a0a0a;
  --bg-light: #1a1a1a;
  --bg-gray: #f8f9fa;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
  --gradient: linear-gradient(135deg, var(--accent-color) 0%, #0088a3 100%);
  --gradient-dark: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #2d2d2d 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-dark);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.display-1,
.display-2,
.display-3,
.display-4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent-color) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Inter', sans-serif;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.navbar-icon {
  transition: transform 0.3s ease;
  animation: rotate 2s linear forwards;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hero Section */
.hero-section {
  background: var(--gradient-dark);
  color: var(--text-light);
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/banner-bg 3.png') center/cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  max-width: 600px;
  margin-left: auto;
  margin-right: 45%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.8;
}

.hero-buttons .btn {
  margin: 0.5rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: 2px solid;
}

.btn-primary {
  background: #6c757d;
  border-color: #6c757d;
  color: var(--text-light);
}

.btn-primary:hover {
  background: #5a6268;
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border-color: #6c757d;
  color: #6c757d;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #6c757d;
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border-color: var(--text-light);
  color: var(--text-light);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Call Us Button */
.call-us-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: var(--accent-color);
  color: var(--text-dark);
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
}

.call-us-btn:hover {
  transform: scale(1.05);
  color: var(--text-dark);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--accent-color);
}

/* About Section */
.about-section {
  background: var(--bg-gray);
  color: var(--text-dark);
}

.about-section .section-title {
  color: var(--text-dark);
}

.about-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2rem;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0.1;
  z-index: 1;
}

/* Services Section */
.services-section {
  background: var(--bg-dark);
}

.service-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.1);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--text-dark);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.3rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
  font-family: 'Inter', sans-serif;
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-gray);
  color: var(--text-dark);
}

.gallery-section .section-title {
  color: var(--text-dark);
}

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

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  aspect-ratio: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 3rem;
  color: var(--accent-color);
}

/* Team Section */
.team-section {
  background: var(--bg-dark);
}

.team-card {
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  flex-direction: row;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.team-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.team-card:hover .team-image {
  transform: scale(1.1);
}

.team-info {
  padding: 2.5rem;
  text-align: left;
  flex: 1;
}

.team-name {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.5rem;
}

.team-position {
  color: var(--text-gray);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-gray);
  color: var(--text-dark);
}

.testimonials-section .section-title {
  color: var(--text-dark);
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

/* Contact Section */
.contact-section {
  background: var(--bg-dark);
}

.contact-info {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: 15px;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-control {
  background: var(--bg-dark);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
  background: var(--bg-dark);
  color: var(--text-light);
}

.form-control::placeholder {
  color: var(--text-gray);
}

/* Footer */
.footer {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer h5 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Appointment Banner */
.appointment-banner {
  background: var(--gradient);
  color: var(--text-dark);
  padding: 3rem 0;
  text-align: center;
}

.appointment-banner h3 {
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2.5rem;
}

.appointment-banner .btn {
  background: var(--text-dark);
  color: var(--accent-color);
  border: 2px solid var(--text-dark);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.appointment-banner .btn:hover {
  background: transparent;
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .call-us-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }

  .team-card {
    flex-direction: column;
  }

  .team-image {
    width: 100%;
    height: 250px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(212, 175, 55, 0.3);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}
