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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 80px; /* Space for fixed navbar */
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #21638d;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #21638d;
  outline-offset: 2px;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0;
}

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

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo:focus {
  outline: 3px solid #21638d;
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #21638d;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #212529;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  background: #fafafa;
}

.logo-hero {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #667eea;
}

.nav-link:focus,
.phone-number:focus,
.email-address:focus {
  outline: 3px solid #21638d;
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.hamburger:focus {
  outline: 3px solid #21638d;
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #495057;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

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

header {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-section header {
  border-bottom: none;
  margin-bottom: 2rem;
}

.logo-container {
  margin-bottom: 1.5rem;
}

.logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.logo-placeholder {
  width: 200px;
  height: 100px;
  background: #dee2e6;
  border: 2px dashed #adb5bd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #6c757d;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.hero-section h1 {
  color: white;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #1a365d;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 54, 93, 0.8) 0%,
    rgba(26, 54, 93, 0.6) 50%,
    rgba(26, 54, 93, 0.9) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content header {
  margin-bottom: 2rem;
}

.hero-heading {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-section h1 {
  color: white;
}

.hero-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #bf472d;
  margin-bottom: 1rem;
}

.main-heading {
  text-align: center;
}

.description {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  text-align: center;
}

.services-section {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
  min-height: 100px;
  min-width: 160px;
  flex: 0 0 calc(18% - 1.2rem);
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  background: #fafafa;
  border-color: #bf472d;
  box-shadow: 0 4px 12px rgba(191, 71, 45, 0.15);
  transform: translateY(-2px);
}

.contact-section {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}

.phone-number:hover {
  color: #5568d3;
  text-decoration: underline;
}

.email-address {
  font-size: 1.5rem;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  display: block;
  margin-top: 1rem;
}

.email-address:hover {
  color: #5568d3;
  text-decoration: underline;
}

.gallery-section {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: #e9ecef;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border: 2px dashed #adb5bd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.apartments-section {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.apartment-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: #e9ecef;
}

.apartment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.apartment-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .nav-container {
    padding: 0.75rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: #fafafa;
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }

  .hero-section {
    min-height: 400px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 3rem 1.5rem;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .services-section {
    padding: 1.5rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    flex: 0 0 calc(30% - 0.67rem);
    max-width: none;
    padding: 1.25rem 0.75rem;
    font-size: 0.95rem;
    min-height: 90px;
    min-width: 140px;
  }

  .logo-placeholder {
    width: 150px;
    height: 75px;
  }

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

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

  .phone-number,
  .email-address {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 350px;
  }

  .hero-heading {
    font-size: 1.75rem;
  }

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

  .hero-content {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .services-section,
  .contact-section,
  .gallery-section,
  .apartments-section {
    padding: 1.25rem;
  }

  .services-grid {
    gap: 0.75rem;
  }

  .service-card {
    flex: 0 0 calc(45% - 0.375rem);
    max-width: none;
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
    min-height: 80px;
    min-width: 120px;
  }

  .phone-number,
  .email-address {
    font-size: 1.1rem;
  }
}
