/* Color Palette */
:root {
    --forest: #4D4738;
    --olive: #BAB9A7;
    --aloe: #755F4A;
    --sand: #C0AE94;
    --hover-green: #8B9D7E;
    --dark-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 3.5rem 0;
    box-shadow: none;
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2rem 0 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: var(--sand);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    padding-right: 0;
    margin-right: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-menu a.dark-mode {
    color: var(--forest);
    text-shadow: none;
}

.nav-menu a:hover {
    color: var(--sand) !important;
    transform: translateY(-3px);
}

.home-icon {
    font-size: 1.1rem;
}

.home-icon:hover {
    transform: scale(1.1) translateY(-3px) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--sand);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    max-width: 100%;
    margin: 0;
    padding: 4rem 0 4rem 4rem;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
    justify-content: flex-start;
}

.hero-content {
    max-width: 700px;
    padding-left: 0;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--sand);
    color: var(--forest);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--sand);
    color: var(--forest);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 174, 148, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--sand);
    border: 2px solid var(--sand);
}

.btn-secondary:hover {
    background: var(--sand);
    color: var(--forest);
    border-color: var(--sand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 174, 148, 0.4);
}

.btn i {
    margin-right: 0.5rem;
}

/* Hero Image */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    margin-top: 0;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.3) 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}

.hero-stats {
    position: absolute;
    top: 150px;
    right: 3rem;
    background: rgba(26, 26, 26, 0.9);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--aloe);
    z-index: 10;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item i {
    color: var(--sand);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--sand);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Hero Footer */
.hero-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: none;
    z-index: 10;
}

.contact-info {
    display: flex;
    gap: 6rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    color: var(--sand);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--sand);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--sand);
}

.social-links {
    display: flex;
    gap: 3rem;
    margin-right: 6rem;
    margin-bottom: 0.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--sand);
    transform: translateY(-3px);
}

/* Works Section with 3D Carousel */
.filmography {
    background: #F5F1E8;
    padding: 8rem 2rem 5rem 2rem;
    overflow: hidden;
}

.works-header {
    text-align: center;
    margin-bottom: 4rem;
}

.works-subtitle {
    font-size: 2rem;
    color: var(--forest);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.works-title {
    font-size: 3rem;
    color: var(--forest);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.works-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* 3D Carousel */
.carousel-3d-container {
    perspective: 1200px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    position: relative;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.carousel-card {
    position: absolute;
    width: 280px;
    height: 380px;
    left: 50%;
    top: 50%;
    transform-origin: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Positioning for 7 cards in 3D space */
.carousel-card[data-pos="0"] {
    transform: translate(-50%, -50%) translateX(0px) translateZ(0px) rotateY(0deg);
    z-index: 7;
    opacity: 1;
}

.carousel-card[data-pos="1"] {
    transform: translate(-50%, -50%) translateX(320px) translateZ(-120px) rotateY(-20deg);
    z-index: 6;
    opacity: 0.95;
}

.carousel-card[data-pos="2"] {
    transform: translate(-50%, -50%) translateX(580px) translateZ(-220px) rotateY(-30deg);
    z-index: 5;
    opacity: 0.85;
}

.carousel-card[data-pos="3"] {
    transform: translate(-50%, -50%) translateX(800px) translateZ(-320px) rotateY(-40deg);
    z-index: 4;
    opacity: 0.6;
}

.carousel-card[data-pos="4"] {
    transform: translate(-50%, -50%) translateX(-320px) translateZ(-120px) rotateY(20deg);
    z-index: 6;
    opacity: 0.95;
}

.carousel-card[data-pos="5"] {
    transform: translate(-50%, -50%) translateX(-580px) translateZ(-220px) rotateY(30deg);
    z-index: 5;
    opacity: 0.85;
}

.carousel-card[data-pos="6"] {
    transform: translate(-50%, -50%) translateX(-800px) translateZ(-320px) rotateY(40deg);
    z-index: 4;
    opacity: 0.6;
}

/* Works Features */
.works-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    text-align: center;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--forest);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    color: var(--forest);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--aloe);
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sand);
    box-shadow: 0 0 0 3px rgba(192, 174, 148, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        right: 1rem;
    }

    .hero-footer {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        position: static;
        margin-top: 2rem;
    }
}
