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

:root {
  /* Colors */
  --color-gold-primary: #aa7f2c;
  --color-gold-light: #c78c1b;
  --color-gold-dark: #785620;
  --color-black: #ffffff;
  /* Swapped to White */
  --color-dark-gray: #f9f9f9;
  /* Swapped to Off-White */
  --color-gray: #e9ecef;
  /* Light gray for borders/accents */
  --color-light-gray: #333333;
  /* Dark gray for text */
  --color-white: #000000;
  /* Swapped to Black */


  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Borders */
  --border-radius: 4px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 120px;
  /* Increased to prevent header overlap */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-gold-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

.text-gold {
  color: var(--color-gold-primary);
}

.text-white {
  color: #ffffff !important;
  /* Force true white */
}

.text-dark {
  color: #000000 !important;
  /* Force true black */
}

.uppercase {
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--color-gold-primary);
  color: #ffffff;
  /* Button text always white */
  font-family: var(--font-heading);
  font-weight: 600;
  border: 2px solid var(--color-gold-primary);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-gold-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-gold-primary);
  border: 1px solid var(--color-gold-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--color-gold-primary);
  color: var(--color-white);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: var(--spacing-md) 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-gold-dark);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.logo img {
  height: 50px;
}

/* Search Box */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: var(--spacing-md);
}

.search-input {
  width: 0;
  padding: 0;
  opacity: 0;
  border: 1px solid var(--color-gold-primary);
  border-radius: 20px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.4s ease;
  visibility: hidden;
  /* Hide from tab order when closed */
}

/* Expanded State */
.search-container.active .search-input {
  width: 200px;
  padding: 5px 15px;
  opacity: 1;
  visibility: visible;
  margin-right: 10px;
  /* Space between input and button */
}

.search-container.active .search-btn {
  background-color: var(--color-gold-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}

.search-btn {
  background: transparent;
  border: none;
  color: var(--color-gold-primary);
  cursor: pointer;
  z-index: 1;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 5px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  color: #ffffff;
  /* Keep header text white */
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
}

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

/* Mobile Toggle Position */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-gold-primary);
  cursor: pointer;
  position: absolute;
  right: 0;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  /* Keep footer dark */
  padding: var(--spacing-xl) 0;
  text-align: center;
  border-top: 1px solid var(--color-gold-dark);
}

footer p {
  color: #f1f3f5;
  /* Keep footer text light */
  margin-top: var(--spacing-md);
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #ccc;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: -120px;
  /* Offset fixed header */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
  /* Ensure zoom doesn't overflow */
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 6s linear;
  /* Smooth scaling */
  z-index: 1;
}

.slide.active .slide-bg {
  transform: scale(1.1);
  /* Zoom effect when active */
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
  z-index: 2;
  /* On top of bg */
}

.hero-content {
  position: relative;
  z-index: 3;
  /* On top of overlay */
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}

/* Hero Logo Overrides */
.hero-logo {
  max-width: 400px;
  /* Adjust as needed */
  margin: 4rem auto 2rem auto;
  /* Increased top margin to move it down */
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 250px;
    margin-top: 2rem;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  /* Explicitly white for slider overlay */
  text-wrap: balance;
  /* Modern browsers will balance lines nicely */
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 300px;
    /* Constrain width to force clearer multiline structure on small screens */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Intro Text */
.intro p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-gold-primary);
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    gap: 1rem;
    /* Reduce gap on mobile */
    justify-content: space-between;
    /* Spread out logo and search/toggle */
    padding: 0 40px 0 0;
    /* Add right padding to avoid overlap with absolute toggle */
  }

  .logo img {
    height: 40px;
    /* Slightly smaller logo */
  }

  .search-container.active .search-input {
    width: 140px;
    /* Smaller search input */
    font-size: 0.9rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    /* Explicit dark background */
    padding: var(--spacing-md);
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Services Page Styles */
.service-category {
  margin-bottom: var(--spacing-xl);
}

.category-header {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.category-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.category-header h2 {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
  text-align: center;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.price-item {
  background-color: var(--color-dark-gray);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

.price-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold-primary);
}

.service-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #000;
}

.service-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.price-tag {
  font-family: var(--font-heading);
  color: var(--color-gold-primary);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  margin-left: 1rem;
}

/* Google Reviews Grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-md);
}

.review-card {
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  padding: var(--spacing-md);
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold-primary);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-gold-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 10px;
}

.review-meta h3 {
  font-size: 1rem;
  margin: 0;
  color: #000;
  font-family: var(--font-body);
  font-weight: 600;
}

.review-meta .review-date {
  font-size: 0.8rem;
  color: #666;
}

.review-stars {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.review-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  /* Pushes footer to bottom */
}

.review-footer {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.review-footer i {
  margin-right: 5px;
}