/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #E85D4A;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #d14a37;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: #E85D4A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.25rem;
    transition: background 0.3s;
}

.logo-circle:hover {
    background: #d14a37;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #333;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #E85D4A;
}

.nav-btn {
    background: #000;
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    padding: 150px 1.5rem 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.divider {
    width: 96px;
    height: 4px;
    background: #000;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
}

.hero-text p {
    margin-bottom: 1rem;
}

.hero-text .highlight {
    font-weight: 500;
}

.hero-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Brands Section */
.brands {
    background: #000;
    color: #fff;
    padding: 4rem 1.5rem;
}

.brands-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.brand-item img {
    width: 180px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.brand-item img:hover {
    opacity: 1;
}

/* Portfolio Sections */
.portfolio-section {
    padding: 2rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Carousel */
.carousel {
    margin-bottom: 4rem;
}

.carousel-main {
    position: relative;
    aspect-ratio: 16/10;
    background: #f5f5f5;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-main:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: #f5f5f5;
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.carousel-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    max-width: 75%;
    margin: 0 auto;
}

.thumbnail {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #999;
}

.thumbnail.active {
    border: 4px solid #000;
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    background: #f9f9f9;
    color: #000;
    padding: 5rem 1.5rem;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.cta p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    background: #000;
    color: #fff !important;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #333;
}

.cta-btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 1.5rem;
}

.footer-content {
    text-align: center;
}

.footer h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #fff;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #E85D4A;
}

.footer-text {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.footer-email {
    color: #999;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-email:hover {
    color: #fff;
}

/* About Page */
.about-hero {
    padding-bottom: 3rem;
}

.about-content {
    padding: 3rem 1.5rem 5rem;
    background: #f9f9f9;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}


.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-follow {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.about-follow p {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #E85D4A;
    font-weight: 500;
}

/* Series Pages */
.series-hero {
    padding: 150px 1.5rem 80px;
    text-align: center;
}

.series-hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.series-description {
    font-size: 1.25rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

.videos-section {
    padding: 4rem 1.5rem;
    background: #f9f9f9;
}

.videos-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.video-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.video-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.video-card p {
    color: #666;
    font-size: 0.875rem;
}

.series-cta {
    padding: 5rem 1.5rem;
    text-align: center;
}

.series-cta h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.series-cta > p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

    .nav-menu {
        position: fixed;
        top: 77px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
    }

    .nav-link,
    .nav-btn {
        text-align: center;
        padding: 0.75rem;
    }

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

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

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cta h2 {
        font-size: 2.5rem;
    }

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

    .carousel-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .brands-grid {
        gap: 2rem;
    }

    .brand-item img {
        width: 120px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 120px;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .footer h3 {
        font-size: 2rem;
    }

    .carousel-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
    }
}


/* Ensure carousel buttons remain functional */
.carousel-btn {
    pointer-events: auto !important; /* Force buttons to be clickable */
    z-index: 20 !important; /* Ensure buttons are above protection layers */
}

/* Image protection - only target the images themselves */
.carousel-image {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Thumbnail protection but keep container clickable */
.thumbnail {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.thumbnail-wrapper {
    pointer-events: auto; /* Wrapper handles clicks */
    cursor: pointer;
    position: relative;
}

/* Watermark styles */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.carousel-main:hover .watermark {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 968px) {
    .watermark {
        font-size: 2rem;
    }
    
    .carousel-main, .carousel-image, .thumbnail {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

@media (max-width: 640px) {
    .watermark {
        font-size: 1.5rem;
    }
}