/* =============================================
   MAKE ME SARA — Custom Styles
   Supplements Tailwind CDN
   ============================================= */

/* --- Base & Reset --- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #1A1A1A;
  background-color: #FAF9F6;
  overflow-x: hidden;
}

::selection {
  background-color: #C9A84C;
  color: #1A1A1A;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
}

.heading-caps {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.heading-caps-tight {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Gold gradient button --- */
.btn-gold {
  background: linear-gradient(135deg, #C9A84C, #D4AF37);
  color: #1A1A1A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 1rem 2.5rem;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #D4AF37, #E0C068);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  border: 1.5px solid #FAF9F6;
  color: #FAF9F6;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 1rem 2.5rem;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(250, 249, 246, 0.1);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1.5px solid #1A1A1A;
  color: #1A1A1A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 0.875rem 2rem;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  background: transparent;
}

.btn-outline-dark:hover {
  background: #1A1A1A;
  color: #FAF9F6;
}

/* --- Navigation --- */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s ease;
  padding: 1.25rem 0;
}

.nav-main.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: #FAF9F6;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #C9A84C;
}

/* --- Mobile menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: #FAF9F6;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #C9A84C;
}

/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 300;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #FAF9F6;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.8) 100%
  );
}

.hero-sm {
  min-height: 50vh;
}

/* --- Gold divider --- */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 2rem;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #C9A84C, transparent);
  max-width: 120px;
}

.gold-divider-icon {
  width: 8px;
  height: 8px;
  background: #C9A84C;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Scroll animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #FAF9F6;
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 510;
}

.lightbox-close:hover {
  color: #C9A84C;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #FAF9F6;
  font-size: 2.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.lightbox-nav:hover {
  color: #C9A84C;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* --- Testimonial slider --- */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    min-width: calc(33.333% - 1.333rem);
  }
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B8A99A;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #C9A84C;
  transform: scale(1.3);
}

/* --- Portfolio filter --- */
.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  position: absolute;
  pointer-events: none;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.625rem 1.5rem;
  border: 1.5px solid #B8A99A;
  color: #1A1A1A;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1A1A1A;
  border-color: #1A1A1A;
  color: #FAF9F6;
}

/* --- FAQ accordion --- */
.faq-item {
  border-bottom: 1px solid #E8E6E3;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  color: #1A1A1A;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #C9A84C;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: #C9A84C;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #555;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* --- WhatsApp floating button --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* --- Cookie consent --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.5s ease;
  padding: 1.25rem 1.5rem;
}

.cookie-banner.show {
  transform: translateY(0);
}

/* --- Counter animation --- */
.counter {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #C9A84C;
}

@media (min-width: 768px) {
  .counter {
    font-size: 3rem;
  }
}

/* --- Card hover effects --- */
.card-hover {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* --- Image hover zoom --- */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.6s ease;
}

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

/* --- Process step connector --- */
.process-connector {
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 50%;
  width: 1px;
  height: calc(100% - 2.5rem);
  background: linear-gradient(to bottom, #C9A84C, transparent);
}

@media (min-width: 768px) {
  .process-connector::after {
    top: 50%;
    left: 100%;
    width: calc(100% - 2rem);
    height: 1px;
    background: linear-gradient(to right, #C9A84C, transparent);
    transform: translateY(-50%);
  }
}

/* --- Form styles --- */
.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid #E8E6E3;
  background: #FAF9F6;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  color: #1A1A1A;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-input::placeholder {
  color: #B8A99A;
}

/* --- Star rating --- */
.stars {
  color: #C9A84C;
  letter-spacing: 2px;
}

/* --- Masonry grid --- */
.masonry-grid {
  columns: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .masonry-grid {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    columns: 3;
  }
}

.masonry-grid .portfolio-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

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

::-webkit-scrollbar-track {
  background: #FAF9F6;
}

::-webkit-scrollbar-thumb {
  background: #B8A99A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #C9A84C;
}

/* --- Logo in CSS --- */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1;
  text-decoration: none;
}

.logo-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.5em;
  display: block;
  margin-top: 0.25em;
  opacity: 0.7;
}

/* --- Section padding --- */
.section-padding {
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 7rem 2rem;
  }
}

@media (min-width: 1280px) {
  .section-padding {
    padding: 8rem 2rem;
  }
}

/* --- Booksy button --- */
.btn-booksy {
  background: #FF5A5F;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.875rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.btn-booksy:hover {
  background: #E64D51;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 90, 95, 0.3);
}
