html, body {
    overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #F1F0EE;
    color: #181f1c;
}

p,
li {
    letter-spacing: 0.02em;
}

#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content a {
    text-decoration: none;
    color: inherit;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Urbanist', sans-serif;
    font-size: 10vw;
    color: #E53935; /* A vibrant red */
    text-transform: lowercase;
    letter-spacing: -0.05em;
    text-align: center;
    white-space: nowrap;
}

.hero-content h1 span {
    display: inline-block;
    transition: transform 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.hero-content h1 span:hover {
    transform: translateY(-20px);
    text-shadow: 0 0 15px rgba(229, 57, 53, 1), 0 0 35px rgba(229, 57, 53, 0.8);
}

/* Hero Logo Styles */
.hero-logo {
    max-width: 60vw;
    height: auto;
    cursor: pointer;
    transition: transform 0.15s ease-out, filter 0.2s ease-out;
    transform-style: preserve-3d;
    will-change: transform, filter;
    filter: drop-shadow(0 0 0px rgba(229, 57, 53, 0)) brightness(1);
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 80vw;
        /* Disable 3D effects on mobile */
        transform: none !important;
        filter: none !important;
    }
}

#projects {
    padding: 5vh 5vw;
    position: relative;
    min-height: 200vh;
}

.project-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Adjust as needed */
}

.project-item {
    position: absolute;
    width: 20vw;
    max-width: 280px;
    aspect-ratio: 9 / 16;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transform: translateY(var(--translate-y, 0px)) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
}

.project-item:hover {
    --scale: 1.1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 10;
}

.project-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to bottom, rgba(24, 31, 28, 0.7) 0%, rgba(24, 31, 28, 0) 100%);
    color: #F1F0EE;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    margin: 0 0 4px 0;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.project-overlay p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Rotations for project items */
.item1 { top: 10%; left: 40%; --rotate: -5deg; }
.item2 { top: 25%; left: 75%; --rotate: 8deg; }
.item3 { top: 20%; left: 8%; --rotate: 3deg; }
.item4 { top: 65%; left: 30%; --rotate: -10deg; }
.item5 { top: 85%; left: 70%; --rotate: -5deg; }
.item6 { top: 100%; left: 10%; --rotate: -8deg; }
.item7 { top: 120%; left: 45%; --rotate: 10deg; }
.item8 { top: 140%; left: 75%; --rotate: 3deg; }
.item9 { top: 160%; left: 20%; --rotate: 6deg; }
.item10 { top: 190%; left: 50%; --rotate: -5deg; }

nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 35px;
    background: rgba(70, 70, 70, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.15), 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    white-space: nowrap;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 25px;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}



/* Services Section */
#services {
    padding: 10vh 5vw;
    background-color: #F7F994;
    color: #EF3329;
    overflow: hidden;
}

.service-item {
    position: relative;
    border-bottom: 1px solid rgba(241, 240, 238, 0.2);
    cursor: pointer;
    transition: margin-bottom 0.5s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    position: absolute;
    top: 4.5vh;
    left: 0;
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #C5A481;
}

.service-item h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 5.5vw, 7vw);
    font-weight: normal;
    margin: 0;
    padding: 4vh 2vw 4vh 3rem;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    max-width: 100%;
}

/* Specific override for the "Video Content Marketing" heading */
.service-item h2.tourism-days {
    font-family: 'Tourism Days', 'Times New Roman', Times, serif;
}

/* Load local Tourism Days TTF provided at project root */
@font-face {
    font-family: 'Tourism Days';
    /* Prefer organized path, keep root fallback until file is moved */
    src: url('fonts/TourismDays.ttf') format('truetype'),
         url('Tourism Days.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.service-item h2::after {
    content: '+';
    font-size: clamp(1.5rem, 3vw, 3.5vw);
    font-family: 'Urbanist', sans-serif;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    margin-left: 1.5vw;
    flex-shrink: 0;
}

.service-item.active h2 {
    color: #C5A481;
}

.service-item.active h2::after {
    transform: rotate(45deg);
}

.service-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.service-content {
    padding: 2vh 0 6vh 0;
    color: #181f1c;
}

/* Studio Coming Soon Section */
.studio-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}

.studio-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-btn {
    background-color: #181f1c;
    color: #F1F0EE;
    padding: 1.2rem 3rem;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.contact-btn:hover {
    background-color: #C5A481;
    color: #181f1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 164, 129, 0.4);
}



.plans-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.plan-card {
    background-color: #181f1c;
    color: #F1F0EE;
    padding: 2rem;
    border-radius: 10px;
    width: calc(33.333% - 2rem);
    box-sizing: border-box;
    border: 1px solid rgba(241, 240, 238, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 769px) {
    .plan-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 20px rgba(197, 164, 129, 0.3);
    }
}

.plan-card.standard-highlight {
    border: 2px solid #C5A481;
    box-shadow: 0 0 20px rgba(197, 164, 129, 0.5);
}

.plan-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    color: #F1F0EE;
    font-size: 1.5rem;
    margin-top: 0;
}

.price-videos {
    font-size: 3rem;
    font-weight: 700;
    color: #F1F0EE;
}

.subtitle {
    font-size: 1.1rem;
    margin-top: -5px;
    margin-bottom: 1rem;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.plan-card ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 20px;
}

.plan-card ul li::before {
    content: '•';
    color: #F1F0EE;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-top: auto;
}

.per-month {
    font-size: 1rem;
    font-weight: normal;
}

.contract {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.tiktok-addon {
    align-items: center;
}

.plus-symbol {
    font-size: 3rem;
    color: #FFFDE7;
    font-weight: 700;
}

.service-item.active .service-drawer {
    overflow-y: auto;
}

/* Bento Grid Layout for Creative Solutions */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background-color: #181f1c;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Tourism Days', 'Times New Roman', Times, serif;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: #F1F0EE;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(241, 240, 238, 0.1);
    min-height: 120px;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background-color: #2a332f;
}

/* Bento size variations */
.bento-large {
    grid-column: span 2;
    min-height: 160px;
}

.bento-medium {
    grid-column: span 1;
}

.bento-small {
    grid-column: span 1;
}

/* Responsive bento grid for mobile */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .bento-item {
        font-size: clamp(1.2rem, 5vw, 2.0rem);
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    .bento-large {
        grid-column: span 2;
        min-height: 120px;
    }
    
    .bento-medium {
        grid-column: span 1;
    }
    
    .bento-small {
        grid-column: span 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-item h2 {
        font-size: clamp(2rem, 7vw, 9vw);
        padding: 4vh 3vw 4vh 2.5rem;
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.2;
    }

    .service-item h2::after {
        font-size: clamp(1.5rem, 6vw, 7vw);
        margin-left: 2vw;
    }

    .service-number {
        font-size: 0.85rem;
        left: 0.5rem;
        top: 3vh;
    }

    .plans-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .plan-card {
        width: 100%;
        max-width: 400px; /* Increased max-width slightly for larger phones */
        box-sizing: border-box;
    }

    .studio-image {
        max-width: 100%;
        border-radius: 10px;
    }

    .contact-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Contact Section */
#contact {
    padding: 15vh 5vw 1vh;
    background-color: #181f1c;
    color: #F1F0EE;
}

.contact-container {
    display: flex;
    align-items: center;
    gap: 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 5vw;
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 40ch;
}

.contact-info .email-link {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #C5A481;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .email-link:hover {
    color: #F1F0EE;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid rgba(241, 240, 238, 0.2);
    border-radius: 5px;
    color: #F1F0EE;
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C5A481;
}

.contact-form .btn {
    background-color: #C5A481;
    color: #181f1c;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #F1F0EE;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-info,
    .contact-form {
        flex-basis: 100%;
        width: 100%;
    }

    .contact-info h1 {
        font-size: 10vw;
    }
}

#clients {
    padding: 10vh 0;
    background-color: #F1F0EE;
}

.scroller {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.scroller__inner {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.scroller__inner img {
    height: 80px;
    margin: 0 40px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.scroller__inner:hover img {
    filter: grayscale(0);
}

.scroller__inner:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    to {
        transform: translateX(calc(-50%));
    }
}

#numbers-section {
    display: flex;
    justify-content: space-around;
    padding: 10vh 5vw 5vh;
    background-color: #F1F0EE;
}

.number-item {
    text-align: center;
    flex-basis: 22%;

    border-bottom: 1px solid rgba(24, 31, 28, 0.1);
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #181f1c;
    line-height: 1.5;
}

.number {
    font-family: 'Urbanist', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: #E53935;
    line-height: 1;
}

.label {
    font-family: 'Tourism Days', sans-serif;
    font-size: 1.5rem;
    color: #181f1c;
    margin-top: 1.5rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 14vw; /* Reduced from 15vw */
        word-wrap: break-word;
    }

    .scroller__inner img {
        height: 60px; /* Smaller logos on mobile */
        margin: 0 10px; /* Reduced gap on mobile */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 11.5vw; /* Further reduced for very small screens */
        word-wrap: break-word;
    }

    .project-item {
        width: 40vw;
    }



    nav {
        width: 80%;
        padding: 10px 15px;
        top: 20px;
        bottom: auto;
    }

    nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    #numbers-section {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Mobile Navigation Styles */
/* Mobile Navigation Styles */
.menu-toggle {
    display: none; /* Hidden by default, shown in mobile media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
    /* --- Projects Section --- */
    #projects {
        min-height: auto; /* Reset height */
        padding: 10vh 5vw;
    }

    .project-container {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5vh; /* Space between items */
    }

    .project-item {
        position: static;
        width: 80vw;
        max-width: 350px;
        transform: translateY(0) rotate(var(--rotate, 0deg)) scale(1) !important; /* Override JS parallax and keep rotation */
    }

    .project-item video {
        pointer-events: none; /* Disable tap-to-play/pause */
    }

    /* --- Mobile Nav --- */

    /* Base Nav Styling (Circle) */
    nav {
        top: 20px;
        right: 20px;
        left: auto;
        bottom: auto;
        transform: none;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    /* Expanded Nav Styling */
    nav.open {
        width: 90%;
        max-width: 320px;
        height: auto;
        border-radius: 20px;
        padding: 20px;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
    }

    /* Hamburger Button */
    .menu-toggle {
        display: block; /* Ensures it's visible */
        position: absolute;
        z-index: 1002;
        /* Centered in the circle by default */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    /* Hamburger position when menu is open */
    nav.open .menu-toggle {
        top: 20px;
        right: 20px;
        left: auto;
        transform: none;
    }

    /* Nav Links */
    .nav-links {
        display: none; /* Hidden by default */
        opacity: 0;
        margin-top: 60px; /* Push links down below the close button */
        flex-direction: column;
        align-items: center;
        width: 100%;
        transition: opacity 0.3s ease 0.2s;
    }

    nav.open .nav-links {
        display: flex;
        opacity: 1;
    }

    nav a {
        margin: 15px 0;
        text-align: center;
    }

    /* Hamburger animation */
    nav.open .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    nav.open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    nav.open .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    #footer {
        flex-direction: column-reverse;
        align-items: center; /* Horizontally centers child items */
        gap: 2rem;
        padding: 4rem 2rem 2rem;
    }

    .social-icons {
        justify-content: center; /* Horizontally centers the icons inside this container */
        width: 100%; /* Make container full-width to allow centering */
        padding-bottom: 0 !important; /* Remove bottom padding as gap is used */
    }
}

/* Footer Section */
#footer {
    padding: 4rem 5rem 0;
    background-color: #181f1c;
    display: flex;
    justify-content: space-between; /* Pushes items to opposite ends */
    align-items: flex-end;   /* Aligns content to the bottom */
}

.footer-logo {
    max-width: 300px;
    height: auto;
}

.social-icons {
    display: flex;
    align-items: center; /* Vertically center icons with logo */
    gap: 1.5rem;
    padding-bottom: 2.5rem; /* Add space below icons */
}

.social-icons a {
    color: #F1F0EE;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #C5A481;
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex !important; /* Ensure links are visible */
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
    }

    .menu-toggle {
        display: none; /* Hide hamburger on desktop */
    }
}
