/*
Theme Name: Pixel Production Nepal
Theme URI: https://pixelproduction.com.np
Author: Antigravity
Author URI: https://github.com/google-deepmind
Description: A professional, minimal black and white theme for photography and videography studios. Built with Bootstrap 5 and ACF.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixel-theme
Tags: photography, portfolio, black-and-white, bootstrap, custom-post-types
*/

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --text-muted: #888888;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    font-weight: 700;
}

.bg-black {
    background-color: #000 !important;
}

.text-white {
    color: #fff !important;
}

/* Glamour Effects */
.glam-border {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.glam-border:hover {
    border-color: #000;
}

.btn-outline-black {
    border: 2px solid #000;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-black:hover {
    background-color: #000;
    color: #fff;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Ensure the video covers the entire section */
@media (min-aspect-ratio: 16/9) {
    .hero-video-wrapper {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-video-wrapper {
        width: 300%;
        left: -100%;
    }
}

.hero-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 1s ease, filter 0.5s ease;
    filter: grayscale(100%);
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transition: bottom 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

nav.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav.main-navigation ul li {
    margin-left: 25px;
}

nav.main-navigation ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

nav.main-navigation ul li a:hover {
    opacity: 0.6;
}