/* =========================
   Global Reset & Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
  font-size: 15px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* =========================
   Navigation
========================= */
nav {
  background: #111;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 18px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f39c12;
  border-bottom: 2px solid #f39c12;
  padding-bottom: 2px;
}

/* Dark Mode Navigation */
body.dark-mode nav { background: #222; }
body.dark-mode nav ul li a {
  color: #f39c12;
}
body.dark-mode nav ul li a.active {
  color: #f39c12;
  border-bottom: 2px solid #f39c12;
  padding-bottom: 2px;
}

/* =========================
   Branding / Headings
========================= */
.hero-overlay h1,
.about-text h2,
.about-content h2,
.featured h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #111;
}

.hero-overlay h1 {
  font-size: 2rem;
  border-bottom: 3px solid #f39c12;
  display: inline-block;
  padding-bottom: 5px;
}

.about-text h2,
.about-content h2,
.featured h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #f39c12;
  display: inline-block;
  padding-bottom: 3px;
}

/* =========================
   Hero Section with Background
========================= */
.hero {
  background: url("hero-stairs.jpg") no-repeat center center/cover;
  text-align: center;
  padding: 120px 15px;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
  position: relative;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 2.2rem;
  border-bottom: 3px solid #f39c12;
  display: inline-block;
  padding-bottom: 5px;
  color: #fff;
}

.hero-overlay p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #ddd;
  font-style: italic;
}

.hero-buttons {
  margin-top: 8px;
}

.hero-buttons .btn {
  background: #f39c12;
  color: #fff;
  padding: 6px 14px;
  margin: 4px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-buttons .btn:hover {
  background: #d35400;
  transform: translateY(-2px);
}

/* =========================
   About Section
========================= */
.about {
  padding: 40px 20px;
  background: #f9f9f9;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: auto;
}

.about-img {
  width: 180px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.about-text {
  flex: 1;
  min-width: 250px;
  max-width: 500px;
}

.about-text p {
  margin-bottom: 12px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.about-section {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

.about-card {
  max-width: 650px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-photo {
  width: 160px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  margin-bottom: 12px;
}

.about-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* =========================
   Gallery
========================= */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 20px;
}

.gallery img {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* =========================
   Featured Work
========================= */
.featured {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 40px 0;
}

.featured h2 {
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.featured-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.featured-item {
  text-align: center;
}

.featured-item img {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.featured-item img:hover {
  transform: scale(1.05);
}

.featured-caption {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

/* =========================
   Lightbox
========================= */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 32px;
  border-radius: 3px;
  user-select: none;
  transition: 0.3s;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  color: #f39c12;
  transform: scale(1.2);
}

/* =========================
   Contact Section
========================= */
#contact {
  text-align: center;
  padding: 50px 20px;
  background: #fafafa;
}

#contact p {
  margin-bottom: 15px;
  color: #555;
}

.copy-btn {
  margin-left: 8px;
  padding: 6px 12px;
  border: none;
  background: #f39c12;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background: #d35400;
}

.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.instagram { background: #E4405F; }
.tiktok { background: #FE2C55; }
.email { background: #007bff; }

.social-btn:hover {
  opacity: 0.85;
}

/* =========================
   Back to Home Button
========================= */
.back-home {
  text-align: center;
  margin-top: 20px;
}

.back-home .btn {
  background: #f39c12;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.back-home .btn:hover {
  background: #d35400;
}

/* =========================
   Footer
========================= */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 12px;
  margin-top: 40px;
  font-size: 0.85rem;
}

/* =========================
   Dark Mode
========================= */
body.dark-mode {
  background: #111;
  color: #eee;
}

body.dark-mode .hero { background: url("hero-stairs.jpg") no-repeat center center/cover; }
body.dark-mode .hero::before { background: rgba(0,0,0,0.6); }
body.dark-mode .hero-overlay h1 { color: #f39c12; }
body.dark-mode .hero-overlay p { color: #ccc; }

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 { color: #f39c12; }

body.dark-mode .about,
body.dark-mode .about-section { background: #1a1a1a; }
body.dark-mode .about-text p,
body.dark-mode .about-content p { color: #ddd; }
body.dark-mode .about-card { background: #222; color: #eee; }

body.dark-mode .featured { background: #1a1a1a; }
body.dark-mode .featured-caption { color: #ccc; }

body.dark-mode #contact { background: #1a1a1a; }
body.dark-mode #contact p { color: #ddd; }

body.dark-mode .btn { background: #d35400; color: #fff; }
body.dark-mode .btn:hover { background: #f39c12; }

body.dark-mode footer { background: #000; color: #888; }

body.dark-mode .lightbox { background: rgba(0,0,0,0.95); }

#dark-mode-toggle {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 15px;
  transition: transform 0.2s ease;
  color: #fff;
}
#dark-mode-toggle:hover { transform: scale(1.2); }
body.dark-mode #dark-mode-toggle { color: #f39c12; }

/* =========================
   Identity Section
========================= */
.identity {
  text-align: center;
  padding: 50px 20px;
  background: #fafafa;
}

.identity h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #111;
}

.identity .tagline {
  font-size: 1rem;
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

body.dark-mode .identity { background: #1a1a1a; }
body.dark-mode .identity h1 { color: #f39c12; }
body.dark-mode .identity .tagline { color: #ccc; }

/* =========================
   Logo Styling
========================= */
.nav-logo {
  height: 35px;
  width: auto;
  margin-left: 15px;
}

.hero-logo {
  height: 80px;
  margin-bottom: 10px;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 8px;
  opacity: 0.8;
}

body.dark-mode .footer-logo { opacity: 0.6; }

/* =========================
   Mobile Font Improvements
========================= */
@media (max-width: 768px) {
  body {
    font-family: "Poppins", "Roboto", sans-serif; /* Mobile fonts */
    font-size: 17px; /* bigger base text */
  }

  nav ul li a {
    font-size: 1.1rem; /* bigger nav links */
  }

  .hero-overlay h1 {
    font-size: 2rem; /* make headline pop */
  }

  .hero-overlay p {
    font-size: 1.1rem;
  }

  .about-text p {
    font-size: 1.05rem; /* easier to read */
  }

  .featured-caption {
    font-size: 1.05rem;
  }

  footer {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-family: "Poppins", "Roboto", sans-serif; /* Mobile fonts */
    font-size: 18px; /* extra bump for small phones */
  }

  nav ul li a {
    font-size: 1.15rem;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1.15rem;
  }

  .about-text p {
    font-size: 1.1rem;
  }

  .featured-caption {
    font-size: 1.1rem;
  }

  footer {
    font-size: 1.05rem;
  }
}

/* =========================
   Desktop Font Defaults
========================= */
@media (min-width: 769px) {
  body {
    font-family: "Inter", "Playfair Display", serif; /* Desktop fonts */
  }
}
