/* =====================
   GLOBAL RESET & BASE
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #333;
  line-height: 1.6;
  background: #ffffff;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

/* Site name */
.site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #e0e7ff;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

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

/* =====================
   HERO SECTION
===================== */
.hero {
  height: 60vh;
  background:
    linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)),
    url("images/sitting.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-content {
  max-width: 720px;
  text-align: center;
  color: #f8fafc;
  animation: fadeUp 1.2s ease forwards;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e5e7eb;
}

/* =====================
   SECTIONS
===================== */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #1e293b;
  font-size: 2rem;
}

.light {
  background: #f8f9fa;
}

/* =====================
   GALLERY
===================== */
.gallery-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
  animation: fadeUp 1s ease forwards;
}

.gallery-item img {
  width: 50%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover reveal 
 =====================
   GALLERY ITEM (WITH IMG TAGS)
=====================*/


.gallery-item img:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.gallery-text h3 {
  margin-bottom: 12px;
  color: #1e293b;
  font-size: 1.5rem;
}

.gallery-text p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}

.reverse {
  flex-direction: row-reverse;
} 

/* =====================
   CONTACT SECTION
===================== */
.contact-section {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
  padding: 90px 25px;
  border-radius: 16px;
  margin: 80px auto;
  max-width: 900px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: fadeUp 1.2s ease forwards;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #e0f2fe;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.contact-section strong {
  font-weight: 600;
}

/* =====================
   GALLERY ITEM
===================== */
.gallery-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.gallery-item.reverse {
  flex-direction: row-reverse;
}

.gallery-images {
   display: flex;
  flex: 1;
  gap: 15px;
  flex-wrap: wrap;
}

.gallery-images > div {
  flex: 1 1 48%; /* two images per row on desktop */
  border-radius: 12px;
  overflow: hidden;
}

.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Text section */
.gallery-text {
  flex: 1;
  min-width: 250px;
}

.gallery-text h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 12px;
}

.gallery-text p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .gallery-item {
    flex-direction: column;
    text-align: center;
  }

  .gallery-images {
    width: 100%;
    gap: 10px;
  }

  .gallery-images > div {
    flex: 1 1 100%;
  }

  .gallery-text {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-images img {
    height: 180px;
  }
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #1e293b;
  color: #cbd5e1;
  text-align: center;
  padding: 22px;
  font-size: 0.9rem;
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 2.3rem;
  }

  .gallery-item {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    gap: 22px;
  }

  .hero {
    height: 70vh;
  }

  .hero-content h2 {
    font-size: 2.1rem;
  }

  .gallery-item,
  .reverse {
    flex-direction: column;
    text-align: center;
  }

  .gallery-item img {
    width: 100%;
  }

  .gallery-text h3 {
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .site-name {
    font-size: 1.3rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.7rem;
  }

  .contact-section {
    padding: 70px 20px;
  }

  .contact-section h2 {
    font-size: 1.9rem;
  }
}