@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #7360f2;
  --primary-hover: #5a4bce;
  --primary-light: #eaeafe;
  --bg-color: #f8f9fc;
  --surface: #ffffff;
  --text-dark: #111114;
  --text-gray: #6b6b7b;
  --border-color: #e6e8f0;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(115, 96, 242, 0.08);
  --shadow-md: 0 8px 24px rgba(115, 96, 242, 0.15);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: var(--surface);
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}

/* --- Header --- */
.header {
  background-color: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-gray);
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

/* --- Footer --- */
.footer {
  background-color: var(--surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
}

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

.footer-branding .logo {
  margin-bottom: 1rem;
  display: block;
}

.footer-branding p {
  color: var(--text-gray);
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-info p {
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.85rem;
}

/* --- Hero Section --- */
.hero {
  padding: 6rem 0;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  background: var(--primary-light);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative circle */
.hero-image::before {
  content: '';
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 15rem;
  height: 15rem;
  background-color: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

/* Media queries moved to EOF for correct CSS cascade priority */

/* --- Sections --- */
.section {
  padding: 5rem 0;
}
.section-light {
  background-color: var(--surface);
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

/* --- About --- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* --- Video Carousel --- */
.carousel-wrapper {
  position: relative;
}
.video-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  padding: 1rem 0 2rem 0;
}
.video-track::-webkit-scrollbar {
  display: none;
}
.video-slide {
  flex: 0 0 calc(80% - 1.5rem);
  scroll-snap-align: start;
}
@media(min-width: 600px) {
  .video-slide {
    flex: 0 0 calc(50% - 1.5rem);
  }
}
@media(min-width: 900px) {
  .video-slide {
    flex: 0 0 calc(33.333% - 1.5rem);
  }
}
.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
}
.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
}
.carousel-btn.prev {
  left: -25px;
}
.carousel-btn.next {
  right: -25px;
}
@media(max-width: 768px) {
    .carousel-btn { display: none; }
}

.custom-video-player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1f1c2c 0%, #0d0c13 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  aspect-ratio: 9/16; /* For portrait videos like from phones */
}
.custom-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center; /* Precisely centers the face element */
  display: block;
}
.play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.4) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s ease;
}
.play-overlay:hover {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.5) 100%);
}
.play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.play-button {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(115, 96, 242, 0.5);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.play-overlay:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(115, 96, 242, 0.8);
  background: rgba(255, 255, 255, 0.2);
}
.play-button::after {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.video-watermark {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 5;
  transition: opacity 0.3s;
}
.play-overlay.hidden + .video-watermark {
  opacity: 0; /* Hide watermark when video is playing */
}

/* --- Cards (Services & Shop) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-desc {
  color: var(--text-gray);
  margin-bottom: 2rem;
  flex-grow: 1;
}
.card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.card-image-wrapper {
  background: var(--bg-color);
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  overflow: hidden;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  text-align: left;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-color);
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
  text-align: center;
  font-weight: 500;
}
.form-status.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.form-status.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-container .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    gap: 1rem;
  }
  .logo {
    font-size: 1.2rem;
  }
  .header-container .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 0 1rem 0;
    gap: 0.8rem 1.5rem;
  }
  .nav-links a {
    white-space: nowrap;
    font-size: 0.95rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-branding p {
    margin: 0 auto;
  }
}


