* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: white;
  color: #171717;
  line-height: 1.6;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  backdrop-filter: none;
  z-index: 1000;
  border-bottom: none;
  transition: background-color 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}

/* Darkened background when scrolling past hero */
header.scrolled {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: white;
  transition: color 0.3s;
  cursor: pointer;
  text-decoration: none;
}

.logo:hover {
  color: #FFFACD;
}

.logo svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

header.scrolled .logo svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s, font-size 0.3s;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav a:hover {
  color: #FFFACD;
  font-size: 1.1rem;
}

header.scrolled nav a {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

header.scrolled nav a:hover {
  color: #FFFACD;
  font-size: 1.1rem;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

header.scrolled .menu-btn {
  color: white;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.mobile-menu {
  display: none;
  background-color: transparent;
  backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 1.5rem;
}

.mobile-menu.active {
  display: block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.mobile-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.3s, background-color 0.3s;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: right;
}

.mobile-menu a:hover {
  color: #FFFACD;
  background-color: rgba(0, 0, 0, 0.3);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1.5rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.4s ease-in-out;
}

/* Add a dark overlay for better text readability when using images */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  text-align: center;
  padding: 1rem;
  z-index: 10;
  position: relative;
}

.hero h2 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  background-color: white;
  color: #171717;
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e5e5e5;
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 1.5rem;
  background-image: url('passPortBackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Add overlay for better card visibility */
.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.portfolio .container,
.portfolio .section-title,
.portfolio .category-cards {
  position: relative;
  z-index: 2;
}

.portfolio .section-title {
  color: #FFFACD;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-with-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.section-title-with-icon svg {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
  flex-shrink: 0;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #FFFACD;
}

.category-image {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease-in-out;
}

.category-image.fade-out {
  opacity: 0;
}

.category-card:hover .category-image {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
  transition: background 0.3s;
}

.category-card:hover .category-overlay {
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

.category-title {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  color: #FFFACD;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.category-description {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.category-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}

.category-card:hover .category-link {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
.about {
  padding: 5rem 1.5rem;
  background-image: url('passPortBackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Add overlay for better text readability */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-content {
  max-width: 75rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: start;
  text-align: left;
}

.about-image {
  position: sticky;
  top: 6rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 3px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.about-text {
  text-align: left;
}

.about-content p {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1.5rem;
}

.about .section-title {
  color: #FFFACD;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Contact Section */
.contact {
  padding: 5rem 1.5rem;
  background-image: url('passPortBackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Add overlay for better text readability */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.contact-content {
  max-width: 75rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact .section-title {
  color: #FFFACD;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact .section-title-with-icon {
  justify-content: center;
}

.contact-content > p {
  font-size: 1.125rem;
  color: #d4d4d4;
  margin-bottom: 3rem;
}

/* Contact Layout - Two Columns */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  text-align: left;
  margin-top: 3rem;
}

/* Contact Form */
.contact-form-container p {
  font-size: 1rem;
  color: #d4d4d4;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.3s, border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFACD;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form select option {
  background: #1a1a1a;
  color: white;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Required fields note */
.required-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
  text-align: right;
}

.required-star {
  color: #FFFACD;
  font-size: 0.9rem;
}

/* Two-column row for first/last name */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Form status message */
.form-status {
  font-size: 0.9rem;
  min-height: 1.4em;
  transition: opacity 0.3s;
}
.form-status.success { color: #FFFACD; }
.form-status.error   { color: #fca5a5; }

/* Submit button — ghost style consistent with site palette */
.contact-submit-btn {
  align-self: flex-start;
  padding: 0.875rem 2.5rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;               /* sharp edges like .btn elsewhere */
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
}

.contact-submit-btn:hover:not(:disabled) {
  background: rgba(255, 250, 205, 0.15);
  border-color: #FFFACD;
  color: #FFFACD;
  transform: translateY(-2px);
}

.contact-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail h3 {
  color: #FFFACD;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.contact-detail p {
  color: #d4d4d4;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0.25rem 0;
}

.contact-detail a {
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
  transition: color 0.3s;
  display: inline-block;
}

.contact-detail a:hover {
  color: #FFFACD;
}

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.social-links a {
  color: white;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
}

.social-links a:hover {
  color: #FFFACD;
  transform: translateY(-4px);
}

.social-links svg {
  width: 32px;
  height: 32px;
}

/* Footer */
footer {
  background-color: #0a0a0a;
  border-top: 1px solid #333;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #a3a3a3;
}

/* Photo Gradient Backgrounds */
.gradient-1 { background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%); }
.gradient-2 { background: linear-gradient(135deg, #60a5fa 0%, #0891b2 100%); }
.gradient-3 { background: linear-gradient(135deg, #c084fc 0%, #db2777 100%); }
.gradient-4 { background: linear-gradient(135deg, #4ade80 0%, #059669 100%); }
.gradient-5 { background: linear-gradient(135deg, #fb7185 0%, #dc2626 100%); }
.gradient-6 { background: linear-gradient(135deg, #818cf8 0%, #3b82f6 100%); }
.gradient-7 { background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%); }
.gradient-8 { background: linear-gradient(135deg, #2dd4bf 0%, #0891b2 100%); }
.gradient-9 { background: linear-gradient(135deg, #a78bfa 0%, #9333ea 100%); }

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .category-cards {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    height: 350px;
  }
  
  /* About section mobile layout */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    position: relative;
    top: 0;
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* Contact section mobile layout */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  /* Fix background image scaling on mobile */
  .hero {
    background-attachment: scroll !important;
    background-size: cover;
  }
  
  .portfolio {
    background-attachment: scroll !important;
    background-size: cover;
  }
  
  .about {
    background-attachment: scroll !important;
    background-size: cover;
  }
  
  .contact {
    background-attachment: scroll !important;
    background-size: cover;
  }
}