/* ========== GLOBAL STYLES ========== */
:root {
  --primary-blue: #007b9c;
  --primary-green: #3fa16c;
  --light-bg: #f6f9f8;
  --dark-text: #2e3d34;
  --accent: #10c2a4;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--accent);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  color: var(--primary-green);
}

/* ========== NAVBAR ========== */
.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-img {
  height: 65px;       /* Keeps it small and balanced */
  width: auto;
  max-width: 100%;
}

@media (max-width: 576px) {
  .logo-img {
    height: 35px;     /* Slightly smaller on mobile */
  }
}


.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

/* ========== HERO SECTION (FULL WIDTH WITH BACKGROUND SAFEGUARD) ========== */
.hero-section {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

/* SVG or image spans full width */
.hero-section .hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  object-fit: cover;
}

/* Overlay text */
.hero-section .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 800px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-section .btn {
  background-color: var(--primary-green);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  transition: background-color 0.3s ease;
}

.hero-section .btn:hover {
  background-color: var(--primary-blue);
}

/* RESPONSIVE DESIGN */

/* ===== MOBILE HERO TEXT ADJUSTMENT ===== */
@media (max-width: 576px) {
  .hero-section .hero-text h1,
  .hero-section .hero-text p {
    display: none;
  }

  /* Center the button vertically on mobile */
  .hero-section .hero-text {
    transform: translate(-50%, -50%);
    width: auto;
    max-width: none;
  }

  /* Make button smaller on mobile */
  .hero-section .hero-text .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.3rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
}

/* 4K & ultra-wide safeguard */
@media (min-width: 1920px) {
  .hero-section {
    background-color: #ffffff;
  }

  .hero-section .hero-image {
    max-width: 2000px;
    margin: 0 auto;
  }
}



/* ========== ABOUT SECTION ========== */
#about {
  background-color: #ffffff;
}

#about img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#about h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

#about ul {
  list-style-type: none;
  padding-left: 0;
}

#about li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

#about li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-green);
}

/* ========== GALLERY SECTION ========== */
#gallery {
  background: linear-gradient(135deg, #e9f9f6, #f5fdfc);
}

#gallery h2 {
  color: var(--primary-blue);
}

#gallery img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.text-primary-blue {
  color: var(--primary-blue) !important;
}

/* View More button style */
.view-more-btn {
  background-color: var(--primary-blue);
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-more-btn:hover {
  background-color: var(--accent); /* subtle riverside accent color */
  transform: translateY(-2px); /* slight lift effect */
  text-decoration: none;
}

.required-star {
  color: red;
  margin-left: 2px;
}

/* ========== CONTACT SECTION ========== */
/* Contact Section Background */
#contact {
  background: linear-gradient(135deg, #e8f7f1, #f8fbfa);
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Contact Info (Phone / Email) */
#contact .contact-info {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--accent);
}

/* Contact Form Container */
#contact-form {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Labels */
#contact-form .form-label {
  color: var(--accent);
  font-weight: 500;
}

/* Inputs and Textarea */
#contact-form input,
#contact-form textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.75rem;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 5px rgba(63, 161, 108, 0.4);
  outline: none;
}

/* Submit Button */
#contact-form button {
  background-color: var(--primary-blue);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact-form button:hover {
  background-color: var(--primary-green);
  transform: translateY(-2px);
}

/* Form Result Message */
#form-result {
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Google Map */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.01);
}

/* Gallery Page*/
/* ===== Hero Section ===== */
.gallery-hero {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.gallery-hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-hero .hero-text h1 {
  color: #1b4965; /* Primary blue */
  font-weight: 700;
  font-size: 3rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* ===== Masonry Gallery ===== */
.masonry-gallery {
  column-count: 4;
  column-gap: 1rem;
}

@media (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1;
  }
}

.masonry-gallery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-gallery a img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-gallery a:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Section Spacing ===== */
section.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* ===== Footer ===== */
footer {
  background: #e8f7f1; /* Soft riverside gradient tone */
  color: #1b4965; /* Primary blue */
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}


/* ========== FOOTER ========== */
footer {
  background-color: #013b33;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

footer p {
  margin: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  header {
    padding: 6rem 1rem;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1rem;
  }
}
