/* KOCH Apartments — Central stylesheet */
:root {
  --primary-black: #000000;
  --primary-blue: #009FE3;
  --primary-blue-light: #4db8ff;
  --primary-blue-dark: #0077b3;
  --white: #FFFFFF;
  --light-gray: #F2F2F2;
  --medium-gray: #E0E0E0;
  --dark-gray: #333333;
  --text-dark: #000000;
  --text-light: #666666;
  --text-white: #FFFFFF;
  --container: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

main {
  flex: 1;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER - Clean & Professional */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.logo-graphic {
  display: flex;
  gap: 4px;
}

.logo-part-black, .logo-part-blue {
  width: 24px;
  height: 48px;
  position: relative;
}

.logo-part-black {
  background: var(--primary-black);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.logo-part-blue {
  background: var(--primary-blue);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  margin-left: -8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand h1 {
  margin: 0;
  color: var(--primary-black);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.brand .tag {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.4;
}

/* MAIN NAVIGATION */
.main-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
  font-size: 15px;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.main-nav a:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
}

.main-nav a.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* PROFESSIONAL BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.btn.primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn.secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--primary-black);
  box-shadow: var(--shadow-light);
}

.btn.secondary:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--dark-gray);
}

.btn.outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn.outline:hover {
  background: rgba(0, 159, 227, 0.05);
  transform: translateY(-2px);
}

.btn.small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn.large {
  padding: 16px 36px;
  font-size: 17px;
}

/* HERO SECTION - Enhanced gradient visibility */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40%;
  height: 140%;
  background: linear-gradient(45deg, var(--light-gray) 0%, transparent 70%);
  transform: rotate(15deg);
  opacity: 0.7; /* Increased opacity for better visibility */
}

.hero-inner {
  padding: 80px 0; /* Reduced padding */
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 56px;
  margin: 0 0 20px; /* Reduced margin */
  color: var(--primary-black);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  font-family: 'Montserrat', sans-serif;
}

.hero h2 span {
  color: var(--primary-blue);
  position: relative;
}

.hero .hero-lead {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px; /* Reduced margin */
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* SECTIONS - Reduced spacing */
.section {
  padding: 60px 0; /* Reduced from 100px */
}

.section.light {
  background: var(--light-gray);
}

.section-title {
  font-size: 42px;
  margin: 0 0 16px; /* Reduced margin */
  color: var(--primary-black);
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-blue);
  margin: 16px auto 0; /* Reduced margin */
  border-radius: 2px;
}

.lead {
  max-width: 700px;
  margin: 16px auto 40px; /* Reduced margins */
  color: var(--text-light);
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px; /* Reduced margin */
}

.feature {
  background: var(--white);
  padding: 32px; /* Reduced padding */
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.feature:hover {
  transform: translateY(-6px); /* Reduced movement */
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-blue);
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-blue);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.feature:hover::before {
  transform: translateY(0);
}

.feature-icon {
  width: 56px; /* Slightly smaller */
  height: 56px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  border-radius: 10px; /* Slightly smaller */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px; /* Reduced margin */
  color: var(--white);
  font-size: 22px; /* Slightly smaller */
}

.feature h3 {
  color: var(--primary-black);
  margin: 0 0 12px; /* Reduced margin */
  font-size: 20px; /* Slightly smaller */
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.feature p {
  color: var(--text-light);
  margin: 0;
  font-size: 15px; /* Slightly smaller */
  line-height: 1.6; /* Reduced line height */
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; /* Reduced gap */
  margin-top: 40px; /* Reduced margin */
}

.card {
  background: var(--white);
  padding: 32px; /* Reduced padding */
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-blue);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-blue);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: translateY(0);
}

.card h4 {
  margin: 0 0 12px; /* Reduced margin */
  color: var(--primary-blue);
  font-size: 20px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.muted {
  color: var(--text-light);
  font-size: 15px; /* Slightly smaller */
  line-height: 1.6; /* Reduced line height */
}

/* AMENITIES */
.amenities-list {
  max-width: 900px;
  margin: 40px auto; /* Reduced margin */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; /* Reduced gap */
}

.amenity-item {
  background: var(--white);
  padding: 20px; /* Reduced padding */
  border-radius: 10px; /* Slightly smaller */
  border: 1px solid var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.amenity-item:hover {
  transform: translateX(4px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow);
}

.amenity-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-blue);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.amenity-item:hover::before {
  transform: translateY(0);
}

.amenity-icon {
  width: 44px; /* Slightly smaller */
  height: 44px;
  background: rgba(0, 159, 227, 0.1);
  border-radius: 8px; /* Slightly smaller */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 18px; /* Slightly smaller */
  flex-shrink: 0;
}

.amenity-text {
  font-weight: 600;
  color: var(--primary-black);
  font-size: 15px; /* Added font size */
}

/* TRANSPORT */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; /* Reduced gap */
  margin-top: 40px; /* Reduced margin */
}

.transport-card {
  background: var(--white);
  padding: 32px; /* Reduced padding */
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.transport-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-blue);
}

.transport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-blue);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.transport-card:hover::before {
  transform: translateY(0);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px; /* Reduced gap */
  align-items: start;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px; /* Reduced padding */
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  background: var(--white);
  color: var(--text-dark);
  margin-bottom: 20px; /* Reduced margin */
  transition: var(--transition);
  font-family: inherit;
  font-size: 15px; /* Slightly smaller */
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 6px; /* Reduced margin */
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

/* CONTACT INFO STYLING */
.contact-info {
  background: var(--white);
  padding: 32px; /* Reduced padding */
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  box-shadow: var(--shadow-light);
}

.contact-info h3 {
  color: var(--primary-black);
  font-size: 22px; /* Slightly smaller */
  font-weight: 700;
  margin-bottom: 20px; /* Reduced margin */
  font-family: 'Montserrat', sans-serif;
}

.contact-details {
  margin-top: 24px; /* Reduced margin */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px; /* Reduced margin */
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 44px; /* Slightly smaller */
  height: 44px;
  background: rgba(0, 159, 227, 0.1);
  border-radius: 8px; /* Slightly smaller */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 18px; /* Slightly smaller */
  flex-shrink: 0;
}

.contact-text h4 {
  margin: 0 0 6px; /* Reduced margin */
  color: var(--primary-black);
  font-size: 15px; /* Slightly smaller */
  font-weight: 600;
}

.contact-text p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px; /* Slightly smaller */
  line-height: 1.6;
}

.contact-text a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary-blue-dark);
  text-decoration: underline;
}

/* APARTMENT LIST */
.unit-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
}

.unit-card:hover {
  transform: translateY(-6px); /* Reduced movement */
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-blue);
}

.unit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-blue);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 1;
}

.unit-card:hover::before {
  transform: translateY(0);
}

.unit-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 5px 14px; /* Reduced padding */
  border-radius: 20px;
  font-size: 13px; /* Slightly smaller */
  font-weight: 600;
  z-index: 2;
}

.unit-card img {
  width: 100%;
  height: 220px; /* Slightly smaller */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.unit-card:hover img {
  transform: scale(1.05);
}

.unit-body {
  padding: 24px; /* Reduced padding */
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; /* Reduced gap */
  margin-top: 40px; /* Reduced margin */
}

.gallery-grid img {
  width: 100%;
  height: 220px; /* Slightly smaller */
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--medium-gray);
  box-shadow: var(--shadow-light);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--primary-blue);
}

/* DETAIL GRID */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px; /* Reduced gap */
  align-items: start;
}

.detail-images img {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 16px; /* Reduced margin */
  box-shadow: var(--shadow);
  border: 1px solid var(--medium-gray);
}

.detail-info ul {
  padding-left: 20px;
  color: var(--text-light);
}

/* FOOTER */
.site-footer {
  background: var(--primary-black);
  padding: 5px 0 5px;
  color: var(--text-white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px; /* Reduced margin */
}

.footer-links h4 {
  color: var(--white);
  margin: 0 0 16px; /* Reduced margin */
  font-size: 18px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  padding: 6px 0; /* Reduced padding */
  display: block;
  transition: var(--transition);
  font-size: 14px; /* Slightly smaller */
}

.footer-links a:hover {
  color: var(--primary-blue);
  padding-left: 4px;
}

.copyright {
  text-align: center;
  color: var(--text-light);
  font-size: 14px; /* Slightly smaller */
  padding-top: 30px; /* Reduced padding */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 48px;
  }
  
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .hero::before {
    opacity: 0.6; /* Adjust opacity for smaller screens */
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero h2 {
    font-size: 36px;
  }
  
  .hero .hero-lead {
    font-size: 18px;
  }
  
  .section {
    padding: 50px 0; /* Further reduced on mobile */
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .brand {
    gap: 12px;
  }
  
  .brand h1 {
    font-size: 28px;
  }
  
  .logo-part-black, .logo-part-blue {
    width: 20px;
    height: 40px;
  }
  
  .nav-toggle {
    display: block;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    color: var(--primary-black);
    padding: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 20px;
  }
  
  .main-nav {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    box-shadow: var(--shadow-hover);
  }
  
  .main-nav.open {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }
  
  .main-nav a {
    padding: 16px;
    border-radius: 8px;
    background: var(--light-gray);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .hero::before {
    opacity: 0.5; /* Adjust opacity for mobile */
    width: 60%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  
  .hero h2 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid,
  .cards,
  .transport-grid,
  .amenities-list {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 14px 24px;
    width: 100%;
  }
  
  .brand h1 {
    font-size: 24px;
  }
  
  .brand .tag {
    font-size: 12px;
  }
  
  .hero::before {
    opacity: 0.4; /* Further reduced opacity for smallest screens */
  }
}
/* Footer-specific contact info overrides */
.site-footer .contact-info {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.site-footer .contact-item {
    background: transparent !important;
    padding-bottom: 0 !important;
    margin-bottom: 0.75rem !important;
    border-bottom: none !important;
}

.site-footer .contact-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.site-footer .contact-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer .contact-text a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
}

.site-footer .contact-text a:hover {
    color: white !important;
}