/* ===== Base & Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100vh;
}

/* ===== Custom Properties ===== */
:root {
  --burgundy: #7B2D3B;
  --burgundy-light: #fce7eb;
  --blush: #ff5c3f;
  --blush-light: #ffefec;
}

/* ===== Navigation ===== */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: box-shadow 0.3s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width 0.3s ease;
}

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

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--burgundy);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy, #6a2431);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 45, 59, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--burgundy);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
  background: var(--burgundy, #fce7eb);
  transform: translateY(-2px);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--burgundy);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ===== Input Fields ===== */
.input-field {
  border: 1.5px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #171717;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  width: 100%;
}

.input-field:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.input-field::placeholder {
  color: #a3a3a3;
}

/* ===== Hero ===== */
.h-18 {
  height: 4.5rem;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 0.8s ease forwards;
}

.hero-image {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 0.8s ease 0.2s forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-card {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Geometric Shapes ===== */
.geo-shape {
  position: absolute;
  opacity: 0.5;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--burgundy);
  top: -100px;
  right: -100px;
  opacity: 0.04;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--blush);
  bottom: 100px;
  left: -50px;
  opacity: 0.06;
}

.geo-circle-3 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--burgundy);
  bottom: -200px;
  right: -150px;
  opacity: 0.08;
}

.geo-circle-4 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: white;
  top: -80px;
  left: 10%;
  opacity: 0.06;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: var(--blush);
  top: 30%;
  right: 5%;
  opacity: 0.06;
  transform: rotate(15deg);
}

.geo-square-2 {
  width: 80px;
  height: 80px;
  background: var(--blush);
  top: 20%;
  left: 10%;
  opacity: 0.1;
  transform: rotate(30deg);
}

.geo-square-3 {
  width: 150px;
  height: 150px;
  background: white;
  bottom: -40px;
  right: 15%;
  opacity: 0.08;
  transform: rotate(45deg);
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--burgundy);
  top: 40%;
  left: 3%;
  opacity: 0.04;
  transform: rotate(-15deg);
}

.geo-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--burgundy) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.08;
  top: 20%;
  left: 8%;
}

/* ===== Service Cards ===== */
.service-card {
  opacity: 0;
  transform: translateY(20px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ===== Gallery ===== */
.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123, 45, 59, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

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

/* ===== Testimonials ===== */
.testimonial-card {
  opacity: 0;
  transform: translateY(20px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-line {
  display: block;
}

#menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
  width: 1.5rem;
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== Scroll Indicator ===== */
.scroll-dot {
  width: 0.375rem;
  height: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .geo-circle-1 {
    width: 200px;
    height: 200px;
  }

  .floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    display: inline-flex;
  }
}
