/* General Reset/Index.HTML */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff9f5;
  color: #333;
  line-height: 1.6;
}

.page-wrapper {
  margin: 0 10px; /* or whatever spacing you want */
}

/* Navigation */
nav {
  background-color: #043424;
  padding: 15px 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffe0c1;
}

/* Main Container */
.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 80px 60px;
  max-width: 1200px;
  margin: auto;
  background: #fff;
}

.text {
  flex: 1 1 50%;
  padding-right: 40px;
}

.text p {
  font-size: 1.2rem;
  color: #aa5b00;
  margin-bottom: 10px;
}

.text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #222;
}

.text h2 {
  font-size: 2rem;
  margin-top: 10px;
  color: #444;
}

.text .black {
  color: #7B3F00;
  font-weight: bold;
}

/* Image */
.image-container {
  flex: 1 1 40%;
  text-align: right;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Utility Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #7B3F00;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.btn:hover {
  background-color: #6F4e37;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .text {
    padding-right: 0;
    text-align: center;
  }

  .image-container {
    margin-top: 30px;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/*About.HTML*/
.about-section {
  padding: 60px;
  background-color: #fff9f5;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-text {
  flex: 1 1 55%;
}

.about-text h1 {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.7;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Reuse existing .btn styling */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #7B3F00;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #6F4e37;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .about-text {
    padding-right: 0;
  }
}

/* Grid Layout/Project.HTML */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 40px;
}

.project-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s;
}

.project-item img {
  width: 100%;
  display: block;
}

.project-item:hover {
  transform: scale(1.03);
}

/* Lightbox Structure */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 20px;
}

.lightbox:target {
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  text-decoration: none;
  z-index: 10000;
}

.lightbox-content {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #333;
}

.lightbox-content img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}

.lightbox-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #7B3F00;
}

.color-palette {
  display: flex;
  gap: 10px;
  margin: 10px 0 20px;
}

.color-palette span {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid #ccc;
}

.font-list {
  list-style: none;
  padding-left: 0;
}

.font-list li {
  font-weight: 500;
  margin-bottom: 5px;
}

/*Photography.HTML*/
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.photo-item img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.03);
}

/* Section headers */
.photography-section h1 {
  margin-top: 10px;
  font-size: 2rem;
  color: #000000;
}

.photography-section h2 {
  margin-top: 60px;
  font-size: 2rem;
  color: #7B3F00;
}

/* Lightbox styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  padding: 40px;
  overflow-y: auto;
}

.lightbox:target {
  display: block;
}

.lightbox-content {
  max-width: 90%;
  margin: 60px auto;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  text-decoration: none;
  color: white;
}

/*Contact.HTML*/
.contact-section {
    max-width: 600px;
    margin: 40px auto 60px auto;
    padding: 30px 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-section label {
    font-weight: bold;
    margin-bottom: 4px;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    box-sizing: border-box;
}

.contact-section button {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.contact-section button:hover {
    background-color: #1c5980;
}

.flash-messages {
    margin-bottom: 15px;
    color: green;
    font-weight: bold;
    text-align: center;
}

