:root {
  --color-primary: #452829;
  --color-secondary: #57595B;
  --color-light: #E8D1C5;
  --color-lightest: #F3E8DF;
  --color-white: #ffffff;
  --color-black: #000000;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  --shadow-sm: 0 2px 8px rgba(69, 40, 41, 0.1);
  --shadow-md: 0 4px 16px rgba(69, 40, 41, 0.15);
  --shadow-lg: 0 8px 32px rgba(69, 40, 41, 0.2);

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-lightest);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-desktop {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  color: var(--color-lightest);
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.nav-link:hover {
  background-color: rgba(243, 232, 223, 0.1);
}

.burger-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  position: relative;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-lightest);
  transition: var(--transition-base);
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 1000;
}

.nav-mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile .nav-link {
  font-size: 1.5rem;
  padding: var(--space-sm);
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(69, 40, 41, 0.3), rgba(69, 40, 41, 0.3)), url('../images/hero-interior.jpg') center/cover;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.hero-content {
  text-align: center;
  color: var(--color-lightest);
  max-width: 700px;
  padding: var(--space-lg) var(--space-md);
  transform-style: preserve-3d;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-light);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-lightest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-lightest);
  border: 2px solid var(--color-lightest);
}

.btn-secondary:hover {
  background-color: var(--color-lightest);
  color: var(--color-primary);
}

.section {
  padding: var(--space-lg) 0;
  position: relative;
}

.room-block {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-md);
  transform-style: preserve-3d;
  transition: var(--transition-slow);
  position: relative;
}

.room-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(69, 40, 41, 0.25);
}

.room-block::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-light), var(--color-secondary));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-base);
}

.room-block:hover::before {
  opacity: 0.3;
}

.room-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.room-content {
  padding: var(--space-md);
}

.room-content h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.room-content p {
  color: var(--color-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: 0.95rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: 1.3rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.product-description {
  color: var(--color-secondary);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

.team-member {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: var(--space-md);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-sm);
  border: 4px solid var(--color-light);
}

.team-name {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.team-role {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.team-bio {
  color: var(--color-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.form-checkbox {
  margin-top: 0.25rem;
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.5;
}

.map-container {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-secondary);
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-lightest);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  color: var(--color-lightest);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-link {
  color: var(--color-light);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-lightest);
  padding-left: var(--space-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(243, 232, 223, 0.2);
  font-size: 0.8rem;
  color: var(--color-light);
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-lightest);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100%);
  transition: var(--transition-base);
}

.cookie-popup.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.cookie-accept {
  background: var(--color-light);
  color: var(--color-primary);
}

.cookie-decline {
  background: transparent;
  color: var(--color-light);
  border: 1px solid var(--color-light);
}

.legal-page {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: var(--space-lg) auto;
}

.legal-page h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.legal-page h2 {
  color: var(--color-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.4rem;
}

.legal-page h3 {
  color: var(--color-secondary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.legal-page p {
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.legal-page ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--color-secondary);
}

.legal-page li {
  margin-bottom: var(--space-xs);
}

.thankyou-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.thankyou-content {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.thankyou-content h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.thankyou-content p {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.error-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.error-content {
  max-width: 500px;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.error-content h1 {
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.error-content p {
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.portfolio-gallery {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-base);
}

.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(69, 40, 41, 0.9), transparent);
  padding: var(--space-md);
  color: var(--color-lightest);
}

.portfolio-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.portfolio-category {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  body {
    font-size: 1rem;
  }

  .header {
    padding: var(--space-md) 0;
  }

  .burger-btn {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .nav-mobile {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .room-image {
    height: 300px;
  }

  .product-image {
    height: 260px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-text {
    text-align: left;
    flex: 1;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .room-content {
    padding: var(--space-lg);
  }
}