
/* Reset & Box Sizing */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('images/hero-bg.jpg') top center/cover no-repeat;
  color: #eee;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  padding: 1rem;
}

/* Page-wide overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Content on top of overlay */
header, main, footer, .button-section {
  position: relative;
  z-index: 1;
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; }
p  { margin-bottom: 1rem; }


/* Nav & Footer */
header {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  text-align: center;
}
/* Footer */
footer p { color: #777; font-size: 0.9rem; }

nav a {
  color: #ccc;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}
nav a.active, nav a:hover { color: #fff; }

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  z-index: 1;
}

.hero h1,
.hero p {
  margin: 0.5rem 0;
}

.page-title h2 { font-size: 2rem; }

/* Main */
main {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Resume / Bio Table */
.resume-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.bio-table {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.bio-table div {
  flex: 1 1 150px;
}

/* Button Section */
.button-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.button-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Button Style */
.button,
.spotlight-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  line-height: 1;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
  box-sizing: border-box;
}

.button {
  background: #00aaff;
  color: white;
}

.button:hover {
  background: #008ecc;
}

.spotlight-pill {
  background: #fff;
  color: #000;
}

.spotlight-pill:hover {
  background-color: #f8f8f8;
}

.spotlight-pill img {
  height: 20px;
  width: 20px;
  display: inline-block;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

.button-group img {
  display: inline-block;
  vertical-align: middle;
  height: 20px;
}

.button-group .button {
  background: #00aaff;
  color: white;
}

.button-group .button:hover {
  background: #008ecc;
}

.button-group .spotlight-pill {
  background: #fff;
  color: #000;
}

.button-group .spotlight-pill:hover {
  background: #f8f8f8;
}

/*
.spotlight-pill .spotlight-icon {
  height: 24px;
  margin-right: 8px;
}
*/

/* Reel Video */
.aspect-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.aspect-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1rem;
}
.image-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.image-wrapper img {
  width: 100%;
  display: block;
}
.image-wrapper .credit {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
  border-radius: 4px;
}



/* Responsive */
@media(max-width:600px){
  header {
    padding: 0.5rem 1rem;
  }
  .hero { padding: 2rem 0; }
  nav a { display: inline; margin: 0 0.5rem; font-size: 0.9rem}
  .button-group {
    flex-direction: column;
    align-items: center;
  }
  .button,
  .spotlight-pill {
  width: auto;
  max-width: 90%;
  text-align: center;
  justify-content: center;
  }
  .spotlight-pill img {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  }
}


/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Google Font */
body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Scroll-to-top button */
.scroll-top {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.scroll-top:hover {
  background: #555;
}

/* Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}

/* Contact Form */
.contact-form input, .contact-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
}
.contact-form button {
  padding: 0.75rem;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form {
  width: 90%;          /* fills most of the parent width */
  max-width: 1000px;    /* caps max width */
  min-width: 600px;
  margin: 0 auto;      /* centers horizontally */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  box-sizing: border-box;
}

.contact-form label {
  font-size: 1rem;
  color: #ccc;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background: #222;
  color: #fff;
  box-sizing: border-box;
  width: 100%;
  resize: vertical;  /* allows vertical resize only for textarea */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form button {
  padding: 1rem;
  font-size: 1rem;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background: #666;
}

/* Responsive for small screens */
@media (max-width: 600px) {
  .contact-form {
    width: 95%;
    min-width: 320px;
    padding: 1.5rem;
    gap: 0.75rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}

/* Social Icons */
.social-icon {
  height: 24px;
  width: 24px;
  margin: 0 8px;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 1;
}


footer {
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  display: inline-block;
  margin: 0 0.5rem;
}

footer .social-icon {
  height: 24px;
  width: 24px;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

footer .social-icon:hover {
  opacity: 1;
}
