/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1a1a1a;
  color: #fff;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background-color: #111;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ff4500;
}

.profile-text h1 {
  color: #ff4500;
  font-size: 1.5rem;
}

.profile-text p {
  color: #ccc;
  font-size: 1rem;
}

nav.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

nav.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.portfolio-dropdown {
  position: relative;
}

.portfolio-menu {
  display: none;
  position: absolute;
  background: #222;
  padding: 0.25rem 0;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.portfolio-menu.show {
  display: block;
}

.portfolio-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.portfolio-menu a:hover {
  background-color: #333;
}

.menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  z-index: 1000;
}

.video-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video-banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.banner-overlay {
  padding: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.banner-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff4500;
}

.banner-overlay p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.video-grid {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.video-grid h2 {
  color: #ff4500;
  margin-bottom: 2rem;
}

.videos-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.video {
  max-width: 100%;
}

/* Responsive YouTube embed */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 2rem auto;
  max-width: 960px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.image-link-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 2rem auto;
  max-width: 960px;
}

.image-link-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

footer {
  padding: 2rem 1rem;
  background-color: #111;
  text-align: center;
  color: #999;
}

/* === Portfolio Page Adjustments === */
.portfolio-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.portfolio-wrapper h1,
.portfolio-wrapper h2 {
  color: #ff4500;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.portfolio-wrapper p {
  margin-bottom: 1.5rem;
}

.portfolio-wrapper iframe {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.thumbnail,
.image-link-wrapper {
  display: block;
  margin: 0 auto 1.5rem auto;
  width: 100%;
  max-width: 960px;
}

.thumbnail img,
.image-link-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #000;
  border: none;
}

/* === Contact Form Styling === */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem;
}

.contact-form .form-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.contact-form label {
  font-weight: bold;
  width: 90px;
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
  text-align: right;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button[type="submit"] {
  background-color: #ff4500;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin: 1rem auto 0;
}

.contact-form button[type="submit"]:hover {
  background-color: #e03e00;
}

/* === Rate Sheet Page Styling === */
.rate-section {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #fff;
  text-align: left;
}

.rate-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ff4500;
}

.rate-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
  text-align: left;
}

.rate-item {
  margin-bottom: 2rem;
  border: 1px solid #444;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: #1a1a1a;
}

.rate-item h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.rate-price {
  font-weight: bold;
  color: #ff4500;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.rate-item ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.rate-item ul li {
  color: #ccc;
  margin-bottom: 0.5rem;
}

/* Mobile nav styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav.nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #111;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
  }

  nav.nav-links.active {
    display: flex;
  }

  .banner-overlay h1 {
    font-size: 2rem;
  }

  .banner-overlay p {
    font-size: 1rem;
  }

  .portfolio-menu {
    display: none;
  }

  .portfolio-menu.show {
    display: block;
  }

  .portfolio-menu a {
    padding-left: 1rem;
  }
}