/* CSS Variables */
:root {
  --primary-color: #d4a574;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Base Styles */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* Layout Components */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

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

.btn--secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn--secondary:hover {
  background-color: white;
  color: var(--accent-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.navbar__title {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: 700;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar__link {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
}

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

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navbar__toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 2px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 60px;
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rating-stars {
  display: inline-flex;
  font-size: 1.5rem;
}

.star {
  color: #ddd;
  position: relative;
}

.star.filled {
  color: #ffc107;
}

.star.half::before {
  content: '★';
  position: absolute;
  overflow: hidden;
  width: 50%;
  color: #ffc107;
}

.hero__reviews {
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--bg-white);
}

.about__content {
  display: grid;
  gap: 3rem;
}

.about__text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.highlight-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.highlight-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.highlight-card__text {
  color: var(--text-light);
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.service-card__text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: var(--bg-white);
}

.gallery__subtitle {
  text-align: center;
  color: var(--text-light);
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  height: 250px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.gallery__lightbox.active {
  display: flex;
}

.gallery__lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.gallery__close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.gallery__prev,
.gallery__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery__prev {
  left: 20px;
}

.gallery__next {
  right: 20px;
}

.gallery__prev:hover,
.gallery__next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: var(--bg-light);
}

.reviews__summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.reviews__rating {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.reviews__score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.reviews__count {
  color: var(--text-light);
  font-size: 0.9rem;
}

.reviews__distribution {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-bar__label {
  min-width: 40px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.rating-bar__track {
  flex: 1;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar__fill {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.5s;
}

.rating-bar__count {
  min-width: 30px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-light);
}

.reviews__carousel {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.reviews__track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.review-card {
  min-width: 350px;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-card__date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-card__text {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.review-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.reviews__prev,
.reviews__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-color);
}

.reviews__prev {
  left: 0;
}

.reviews__next {
  right: 0;
}

.reviews__prev:hover,
.reviews__next:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--bg-white);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-card__title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.contact-card__text {
  color: var(--text-light);
  line-height: 1.8;
}

.contact-card__phone {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-card__phone:hover {
  text-decoration: underline;
}

.contact-card__link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-color);
  font-weight: 500;
}

.contact-card__link:hover {
  text-decoration: underline;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-list__item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hours-list__item.today {
  background: var(--primary-color);
  padding: 0.5rem 1rem;
  margin: 0 -1rem;
  border-radius: var(--radius);
}

.hours-list__item.today .hours-list__day,
.hours-list__item.today .hours-list__time {
  color: white;
  font-weight: 600;
}

.hours-list__day {
  font-weight: 500;
  color: var(--text-color);
}

.hours-list__time {
  color: var(--text-light);
}

.hours-list__time.closed {
  color: var(--accent-color);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact__map iframe {
  border-radius: var(--radius-lg);
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 40px 0 20px;
}

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

.footer__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer__subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
}

.footer__text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__list li {
  color: rgba(255, 255, 255, 0.8);
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

/* Media Queries */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar__menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .navbar__menu.active {
    display: flex;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .about__highlights {
    grid-template-columns: 1fr;
  }

  .reviews__summary {
    grid-template-columns: 1fr;
  }

  .reviews__rating {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }

  .contact__content {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
  }

  .reviews__carousel {
    padding: 0 20px;
  }

  .review-card {
    min-width: 280px;
  }

  .gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .btn {
    width: 100%;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}