:root {
  --primary: #ffffff;
  --secondary: #f4f4f4;
  --accent: #f39c12;
  --accent-2: #e74c3c;
  --text: #333;
  --text-light: #555;
  --nav-bg: #000000; 
  --card: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --transition: 280ms cubic-bezier(.2,.9,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background: var(--primary);
  font-size: 18px;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.header .container {
  display: flex;
  align-items: center;
  height: 72px;
}
.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}
.navbar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
}
.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  transform: translateY(-3px);
}
.nav-links .highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 6px 18px rgba(176,106,62,0.2);
}
.social-icons {
  display: flex;
  gap: 0.6rem;
  font-size: 1.1rem;
  color: var(--primary);
}
.social-icons i:hover {
  color: var(--accent);
  transform: translateY(-3px);
}
.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--primary);
}

.hero {
  position: relative;
  height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero .background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  z-index: -1;
}
.hero-text {
  text-align: center;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
  padding: 2rem;
}
.hero-text h1 { font-size: clamp(2.5rem, 7vw, 4rem); margin-bottom: .3rem; }
.hero-text h2 { font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: .5rem; }
.hero-text p  { font-size: 1.3rem; }

.section {
  padding: 3.25rem 1.25rem;
}
.section h2 {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 2rem;
  font-weight: 700;
}

.gallery {
  display: grid;
  gap: 0.95rem;
  margin-top: 50px;
}
.gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

#about .gallery {
  grid-template-columns: repeat(4, 1fr);
}
#about .gallery img {
  height: 220px;
}

#location .gallery {
  display: flex;
  justify-content: center;
}
#location .gallery img {
  width: 80%;
  max-width: 800px;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
}
#location p {
  text-align: center;
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.2rem;
}

#amenities .gallery {
  grid-template-columns: repeat(3, 1fr);
}
#amenities .gallery img {
  height: 350px;
  object-fit: cover;
}
#amenities p {
  text-align: center;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.apartments {
  padding: 2.5rem 1.25rem;
}
.apartment {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.25rem;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.apartment:hover { transform: translateY(-6px); }
.apartment-text h2 { margin-bottom: .5rem; font-size: 1.4rem; }
.apartment-text p { color: var(--text-light); margin-bottom: .6rem; font-size: 1.05rem; }
.apartment-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin-bottom: .8rem;
}
.apartment-text li {
  background: rgba(0,0,0,0.05);
  padding: .3rem .6rem;
  border-radius: 999px;
  font-size: .95rem;
}
.apartment-text button {
  padding: .55rem .9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  margin-right: .5rem;
  transition: var(--transition);
}
.apartment-text button:first-of-type {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
}
.apartment-text button:first-of-type:hover {
  opacity: 0.85;
  transform: scale(1.05);
}
.apartment-text button:last-of-type {
  background: transparent;
  border: 2px solid rgba(17,24,39,0.1);
  color: var(--text);
}
.apartment-text button:last-of-type:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.apartment-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.apartment-images img {
  border-radius: 8px;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}
.apartment-images img:hover { transform: scale(1.05); }

.contact {
  background: linear-gradient(180deg, #fff, #fafafa);
}
#inquire p {
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
#contact-form {
  max-width: 680px;
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
#contact-form input,
#contact-form select,
#contact-form button {
  padding: .75rem .9rem;
  border-radius: 8px;
  border: 1px solid rgba(16,24,40,0.1);
  font-size: 1rem;
}
#contact-form button {
  grid-column: 1 / -1;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: var(--transition);
}
#contact-form button:hover {
  background: var(--accent-2);
  transform: scale(1.05);
}

.footer {
  background: #000;
  color: #fff;
  padding: 2rem 1.25rem 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer h3, .footer h4 {
  margin-bottom: 0.75rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact p {
  margin-bottom: 0.4rem;
}
.footer-social .social-icons a {
  color: #fff;
  margin-right: 0.6rem;
  font-size: 1.2rem;
  transition: color var(--transition);
}
.footer-social .social-icons a:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 0.8rem;
}
.footer {
  background: #333; 
  color: #ccc; 
  padding: 2rem 1.25rem 1rem;
  font-size: 0.9rem; 
}

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

.footer h3, 
.footer h4 {
  margin-bottom: 0.6rem;
  font-size: 1rem; 
  color: #fff; 
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

.footer-social .social-icons a {
  color: #ccc; 
  margin-right: 0.6rem;
  font-size: 1.1rem;
  transition: color var(--transition);
}

.footer-social .social-icons a:hover {
  color: var(--accent); 
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.7rem;
  color: #aaa;
}



.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 600ms ease, transform 600ms ease;
}
.section, .apartment, .contact {
  opacity: 0;
  transform: translateY(18px);
}

@media (max-width: 1024px) {
  .apartment { grid-template-columns: 1fr 360px; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; right: 12px;
    background: #000;
    flex-direction: column;
    gap: .4rem;
    width: 220px;
    padding: .75rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .social-icons { display: none; }
  .apartment { grid-template-columns: 1fr; }
  #about .gallery { grid-template-columns: 1fr 1fr; }
  #amenities .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery img { height: 140px; }
  .apartment-images img { height: 140px; }
  #contact-form { grid-template-columns: 1fr; }
  #about .gallery { grid-template-columns: 1fr; }
  #amenities .gallery { grid-template-columns: 1fr; }
}
