/* === Base Styles === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111111;
  color: #ffffff;
}

h1, h2, h3 {
  color: #ffffff;
  margin-top: 0;
}

a {
  color: #0099ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Header === */
header {
  background-color: #000000;
  padding: 1rem 0;
  border-bottom: 2px solid #0099ff;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.8rem;
  color: #ffcc00;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #0099ff;
}

/* === Hero Section === */
.hero {
  background-image: url('../images/main_6883c8115c423_DSC_0659.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Optional overlay for contrast */
  z-index: -1;
}

.hero-content {
  z-index: 2;
}
/* === Intro Section === */
.intro {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.intro p {
  font-size: 1.1rem;
  color: #cccccc;
}

/* === Featured Gallery === */
.featured {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.gallery img {
  max-width: 300px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* === Lightbox Overlay === */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #ffcc00;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.lightbox-text {
  margin-top: 1rem;
  color: #fff;
}

.lightbox-shop {
  display: inline-block;
  margin-top: 1rem;
  background-color: #0099ff;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.lightbox-shop:hover {
  background-color: #007acc;
}

/* === Footer === */
footer {
  background-color: #000000;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #888888;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content p {
    font-size: 1rem;
  }

  .lightbox-content img {
    max-height: 50vh;
  }
}


/* GENERAL PAGE LAYOUT */
.page-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  color: #111;
}

/* ABOUT PAGE */
.about-section h2,
.blog-section h2,
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0099ff;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* BLOG PAGE */
.blog-section article {
  border-bottom: 1px solid #ccc;
  padding: 2rem 0;
}

.blog-section article:last-child {
  border-bottom: none;
}

.blog-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.blog-section .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.blog-section p {
  line-height: 1.6;
}

/* CONTACT PAGE */
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-section input,
.contact-section textarea {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-section textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-section button {
  background-color: #0099ff;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-section button:hover {
  background-color: #007acc;
}

/* Success and error messages */
.success {
  color: #007f00;
  background: #e0f6e0;
  padding: 1rem;
  border-left: 4px solid #007f00;
  margin-bottom: 1rem;
}

.error {
  color: #a00000;
  background: #fde0e0;
  padding: 1rem;
  border-left: 4px solid #a00000;
  margin-bottom: 1rem;
}

/* Make labels and form text visible */
.contact-section label,
.contact-section p,
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section .success,
.contact-section .error {
  color: #ffffff; /* bright text for contrast */
}

/* Inputs and textarea background and text */
.contact-section input,
.contact-section textarea {
  background-color: #222;   /* dark but distinct from page background */
  color: #eee;              /* light text */
  border: 1px solid #555;   /* subtle border */
}

/* Placeholder text color */
.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #999;  /* lighter placeholder text */
}

/* Button styling */
.contact-section button {
  background-color: #0099ff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-section button:hover {
  background-color: #007acc;
}

body, input, textarea, select, button {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  background-color: #111;
}


/* General page layout */
.page-header {
  max-width: 900px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
  color: #0099ff;
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.25rem;
  font-style: italic;
  color: #555;
}

/* Flex container for profile photo and bio */
.about-flex {
  display: flex;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.profile-photo {
  flex: 1 1 280px;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.profile-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-text {
  flex: 2 1 400px;
  color: #eee;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Tools & Locations Lists */
.about-extra {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #eee;
}

.about-extra h2 {
  color: #0099ff;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.tools-list,
.location-list {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #ddd;
}

.tools-list li,
.location-list li {
  margin-bottom: 0.7rem;
}

/* Blockquote styling */
.field-notes {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1rem;
  color: #ccc;
  font-style: italic;
  font-size: 1.3rem;
  text-align: center;
  border-left: 4px solid #0099ff;
  padding-left: 1rem;
}

/* Call to Action */
.about-cta {
  max-width: 700px;
  margin: 3rem auto 5rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 1.15rem;
  color: #eee;
}

.about-cta a {
  color: #0099ff;
  text-decoration: underline;
  font-weight: 600;
}

.about-cta a:hover,
.about-cta a:focus {
  color: #007acc;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .about-flex {
    flex-direction: column;
    align-items: center;
  }
  .about-text {
    flex: none;
    max-width: 100%;
  }
  .profile-photo {
    max-width: 100%;
    width: 300px;
  }
}


/* Page header for blog */
.page-header {
  max-width: 900px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
  color: #0099ff;
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.25rem;
  font-style: italic;
  color: #555;
}

/* Blog list container */
.blog-list {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  color: #eee;
}

/* Individual post summaries */
.post-summary {
  border-bottom: 1px solid #333;
  padding: 2rem 0;
}

.post-summary:last-child {
  border-bottom: none;
}

.post-summary h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #0099ff;
}

.post-summary h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-summary h2 a:hover,
.post-summary h2 a:focus {
  color: #007acc;
  outline: none;
}

/* Post date */
.post-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Excerpt text */
.post-summary p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ddd;
}

/* Read more link */
.read-more {
  font-weight: 600;
  color: #0099ff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.read-more:hover,
.read-more:focus {
  color: #007acc;
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 720px) {
  .page-header h1 {
    font-size: 2.25rem;
  }

  .post-summary h2 {
    font-size: 1.5rem;
  }
}


/* Blog post container */
.blog-post {
  max-width: 800px;
  margin: 3rem auto 5rem;
  padding: 0 1rem;
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

/* Post title */
.blog-post h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #0099ff;
  text-align: center;
  letter-spacing: 1px;
}

/* Post date */
.blog-post .post-date {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Post content styling */
.blog-post .post-body {
  font-size: 1.15rem;
  color: #ddd;
}

/* Styling common markdown elements */

.blog-post .post-body p {
  margin-bottom: 1.5rem;
}

.blog-post .post-body h2,
.blog-post .post-body h3,
.blog-post .post-body h4 {
  color: #0099ff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-post .post-body a {
  color: #ffcc00;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.blog-post .post-body a:hover,
.blog-post .post-body a:focus {
  color: #ff9900;
  outline: none;
}

.blog-post .post-body ul,
.blog-post .post-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.blog-post .post-body blockquote {
  border-left: 4px solid #0099ff;
  padding-left: 1rem;
  margin: 2rem 0;
  color: #bbb;
  font-style: italic;
  background-color: #111;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 720px) {
  .blog-post {
    margin: 2rem 1rem 4rem;
  }
  .blog-post h1 {
    font-size: 2.2rem;
  }
  .blog-post .post-body {
    font-size: 1.05rem;
  }
}

.blog-post .post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  object-fit: contain;
  border: 1px solid #333;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    width: 100%;
    max-width: 90vw;
  }

  .profile-photo img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  .about-text {
    padding: 0 1rem;
    text-align: center;
  }
}

