/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

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

/* ===== NAVIGATION BAR ===== */
nav {
  background-color: #222;
  padding: 0.5rem 1rem;
}

nav ul.nav {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}

nav ul.nav li {
  position: relative;
}

nav ul.nav li a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  font-weight: bold;
  text-align: center; /* centers nav text */
}

nav ul.nav li a:hover {
  color: #ffd700;
}

/* ===== DROPDOWN MENU ===== */
.nav-item .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 160px;
  z-index: 1000;
  flex-direction: column;
}

.nav-item:hover .dropdown-content {
  display: flex;
}

.dropdown-content a {
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  text-align: center; /* center dropdown text */
}

.dropdown-content a:hover {
  background-color: #444;
}

/* ===== BANNERS ===== */
.page-banner {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
}

/* Specific banner backgrounds for each photo section */
.banner-wildlife { background-image: url('Screenshot\ 2025-12-11\ 185119.png'); }
.banner-landscape { background-image: url('image8\ \(1\).jpeg'); }
.banner-urban { background-image: url('image23.jpeg'); }
.banner-macro { background-image: url('image2\ \(3\).jpeg'); }

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
}



/* ===== GALLERY ===== */
.photo-grid.two-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
}

.photo-card {
  width: 100%;
  max-width: 350px;
  height: 250px; /* fixed height for uniformity */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background-color: #fff;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* shows full photo without cropping */
  display: block;
  transition: transform 0.3s;
}

.photo-card img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE GALLERY */
@media (max-width: 768px) {
  .photo-grid.two-rows {
    grid-template-columns: 1fr; /* stack vertically on mobile */
  }

  .photo-card {
    max-width: 90%;
    height: auto;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 1rem;
  color: #222;
}

.contact-section a {
  display: inline-block;
  margin: 0.5rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

/* ===== BUTTONS & LINKS ===== */
button, .btn {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #0077cc;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover, .btn:hover {
  background-color: #005fa3;
}

/* ===== IMAGE HOVER EFFECT ===== */
.photo-card img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* ===== RESPONSIVE BANNERS ===== */
@media (max-width: 768px) {
  .page-banner {
    height: 200px;
    font-size: 2rem;
  }
}

/* ===== GENERAL LINKS ===== */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  margin: 2rem auto;
  text-align: center;
  max-width: 600px;
}

.contact-section h1 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
  color: #222;
}

.contact-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #555;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-buttons .btn {
  padding: 0.75rem 1.5rem;
  background-color: #0077cc;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-buttons .btn:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}
.banner-home {
  background-image: url('banner.jpeg');
}

.about-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.about-photo img {
  width: 380px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 18px;
}

.banner-about {
  background-image: url('image0\ \(2\).jpeg');
}

/* FULL SCREEN BACKGROUND FOR INDEX PAGE */
.home-full-photo {
  background-image: url("banner.png"); /* ← change to your actual banner photo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: calc(100vh - 140px); /* adjusts for header + footer */
}
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL BODY SETTINGS */
body {
    font-family: Arial, sans-serif;
}

/* ================================
   iOS-SAFE NAVBAR (REAL FIX)
================================ */
.site-header {
  background-color: #111;
  width: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}





.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 6px 8px;
}

.nav-links a:hover,
.nav-links .active {
    color: #ffc107;
}

/* FULL PAGE BACKGROUND IMAGE FOR HOMEPAGE */
.home-background {
    background-image: url("images/banner.jpg"); /* <-- YOUR BANNER IMAGE */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

/* DARK OVERLAY FOR TEXT ON HOMEPAGE */
.home-overlay {
    width: 100%;
    height: calc(100vh - 120px); /* accounts for header + footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0,0,0,0.35);
    color: white;
    padding: 20px;
}

/* FOOTER */
footer {
    width: 100%;
    background: #111;
    color: white;
    text-align: center;
    padding: 15px 0;
}
.home-full-photo {
  background-image: url("banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: calc(100vh - 140px);
}

/* MOBILE: show full image */
@media (max-width: 768px) {
  .home-full-photo {
    background-size: contain;
    background-color: #000; /* fills empty space nicely */
  }
}

@media (max-width: 768px) {

  /* All major layout containers */
  .photo-grid,
  .gallery-grid,
  .about-container,
  .contact-container {
    width: 95% !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Photo grids scale */
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Gallery landing page */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* About page layout */
  .about-container {
    flex-direction: column;
  }

  .about-container img,
  .about-text {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    padding: 14px 18px;
  }

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

  .main-nav a {
    font-size: 15px;
    margin: 8px 12px;
  }

  .dropdown-content {
    left: 50%;
    transform: translateX(-50%);
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .home-full-photo {
    background-size: contain;
    background-position: center;
    background-color: #000;
    height: auto;
    min-height: 60vh;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.nav-links button {
  display: flex;
  align-items: center;
  height: 100%;
  color: white;
  text-decoration: none;
  font-size: 15px;
}
