:root {
  --primary-color: #E53935;  /* Bauhaus red */
  --secondary-color: #FFEB3B; /* Bauhaus yellow */
  --accent-color: #1E88E5;   /* Bauhaus blue */
  --text-color: #212121;
  --background-color: #825233;
}

/* Hero section styles */
.hero-section {
  position: relative;
  height: auto;
  min-height: 400px;
  background-image: url('/static/background_right_living_room.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.hero-section h2 {
  color: white;
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  word-wrap: break-word;
  max-width: 100%;
}

.hero-section h1 {
  color: white;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  max-width: 100%;
  word-wrap: break-word;
  line-height: 1.2;
}

.hero-section p {
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 100%;
  line-height: 1.4;
  margin-bottom: 10px;
}

.cta-button {
  background-color: #825233;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  font-weight: bold;
  cursor: pointer;
  width: fit-content;
  display: block;
  z-index: 5;
}

/* Image gallery styles */
.image-gallery {
  display: flex;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-image {
  flex: 1 1 300px;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.gallery-image.entry-way {
  background-image: url('/static/entry_way.jpg');
  background-color: #f0f0f0;
}

.gallery-image.fireplace {
  flex: 2 1 300px;
  background-image: url('/static/fireplace.jpg');
  background-color: #e0e0e0;
}

.gallery-image.skylight {
  background-image: url('/static/skylight.jpg');
  background-color: #f0f0f0;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

/* Event space styles */
.event-space {
  display: flex;
  background-color: #5d4037;
  color: white;
  flex-wrap: wrap;
}

.event-text {
  flex: 1;
  padding: 50px;
}

.event-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.event-text p {
  margin-bottom: 30px;
}

.event-image {
  flex: 1;
  background-color: #e0e0e0;
  min-height: 400px;
}

/* Accordion styles */
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 15px 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Interest counter styles */
.interest-counter {
  margin-top: 50px;
  padding: 30px;
  background-color: #faf3e8;
  position: relative;
}

.bauhaus-element {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #FFEB3B;
  top: 10px;
  right: 10px;
}

.interest-counter p {
  border-bottom: 3px solid #FFEB3B;
  display: inline-block;
  padding-bottom: 4px;
  position: relative;
  font-size: 1.2rem;
}

.bauhaus-circle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1E88E5;
  bottom: -10px;
  right: -10px;
}

/* Interest counter button */
.interest-counter button {
  background-color: #825233;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Logo container styles */
.logo-container {
  position: relative;
  margin-bottom: 2rem;
  background-image: url('/static/fireplace_tea.jpg');
  background-size: cover;
  background-position: center;
  height: 322px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-overlay {
  background: rgba(0,0,0,0.4);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.logo {
  position: relative;
  z-index: 2;
  max-width: 80%;
  max-height: 250px;
  margin-left: 20px;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  background-image: url('/static/background_left_living_room.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0; /* Changed from 2rem to 0 */
  background-color: rgba(186, 126, 72, 0.5); /* Much more transparent on mobile */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

button {
  position: relative;
  background-color: #825233;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s;
  font-weight: bold;
  /* Add a small geometric accent */
  border-bottom: 4px solid var(--accent-color);
}

button:hover {
  background-color: #C62828;
}

#app {
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(143, 98, 56, 0.7);
}

/* Container styling */
.container {
  position: relative;
}

h1 {
  position: relative;
  display: inline-block;
}

.geometric-element {
  position: absolute;
  z-index: -1;
}

/* Property showcase styles */
.property-showcase {
  width: 100%;
}

.hero-section {
  position: relative;
}

.cta-button {
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #6d4423;
}

.image-gallery {
  overflow: hidden;
}

.gallery-image {
  transition: transform 0.3s;
}

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

.nav-arrow {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav-arrow:hover {
  opacity: 1;
}

.accordion-item {
  transition: background-color 0.3s;
}

.accordion-item:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Media queries for mobile devices */
@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* Better for mobile */
    background-position: center center; /* Center the background image */
  }

  /* Fix hero section on mobile */
  .hero-section {
    min-height: 500px !important; /* Ensure enough height for content */
  }

  .hero-overlay {
    padding: 15px !important; /* Ensure consistent padding */
    overflow-y: auto !important; /* Allow scrolling if needed */
    justify-content: flex-start !important; /* Align content to top */
    padding-top: 30px !important; /* Add top padding */
  }

  /* Ensure button is visible */
  .cta-button {
    margin-bottom: 20px !important;
    display: block !important;
    width: auto !important;
    max-width: 200px !important;
  }

  /* Fix text sizing */
  .hero-section h2 {
    font-size: 1rem !important;
    margin-bottom: 5px !important;
  }

  .hero-section h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  .hero-section p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  /* Improve image gallery on mobile */
  .image-gallery {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .gallery-image {
    flex: 1 1 100% !important;
    min-height: 200px !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
  }

  /* Fix event space on mobile */
  .event-space {
    flex-direction: column !important;
  }

  .event-text, .event-image {
    flex: 1 1 100% !important;
    padding: 25px !important;
  }


  .container {
    padding: 1rem;
    margin: 0;
    max-width: 100%;
    min-height: 100vh;
    background-color: rgba(186, 126, 72, 0.5); /* Much more transparent on mobile */
  }

  /* Fix for very small screens */
  @media (max-width: 320px) {
    .hero-section {
      min-height: 550px !important; /* More height for smallest screens */
    }

    .hero-overlay {
      padding: 10px !important;
    }

    .hero-section h1 {
      font-size: 1.3rem !important;
    }

    .hero-section p {
      font-size: 0.85rem !important;
    }
  }

  /* Make the app container more transparent too */
  #app {
    background-color: rgba(186, 126, 72, 0.7); /* Much more transparent on mobile */
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1rem;
  }

  .event-space {
    flex-direction: column;
  }

  .image-gallery {
    flex-direction: column;
    display: flex; /* Ensure display:flex is maintained */
    margin-bottom: 30px; /* Reduced from 50px for mobile */
  }

  .gallery-image {
    flex: 1;
    margin-right: 0;
    margin-bottom: 10px;
    min-height: 200px; /* Ensure minimum height on mobile */
    width: 100%; /* Make sure it takes full width */
  }

  .event-text {
    padding: 30px 20px;
  }
}
