/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
  height: 100vh;
  overflow-x: hidden;
}

/* Background */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Logo */
.header {
  margin-top: 40px;
}

.logo {
  width: 180px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

/* Navigation */
.main-nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.nav-btn {
  font-family: 'MyCustomFont', sans-serif;
  font-size: 2.5rem;
  padding: 12px 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
  outline: none;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.05);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  font-size: 0.9rem;
  z-index: 10;
}

/* Social Icons */
.social-icon {
  width: 44px;
  height: 44px;
  margin-left: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 12px white);
}

/* Calendly Modal */
.calendly-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.calendly-container {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  position: relative;
  backdrop-filter: blur(12px);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Portfolio Grid */
.portfolio {
  padding: 100px 40px;
  text-align: center;
}

.portfolio h1 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.grid .item {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.grid .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.grid .item img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Font */
@font-face {
  font-family: 'MyCustomFont';
  src: url('Chrome-Normal.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* --- INTRO & TRANSITION SCREENS --- */
#intro-screen,
#transition-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  z-index: 9999;
  transition: opacity 1s ease;
}

/* Replace old intro/transition image styles */
#intro-video,
#transition-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* Enter button stays above video */
#enter-btn {
  font-family: 'MyCustomFont', sans-serif;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  outline: none;
  z-index: 2;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

#enter-btn:hover {
  transform: scale(1.05);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Transition screen remains fullscreen */
#transition-screen {
  display: none;
  background: black;
}

body.loaded #intro-screen,
body.loaded #transition-screen {
  opacity: 0;
  pointer-events: none;
}

/* Fade-in for main site */
#main-content {
  animation: fadeIn 0.2s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* THIS IS FOR THE PORTFOLIO PART TO MAKE PICS FULL SCREEN */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ccc;
}

/* Apply the same font across the FAQ */
body, h1, h2, h3, p, button, a {
  font-family: 'MyCustomFont', sans-serif;
  color: white;
  letter-spacing: 1px;
}

/* --- MOBILE FOOTER FIX --- */
@media (max-width: 768px) {
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    gap: 8px;
  }

  .footer-right {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    margin: 0;
  }

  .footer-left {
    order: 2;
    font-size: 0.8rem;
    opacity: 0.9;
  }
}




  