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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Header and Navigation */
header {
  background-color: white;
  color: #8B4513;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 125px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: #8B4513;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover,
nav a.active {
  color: #FFD700;
  background-color: rgba(255, 215, 0, 0.1);
}

/* Main Content */
main {
  min-height: calc(100vh - 140px);
  padding: 0 0 2rem 0;
}

.hero {
  background: #8B4513;
  color: white;
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0;
  font-weight: 950;
}

.hero p {
  font-size: 2.2rem;
  opacity: 0.9;
}

/* Info Section */
.info-section {
  background-color: #FFF8DC;
  padding: 4rem 0;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.info-image {
  flex: 1;
  max-width: 500px;
}

.info-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-text {
  flex: 1;
}

.info-text h2 {
  font-size: 2.8rem;
  color: #8B4513;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.info-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.info-text ul {
  list-style: none;
  margin-bottom: 2rem;
}

.info-text ul li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}

.info-text ul li:before {
  content: "✓";
  color: #228B22;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #8B4513;
  font-weight: 700;
}

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

.apartment-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apartment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.apartment-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.apartment-info {
  padding: 1.5rem;
}

.apartment-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #8B4513;
}

.apartment-info p {
  color: #666;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: linear-gradient(135deg, #1e7e1e 0%, #2eb82e 100%);
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
  transform: translateY(-2px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

/* Apartment Detail Page */
.apartment-detail {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.apartment-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.apartment-details {
  padding: 2rem;
}

.apartment-details h1 {
  font-size: 2.5rem;
  color: #8B4513;
  margin-bottom: 1rem;
}

.apartment-price {
  font-size: 2rem;
  color: #FF8C00;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.feature {
  background: #FFF8DC;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.feature strong {
  display: block;
  color: #8B4513;
  font-size: 1.1rem;
}

/* About page specific styles */
.about-image-section {
  text-align: center;
  margin-bottom: 3rem;
}

.about-main-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.story-timeline {
  margin: 2rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

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

.timeline-year {
  background: #FFD700;
  color: #8B4513;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  height: fit-content;
  margin-right: 2rem;
  min-width: 60px;
  text-align: center;
}

.timeline-content {
  flex: 1;
}

.timeline-content h3 {
  color: #8B4513;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.timeline-content p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

.about-motto {
  background: #FFF8DC;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
}

.about-motto blockquote {
  font-size: 1.8rem;
  color: #8B4513;
  font-style: italic;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-motto p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .about-main-image {
    max-width: 100%;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-year {
    margin-right: 0;
    margin-bottom: 1rem;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .about-motto {
    padding: 1rem;
  }
  
  .about-motto blockquote {
    font-size: 1.4rem;
  }
}

.motto-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.motto-section blockquote {
  font-size: 1.8rem;
  color: #8B4513;
  font-style: italic;
  margin-bottom: 1rem;
  font-weight: 600;
}

.motto-section p {
  color: #666;
  font-size: 1rem;
}

.cta-section {
  text-align: center;
  margin-top: 2rem;
}

.btn-special {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #8B4513;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-special:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Contact and About Pages */
.content-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

/* About page specific styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #228B22;
}

textarea {
  height: 120px;
  resize: vertical;
}

/* Contact page specific styles */
.contact-hero {
  background: #8B4513;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.contact-info-compact {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.contact-row {
  display: flex;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 600;
  color: #8B4513;
  min-width: 150px;
  font-size: 1rem;
}

.contact-value {
  color: #555;
  font-size: 1rem;
}

.contact-value a {
  color: #228B22;
  text-decoration: none;
  font-weight: 500;
}

.contact-value a:hover {
  color: #006400;
  text-decoration: underline;
}

.social-btn {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-right: 0.5rem;
  background: #8B4513;
  color: white !important;
  border-radius: 15px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background: #654321 !important;
  text-decoration: none !important;
}

.social-icon {
  display: inline-block;
  font-size: 1.5rem;
  margin-right: 0.8rem;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

#ficon {
  color: #1877f2 !important;
}

.inquiry-section {
  background: #FFF8DC;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.inquiry-section h2 {
  text-align: center;
  color: #8B4513;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.inquiry-description {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #228B22;
}

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

.btn-submit {
  width: 100%;
  background-color: #228B22;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: #006400;
  transform: translateY(-2px);
}
  line-height: 1.6;
}

.map-section {
  margin: 3rem 0;
}

.map-section h2 {
  text-align: center;
  color: #8B4513;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
footer {
  background-color: #8B4513;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

/* Responsive Design */
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  color: white;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.close:hover {
  background-color: rgba(0,0,0,0.8);
}

.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  width: 100%;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 12px 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  background-color: rgba(0,0,0,0.6);
  border: none;
  user-select: none;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.next {
  right: 0;
  right: 15px;
}

.prev {
  left: 0;
  left: 15px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.9);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.dots-container {
  text-align: center;
  padding: 8px 0;
  background-color: rgba(0,0,0,0.1);
}

.dot {
  cursor: pointer;
  height: 8px;
  width: 8px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #717171;
}

.modal-details {
  padding: 2rem;
}

.modal-details h2 {
  font-size: 2.2rem;
  color: #8B4513;
  margin-bottom: 1rem;
}

.modal-price {
  font-size: 1.8rem;
  color: #FF8C00;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.modal-details h3 {
  color: #8B4513;
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem 0;
}

.modal-details ul {
  list-style: none;
  margin-bottom: 1rem;
}

.modal-details ul li {
  padding: 0.3rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}

.modal-details ul li:before {
  content: "✓";
  color: #228B22;
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    justify-content: center;
    gap: 1rem;
  }

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

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

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

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

  .info-content {
    flex-direction: column;
    text-align: center;
  }

  .info-image {
    max-width: 100%;
  }

  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .apartment-details {
    padding: 1rem;
  }

  .apartment-details h1 {
    font-size: 2rem;
  }

  .about-title {
    font-size: 2.2rem;
  }

  .about-subtitle {
    font-size: 1.1rem;
  }

  .story-content {
    flex-direction: column;
    min-height: auto;
  }

  .story-image {
    height: 300px;
  }

  .story-text {
    padding: 2rem 1rem;
  }

  .story-chapter {
    padding-left: 0;
    text-align: center;
  }

  .chapter-year {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-details {
    padding: 1rem;
  }

  .modal-details h2 {
    font-size: 1.8rem;
  }

  .modal-features {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .contact-label {
    min-width: auto;
    font-size: 0.9rem;
  }

  .contact-value {
    font-size: 0.9rem;
  }

  .inquiry-options {
    grid-template-columns: 1fr;
  }

  .inquiry-section {
    padding: 2rem 1rem;
  }
}

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

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
  }
}