/* Basic CSS for Joe Ledesma III website */
/* This replaces the missing Tailwind output.css */

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  width: 100%;
  min-height: 100vh;
  -webkit-overflow-scrolling: touch;
}

/* Remove any default spacing on mobile */
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .video-container {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

.video-container {
  width: 100vw;
  height: 100vh;
  box-shadow: 0 0 24px #222;
  overflow: hidden;
  background: #111;
  position: relative;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) brightness(1.05) saturate(1.1);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* iOS video fixes */
@supports (-webkit-touch-callout: none) {
  video {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

.content-below {
  background: url('../Media/bgmatte.jpg') no-repeat center 80px;
  background-size: 100% 150vh;
  padding: 32px 0;
  min-height: 60vh;
  position: relative;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-overlay img {
  max-width: 400px;
  max-height: 400px;
  width: auto;
  height: auto;
}

.video-container:hover .logo-overlay {
  opacity: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  /* Video container - always full screen */
  .video-container {
    height: 100vh;
    width: 100vw;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
  }
  
  /* Video element itself - fill entire screen */
  .video-container video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }
  
  /* Logo overlay - perfectly centered over video */
  .logo-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
  }
  
  .logo-overlay img {
    max-width: 60vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: auto;
  }
  
  /* Instagram section container */
  .content-below {
    padding: 0;
    position: relative;
    z-index: 2;
    background: url('../Media/bgmatte.jpg') no-repeat center top !important;
    background-size: 100vw calc(100% + 300px) !important;
    min-height: 100vh !important;
    width: 100vw;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .logo-overlay img {
    max-width: 50vw;
    max-height: 50vh;
  }
  
  .content-below {
    background: url('../Media/bgmatte.jpg') no-repeat center bottom !important;
    background-size: cover !important;
  }
} 