/* --- Basic Reset --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* --- Navigation Bar Styling --- */
nav {
  background-color: white;
  padding: 16px 40px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


nav a {
  color: black;
  text-decoration: none;
  margin-right: 20px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}
.nav-left {
  display: flex;
  align-items: center;
}

.nav-title {
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%); /* This creates a subtle dark overlay effect */
}

/* Text on top of hero image */
.hero-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  text-align: left;
  color: white;
}
.hero .hero-name {
  font-size: 5.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin: 0;
  color: white;
}

.hero .hero-tagline {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 14px 0 0 0;
  color: white;
  max-width: 600px;
  line-height: 1.5;
}


.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: white;
}
/* --- Main Content Spacing --- */

/* --- About Section Base Styling --- */
.about {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 160px auto 0;
  max-width: 1200px;
  padding: 0 40px;
  align-items: center;
}

/* About Image Styling */
.about-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* About Text Styling */
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  color: #333;
}

/* Side-by-side layout on larger screens */
@media (min-width: 900px) {
  .about {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
  }

  .about-text p {
    text-align: left;
    margin: 0;
  }

  .about-image img {
    max-width: 420px;
  }
}

/* --- Portfolio Links Layout --- */
.portfolio-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 180px auto 0;
  max-width: 1200px;
  padding: 0 40px;
}

@media (min-width: 900px) {
  .portfolio-links {
    flex-direction: row;
  }
}

/* --- Portfolio Card Base Styling --- */
.portfolio-card {
  position: relative;
  display: block;
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-decoration: none;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card h2 {
  position: absolute;
  left: 20px;
  bottom: 20px;
  margin: 0;
  color: white;
  font-size: 1.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

/* Hover Effects */
.portfolio-card:hover img {
  transform: scale(1.05) translateY(-6px);
}

.portfolio-card:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  transform: translateY(-4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Contact Section --- */
.contact-section {
  max-width: 700px;
  margin: 180px auto 120px auto;
  text-align: center;
  padding: 0 40px;
}

.contact-section h2 {
  font-size: 2.2rem;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-btn {
  margin-top: 20px;
  padding: 14px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #333;
}

/* --- Global Footer Styling --- */
.site-footer {
  margin-top: 120px;
  padding: 30px 40px;
  text-align: center;
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.site-footer p {
  margin: 0;
}

/* --- Mobile layout tweaks --- */
@media (max-width: 768px) {
  /* Nav: stack title on top, links below */
  nav {
    padding: 12px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-left {
    margin-bottom: 8px;
  }

  .nav-title {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  .nav-right {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-right a {
    font-size: 0.9rem;
  }

  /* Hero: shrink text a bit and keep it readable */
  .hero {
    height: 60vh;
  }

  .hero-text {
    bottom: 24px;
    left: 20px;
    right: 20px;
  }

  .hero .hero-name {
    font-size: 2.6rem;
    letter-spacing: 2px;
  }

  .hero .hero-tagline {
    font-size: 0.95rem;
    max-width: 90%;
  }

  /* Page header spacing on inner pages */
  .page-header {
    margin: 100px auto 40px auto;
    padding: 0 20px;
  }

  .page-header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  /* Gallery padding tighter on mobile */
  .magazine-gallery {
    padding: 0 20px;
    margin-bottom: 120px;
  }
}
