:root {
  --bg-primary: #faf8f3;
  --bg-dark: #1a1a1a;
  --text-primary: #0d0d0d;
  --text-light: #666666;
  --accent-primary: #8b4f5c;
  --accent-secondary: #9d8b7e;
  --accent-highlight: #c9b896;
  --border-color: #d4cec4;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

header {
  background-color: var(--bg-primary);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent-primary);
  background-color: transparent;
  color: var(--accent-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.btn:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  transform: scale(1.02);
}

.btn-filled {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-filled:hover {
  background-color: #753d47;
  border-color: #753d47;
}

footer {
  background-color: var(--bg-dark);
  color: #e0e0e0;
  padding: 3rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-section h4 {
  color: var(--accent-highlight);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-highlight);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

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

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(13, 13, 13, 0.3), rgba(13, 13, 13, 0.3)), url('images/hero-banner.jpg') center/cover no-repeat;
  color: var(--bg-primary);
  text-align: center;
  margin-bottom: 4rem;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

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

.hero .btn {
  border-color: var(--bg-primary);
  color: var(--bg-primary);
}

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

.exhibition-rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.room-card {
  border: 1px solid var(--border-color);
  padding: 2rem;
  background-color: white;
  transition: all 0.3s ease;
  position: relative;
}

.room-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(139, 79, 92, 0.1);
}

.room-number {
  font-size: 3rem;
  color: var(--accent-highlight);
  opacity: 0.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

.room-card h3 {
  margin-bottom: 1rem;
}

.room-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  border: 1px solid var(--border-color);
  background-color: white;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 6px 16px rgba(139, 79, 92, 0.12);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  overflow: hidden;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.product-card .btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.section-intro {
  text-align: center;
  margin: 4rem 0 2rem;
  padding: 2rem 0;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

.section-intro p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 3rem 0;
}

.detail-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.detail-content h1 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.detail-specs {
  background-color: white;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin: 2rem 0;
}

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

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--text-primary);
  text-transform: capitalize;
}

.spec-value {
  color: var(--text-light);
}

.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.faq-item {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

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

.about-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.about-block {
  border: 1px solid var(--border-color);
  padding: 2rem;
  background-color: white;
}

.about-block h3 {
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.about-block ul, .about-block ol {
  margin-left: 1.5rem;
  color: var(--text-light);
}

.about-block li {
  margin-bottom: 0.8rem;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid var(--border-color);
  background-color: white;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  background-color: #fafaf8;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: white;
}

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

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
  font-size: 0.95rem;
}

.thank-you-container {
  text-align: center;
  padding: 4rem 1rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thank-you-container h1 {
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.room-filter {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-color);
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

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

.legal-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.legal-content p {
  text-align: justify;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-accept {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid var(--bg-primary);
  color: var(--bg-primary);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  nav a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hero {
    height: 400px;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .exhibition-rooms {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-image {
    height: 300px;
  }

  .detail-content h1 {
    font-size: 1.8rem;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .about-blocks {
    grid-template-columns: 1fr;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .room-filter {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hero {
    height: 300px;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .room-card, .about-block {
    padding: 1.5rem;
  }

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

  .product-image {
    height: 200px;
  }

  .contact-form {
    padding: 1rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }
}
