body { 
    background-color: #f8f6f1; 
    color: #1a1a1a; 
}

/* Image Protection */
img, video {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/gallery/uchikake-2-opt.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(26,26,26,0.3), rgba(26,26,26,0.6), rgba(26,26,26,0.95));
}

/* Gallery */
.gallery-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #1a1a1a;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.gallery-slide.active { 
    opacity: 1; 
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: #c9a961;
    width: 24px;
    border-radius: 4px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26,26,26,0.3);
    backdrop-filter: blur(4px);
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-arrow:hover {
    background: #c9a961;
    border-color: #c9a961;
}

.gallery-arrow.prev { 
    left: 16px; 
}

.gallery-arrow.next { 
    right: 16px; 
}

/* Calendly Widget Styling */
.calendly-container {
    width: 100%;
    height: 720px;
    overflow: visible;
}

.calendly-container iframe {
    width: 100% !important;
    height: 720px !important;
    border: none;
}

@media (max-width: 768px) {
    .video-container video { 
        display: none; 
    }
    .video-fallback { 
        z-index: -1; 
    }
    .calendly-container,
    .calendly-container iframe { 
        height: 950px; 
    }
}
