/* Reset and Base Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #d4af37;
    --brand-red: #DC2626;
    --font-primary: 'Overpass', sans-serif;
    --transition-smooth: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary-color);
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    height: 80px;
    /* Increased height */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--secondary-color);
}

.logo-img {
    height: 60px;
    /* Increased size */
    width: 60px;
    /* Set width equal to height for square aspect ratio */
    object-fit: contain;
    /* Ensures the logo fits properly */
    filter: brightness(1);
    /* Remove invert filter */
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: var(--brand-red);
    transform: none;
    animation: lineGrow 1s ease-out forwards;
}

/* Add the animation keyframes */
@keyframes lineGrow {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 70%;
        opacity: 1;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    /* Increased gap */
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1rem;
    /* Increased size */
    position: relative;
    transition: var(--transition-smooth);
    font-weight: 500;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: var(--transition-smooth);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background: url('../images/hero.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Intro Text Section */
.intro-text {
    padding: 100px 5%;
    background: var(--secondary-color);
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 5%;
    background: var(--secondary-color);
    color: var(--primary-color);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
}

.about-container p {
    margin: 0 auto;
}

/* Work Section */
.work {
    padding: 100px 5%;
    background: #000;
    color: var(--secondary-color);
}

.work h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 700;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    aspect-ratio: 9/13;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
}

.work-card img {
    width: 100%;
    height: calc(100% - 40px);
    object-fit: cover;
    transition: transform 0.3s ease-out;
    transform-origin: center;
    display: block;
}

.work-card:hover img {
    transform: scale(1.03);
}

.work-card-title-band {
    width: 100%;
    height: 40px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    padding: 0;
    margin: 0;
    border: none;
    box-sizing: border-box;
    letter-spacing: 0.5px;
}

/* Overlay and hover effect removed for new design */

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: -40px;
    color: var(--secondary-color);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1002;
}

.close-modal:hover {
    transform: rotate(90deg);
}

#videoContainer {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#videoContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background: var(--secondary-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 0;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-info .phone,
.contact-info .email {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info .address {
    margin-top: 2rem;
}

.contact-info .address p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
}

.contact-form {
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: white;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--brand-red);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.contact-form button:hover {
    background: #b91c1c;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-container {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .about h2,
    .work h2,
    .contact h2 {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }
}

/* Work Description */
.work-description {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: left;
}

.work-description ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.work-description li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Parallax Story Section */
.story-parallax {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url('../images/about-1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(220, 38, 38, 0.6);
    /* Red overlay with 60% opacity */
}

.parallax-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.parallax-text {
    color: white;
    font-size: 2rem;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    font-family: var(--font-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    font-weight: 600;
}

.parallax-text.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .parallax-text {
        font-size: 1.5rem;
    }

    .story-parallax {
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
    }
}