:root {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --accent-color: #ce0000;
    /* Red from the reference */
    --font-heading: 'Antic Didone', serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --spacing-section: 120px;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 30px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    /* Ensure vertical alignment */
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switch {
    position: relative;
    /* margin-left: 20px; Removed to use gap consistently */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.lang-switch:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.current-lang {
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a1a1a;
    /* Solid dark background */
    min-width: 120px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 8px;
    flex-direction: column;
    padding: 5px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.lang-switch.active .dropdown-content {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Updated selector to target links inside both current and dropdown */
.lang-switch a {
    color: var(--text-color);
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    font-size: 0.9rem;
}

/* Override for the trigger link */
.lang-switch .current-lang {
    padding: 0;
    color: #fff;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.dropdown-content a.active {
    font-weight: bold;
    color: var(--accent-color);
}

/* Remove old separator styles */

.nav-links li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 10vw;
    /* Reduced from 12vw to fit longer name */
    line-height: 0.8;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    /* Using sans-serif for the big bold text */
    font-weight: 900;
    letter-spacing: -5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    mix-blend-mode: exclusion;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-left: 10px;
    color: #888;
}

.red-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-20%, -20%);
    width: 400px;
    height: 400px;
    background-color: var(--accent-color);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.8;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    /* Increased width for better positioning */
    object-fit: cover;
    object-position: center top;
    opacity: 0.8;
    /* Increased opacity */
    z-index: 0;
    filter: grayscale(100%) contrast(1.1);
    /* Make it B&W to fit theme */
    mask-image: linear-gradient(to left, black 30%, transparent 100%),
        linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%),
        linear-gradient(to bottom, black 80%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

/* About Section */
.about {
    padding: var(--spacing-section) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 4rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
    max-width: 500px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}

.est {
    position: absolute;
    right: -20px;
    top: 20px;
    writing-mode: vertical-rl;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Works Section */
.works {
    padding: var(--spacing-section) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    text-transform: uppercase;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    gap: 20px;
}

.work-item {
    position: relative;
    overflow: hidden;
    background: #2a2a2a;
}

.work-item:nth-child(1) {
    grid-column: span 2;
}

.work-item:nth-child(4) {
    grid-row: span 2;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

/* Services Enhanced */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to top due to desc */
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
    transition: border-color 0.3s ease;
}

.service-info h3 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-desc {
    color: #888;
    max-width: 400px;
    font-size: 0.95rem;
}

/* Exhibitions */
.exhibitions {
    padding: var(--spacing-section) 0;
    background-color: #151515;
    /* Slightly darker background */
}

.exhibition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.exhibition-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.exhibition-text p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.8;
}

.exhibition-date {
    color: var(--accent-color) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exhibition-image img {
    width: 100%;
    transition: transform 0.6s ease;
}

.exhibition-image:hover img {
    transform: scale(1.02);
}

/* Contact / Footer Enhanced */
.contact {
    padding: var(--spacing-section) 0;
    text-align: left;
    /* Reset text align */
}

.contact h2 {
    font-size: 6vw;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 60px;
    text-align: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.contact-form {
    max-width: 100%;
    /* Take full avail width of grid col */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #666;
}

.contact-info p {
    margin-bottom: 40px;
    line-height: 1.8;
}

.social-links {
    margin-bottom: 40px;
}

.social-links li {
    margin-bottom: 10px;
}

.social-links a {
    font-size: 1.1rem;
    border-bottom: 1px solid transparent;
}

.social-links a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.btn-download {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-download:hover {
    background: white;
    color: black;
}

/* Mobile adjustments for new sections */
@media (max-width: 768px) {

    .exhibition-content,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact h2 {
        font-size: 15vw;
    }
}

footer {
    padding: 40px 0;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 18vw;
    }

    .hero-image {
        width: 100%;
        opacity: 0.3;
    }

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

    .work-item:nth-child(1) {
        grid-column: auto;
    }
}

/* Advanced Animations */

/* Hero Title Typing Effect */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-line {
    display: block;
    white-space: nowrap;
}

.hero-line span {
    opacity: 0;
    display: inline-block;
    filter: blur(20px);
    /* Increased blur */
    transform: scale(2.0) translateY(50px) translateZ(0);
    /* More dramatic scale and movement */
    animation: blurReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    /* Smoother ease-out */
}

@keyframes blurReveal {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: scale(2.0) translateY(50px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1) translateY(0);
    }
}

/* Red Circle Animation */
.red-circle {
    transform: translate(-20%, -20%) scale(0);
    animation:
        circlePop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards,
        floatRed 6s ease-in-out infinite 1.7s;
}

@keyframes circlePop {
    0% {
        transform: translate(-20%, -20%) scale(0);
    }

    70% {
        transform: translate(-20%, -20%) scale(1.1);
    }

    100% {
        transform: translate(-20%, -20%) scale(1);
    }
}

@keyframes floatRed {

    0%,
    100% {
        transform: translate(-20%, -20%) scale(1);
    }

    50% {
        transform: translate(-22%, -25%) scale(1.05);
    }
}

/* Hero Image Animation */
.hero-image {
    opacity: 0;
    transform: scale(1.1) translateX(20px);
    animation: imageFadeIn 1.5s ease-out 0.2s forwards;
}

@keyframes imageFadeIn {
    to {
        opacity: 0.8;
        transform: scale(1) translateX(0);
    }
}

/* Subtitle Animation */
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out 1.5s forwards;
}

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

/* Featured Works Section */
.featured {
    padding: var(--spacing-section) 0;
    overflow: hidden;
    /* Hide scrollbar from main page, slider handles its own */
}

.featured-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 40px;
    /* Space for scrollbar or aesthetic */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.featured-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.featured-card {
    flex: 0 0 300px;
    /* Width of card */
    aspect-ratio: 2 / 3;
    /* Vertical rectangular ratio */
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-10px);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card img.fit-contain {
    object-fit: contain;
    background: #000;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.featured-year {
    color: var(--accent-color);
    font-weight: 700;
}

.featured-title {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    line-height: 1.1;
    text-transform: uppercase;
}

.featured-role {
    font-size: 0.9rem;
    font-style: italic;
    color: #ccc;
    margin-top: 5px;
}

/* Slider Controls (Custom scrollbar visual if needed, currently hidden native scroll) */
.slider-controls {
    display: none;
    /* Simple implementation first */
}

/* Mobile responsiveness for slider */
@media (max-width: 768px) {
    .featured-card {
        flex: 0 0 260px;
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.scroll-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.scroll-progress {
    height: 100%;
    width: 0%;
    /* Will be updated by JS */
    background: var(--accent-color);
    transition: width 0.1s linear;
}

/* Vertical Timeline Section */
.timeline-section {
    padding: 100px 20px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* The Vertical Line - Centered */
.timeline-line-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 0;
    /* Will be updated by JS */
    width: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
    transition: height 0.1s linear;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
}

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

/* Alternating Sides */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    align-self: flex-start;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    align-self: flex-end;
}

/* The Dot */
.timeline-dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

/* Dot Positioning */
.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
    /* Center on line */
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
    /* Center on line */
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(206, 0, 0, 0.1);
    background-color: white;
}

/* Content Styling */
.timeline-year {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    line-height: 1.2;
}

.timeline-role {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .timeline-line-bg,
    .timeline-line-progress {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
        margin-bottom: 40px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 23px;
        /* Line at 30px + 1px center - 8px radius = 23px */
        right: auto;
    }

    .timeline-title {
        font-size: 1.5rem;
    }
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 5;
}

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

.about-bio {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
}

.highlight-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.highlight-item h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.about-closing {
    font-size: 1.2rem;
    font-style: italic;
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 20px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Minimal radius */
    aspect-ratio: 2 / 3;
    /* Matches vertical card style */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Mobile Gallery Optimization */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns */
        gap: 10px;
        /* Smaller gap for mobile */
    }
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: block;
    text-align: center;
}

/* Showreel Section */
#showreel {
    background-color: #0a0a0a;
    /* Slightly lighter/darker than main bg for contrast */
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

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

.submit-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.form-response {
    margin-top: 20px;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.form-response.success-message,
.form-response.error-message {
    opacity: 1;
    transform: translateY(0);
}

.form-response.success-message {
    color: #28a745;
}

.form-response.error-message {
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    background-color: #050505;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.social-link[aria-label="WhatsApp"] {
    color: #25D366;
    /* Official WhatsApp green */
    font-size: 3rem;
    /* Increase the size of the icon */
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.social-link[aria-label="WhatsApp"]:hover {
    color: #128C7E;
    /* Even darker green on hover */
    transform: translateY(-3px) scale(1.1);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    /* Official WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideInWhatsApp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateY(50px) scale(0.5);
}

@keyframes slideInWhatsApp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-5px) scale(1.1);
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: white;
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* Scroll Entry Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animations for About Section */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.3s;
}

.stagger-3 {
    transition-delay: 0.5s;
}

/* Highlight Items Staggering */
.highlight-grid.animate-on-scroll.is-visible .highlight-item {
    opacity: 1;
    transform: translateY(0);
}

.highlight-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.highlight-grid.is-visible .highlight-item:nth-child(1) {
    transition-delay: 0.5s;
}

.highlight-grid.is-visible .highlight-item:nth-child(2) {
    transition-delay: 0.7s;
}

.highlight-grid.is-visible .highlight-item:nth-child(3) {
    transition-delay: 0.9s;
}

/* Special effect for Section Title in About */
#about .section-title.animate-on-scroll {
    transform: translateX(-50px);
    filter: blur(5px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

#about .section-title.animate-on-scroll.is-visible {
    transform: translateX(0);
    filter: blur(0);
}

/* Featured Works Staggering */
.featured-card.animate-on-scroll {
    opacity: 0;
    transform: translateX(30px);
    /* Slide in from right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.featured-card.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger up to 5 cards initially visible */
.featured-card.animate-on-scroll.is-visible:nth-child(1) {
    transition-delay: 0.1s;
}

.featured-card.animate-on-scroll.is-visible:nth-child(2) {
    transition-delay: 0.2s;
}

.featured-card.animate-on-scroll.is-visible:nth-child(3) {
    transition-delay: 0.3s;
}

.featured-card.animate-on-scroll.is-visible:nth-child(4) {
    transition-delay: 0.4s;
}

.featured-card.animate-on-scroll.is-visible:nth-child(5) {
    transition-delay: 0.5s;
}

/* Special effect for Section Title in Featured */
#featured .section-header.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

#featured .section-header.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slider-controls.animate-on-scroll {
    opacity: 0;
    transition: opacity 1s ease-out;
    transition-delay: 1s;
    /* Appear last */
}

.slider-controls.animate-on-scroll.is-visible {
    opacity: 1;
}

/* Timeline Scroll Animation */
.timeline-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Staggering */
.gallery-item.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-item.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.animate-on-scroll.is-visible:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(4) {
    transition-delay: 0.4s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(5) {
    transition-delay: 0.5s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(6) {
    transition-delay: 0.6s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(7) {
    transition-delay: 0.7s;
}

.gallery-item.animate-on-scroll.is-visible:nth-child(8) {
    transition-delay: 0.8s;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        /* Full width */
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 1000;
        padding-top: 120px;
        /* Space for close button/header */
        gap: 40px;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    /* Animate Links In */
    .nav-links.active li {
        opacity: 1;
        transition: opacity 0.5s ease 0.3s;
    }

    /* Hamburger Animation to X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}