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

body {
  font-family: "Playfair Display", serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

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

/* Header */
header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4af37;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #1a1a1a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    padding: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 24px;
  }

  /* Hamburger Animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

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

/* Hero Section */
.hero {
  height: 80vh;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #d4af37;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Process Section */
.process {
  background-color: #fff;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.step {
  flex: 0 0 30%;
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background-color: #f5f5f5;
  border-radius: 5px;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #d4af37;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.step h3 {
  margin: 20px 0;
  font-size: 1.5rem;
}

/* Gallery Section */
.gallery-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.gallery-button {
  padding: 12px 25px;
  background-color: #1a1a1a;
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 3px;
}

.gallery-button:hover {
  background-color: #333;
  transform: translateY(-3px);
}

.gallery-button.active {
  background-color: #d4af37;
  color: #1a1a1a;
}

/* Tables */
.tables-container {
  margin-top: 50px;
}

.table-item {
  display: none;
  margin-bottom: 80px;
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-item.active {
  display: block;
  animation: fadeIn 0.5s;
}

.table-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 1024px) {
  .table-content {
    flex-direction: row;
  }
}

.table-images {
  flex: 1;
  position: relative;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: all 0.3s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-button:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-button-left {
  left: 20px;
}

.slider-button-right {
  right: 20px;
}

.slider-button svg {
  width: 24px;
  height: 24px;
}

.table-image-container {
  display: none;
  width: 100%;
  height: 500px;
  position: relative;
}

.table-image-container.active {
  display: block;
  animation: fadeIn 0.5s;
}

.table-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-video {
  width: 100%;
  height: 100%;
  border: none;
}

.image-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumbnail-button {
  flex: 0 0 80px;
  height: 80px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.thumbnail-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-button:hover {
  transform: translateY(-3px);
}

.thumbnail-button.active {
  border-color: #d4af37;
}

.video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.table-details {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.table-description {
  flex: 1;
}

.table-description h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.table-pricing {
  margin-top: 30px;
  text-align: right;
}

.price {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: bold;
}

.sold-tag {
  display: inline-block;
  padding: 10px 25px;
  background-color: #cc0000;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 3px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #d4af37;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: #1a1a1a;
  color: white;
  transform: translateY(-3px);
}

/* Heated Showroom */
.showroom {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
}

.showroom-content {
  max-width: 800px;
  margin: 0 auto;
}

.showroom-images {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.showroom-image {
  flex: 0 0 48%;
  height: 300px;
  background-color: #333;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}

/* Contact Section */
.contact {
  background-color: #f5f5f5;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-links {
  display: flex;
  list-style: none;
}

.footer-links li {
  margin-left: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d4af37;
}

.copyright {
  width: 100%;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .process-steps {
    flex-direction: column;
  }

  .step {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .table-details {
    padding: 20px;
  }

  .table-description,
  .table-pricing {
    width: 100%;
  }

  .showroom-images {
    grid-template-columns: 1fr;
  }

  .showroom-image {
    height: 300px;
  }

  /* Mobile gallery specific styles */
  .table-image-container {
    display: none;
    width: 100%;
    height: auto;
  }

  .table-image-container.active {
    display: block;
  }

  .table-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .table-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .slider-button {
    width: 36px;
    height: 36px;
  }

  .image-thumbnails {
    justify-content: center;
    padding: 10px;
  }

  .thumbnail-button {
    width: 60px;
    height: 60px;
  }
} 