/* Variables */
:root {
    --color-primary: #FFFFFF;
    --color-secondary: #d2c3f6;
    --color-accent: #36255c;
    --color-dark: #121212;
    --color-light-gray: #F5F5F7;
    --color-text: #333333;

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: var(--transition);
}

.header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.sticky * {
    color: var(--color-dark);
}

.header.sticky .logo-accent {
    color: var(--color-accent);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--color-accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.header.sticky .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header.sticky .lang-btn {
    color: var(--color-text);
}

.lang-btn .arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-primary);
    min-width: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 15px;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.lang-option:hover {
    background-color: var(--color-light-gray);
    color: var(--color-secondary);
}

.lang-option.active {
    color: var(--color-accent);
    font-weight: 700;
}

/* Burger Menu */
.burger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.header.sticky .burger-menu span {
    background-color: var(--color-text);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--color-primary);
    font-size: 1.2rem;
    display: inline-flex;
}

.header.sticky .social-icons a {
    color: var(--color-text);
}

.social-icons a:hover {
    color: var(--color-secondary) !important;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-primary);
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

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

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
    animation: fadeIn 1.5s ease;
}

.hero-title {
    font-size: 60px;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
    cursor: pointer;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}



/* Portfolio Section */
.portfolio-section {
    padding: 100px 5%;
    background-color: var(--color-primary);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.video-format-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.format-btn {
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    border: 2px solid var(--color-accent);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.format-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 37, 92, 0.15);
}

.format-btn.active {
    background-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(54, 37, 92, 0.2);
}

/* Video Cards Layout */
.video-cards-container {
    display: flex;
    gap: 0;
    width: 100%;
    margin-bottom: 50px;
    height: 400px;
}

.video-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.video-cards-container .video-card:first-child {
    border-radius: 12px 0 0 12px;
}

.video-cards-container .video-card:last-child {
    border-radius: 0 12px 12px 0;
}

.video-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: background-color 0.4s ease;
}

.video-card-btn {
    position: relative;
    z-index: 3;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    border: 3px solid #000;
    border-radius: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s ease;
}

.video-card:hover .video-card-bg {
    transform: scale(1.05);
}

.video-card:hover .video-card-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.video-card:hover .video-card-btn {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .video-cards-container {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .video-card {
        height: 300px;
        border-radius: 12px !important;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: var(--color-light-gray);
    aspect-ratio: 4/3;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(54, 37, 92, 0.95), rgba(54, 37, 92, 0.5));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

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

.portfolio-overlay h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: 0.1s;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-overlay p::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay p::after {
    transform: translateX(5px);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Contact Page specific */
.page-header {
    height: 40vh;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.header-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.page-title {
    color: var(--color-primary);
    font-size: 3.5rem;
    text-align: center;
    z-index: 1;
    animation: fadeIn 1.2s ease-out;
}

.contact-section {
    padding: 100px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark);
}

.form-control {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-light-gray);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(210, 195, 246, 0.4);
    background-color: var(--color-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 180px;
}

.btn-submit {
    padding: 16px 35px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--color-secondary);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(54, 37, 92, 0.2);
}

.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-status.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Footer */
.footer {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 80px 5% 40px;
    text-align: center;
}

.footer-logo {
    font-size: 2.2rem;
    margin-bottom: 25px;
    display: inline-block;
}

.footer .logo-accent {
    color: var(--color-secondary);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-nav a {
    color: var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Design Grid */
.design-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (min-width: 768px) and (max-width: 1024px) {
    .design-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .design-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 767px) {
    .design-grid {
        grid-template-columns: 1fr;
    }
}

/* Photo Gallery Masonry Grid */
#photo .portfolio-grid {
    display: block;
    column-count: 3;
    column-gap: 30px;
}

#photo .portfolio-item {
    aspect-ratio: auto;
    break-inside: avoid;
    margin-bottom: 30px;
    display: block;
    width: 100%;
    position: relative;
    cursor: default;
}

#photo .portfolio-item:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

#photo .portfolio-item:hover .portfolio-image {
    transform: none;
}

#photo .portfolio-image {
    height: auto;
    object-fit: contain;
    width: 100%;
    display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
    #photo .portfolio-grid {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    #photo .portfolio-grid {
        column-count: 1;
    }
}

/* Infinite Scrolling Banner */
.scrolling-banner {
    background-color: var(--color-accent);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 10px;
}

.scrolling-banner-content {
    display: flex;
    width: max-content;
    animation: scroll-left 25s linear infinite;
}

.banner-group {
    display: flex;
    align-items: center;
}

.banner-text {
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    padding-right: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.banner-text .star {
    font-size: 2rem;
    display: inline-block;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Project Modal Animations and Styling */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    padding: 20px;
}

.project-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 95vh;
    background-color: var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2001;
    display: flex;
    flex-direction: column;
}

.project-modal.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--color-light-gray);
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--color-secondary);
    color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 30px;
    transition: var(--transition);
    align-self: flex-start;
}

.modal-back:hover {
    color: var(--color-secondary);
}

.modal-back .back-arrow {
    transition: transform 0.3s;
    font-size: 1.2rem;
}

.modal-back:hover .back-arrow {
    transform: translateX(-5px);
}

.modal-body {
    padding: 0 30px 50px;
}

@media (min-width: 768px) {
    .modal-body {
        padding: 0 50px 60px;
    }
}

.modal-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    color: var(--color-dark);
    line-height: 1.1;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 900px) {
    .modal-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
        gap: 60px;
    }
}

.modal-main-image-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-group h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 15px;
}

.info-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.info-group p {
    color: var(--color-text);
    line-height: 1.8;
}

.modal-additional-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.modal-additional-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.modal-additional-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

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

    .nav-link {
        color: var(--color-dark);
        font-size: 1.5rem;
    }

    .nav-link::after {
        display: none;
    }

    .header.sticky .burger-menu span {
        background-color: var(--color-dark);
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--color-dark);
    }

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

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--color-dark);
    }

    .social-icons a {
        color: var(--color-dark);
    }

    .header-controls {
        z-index: 1002;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
}

/* =========================================================================
   New Contact Page Layout
   ========================================================================= */

.new-contact-page-wrapper {
    padding: 150px 5% 100px; /* high top padding to clear sticky header */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.contact-banner-container {
    position: relative;
    width: 100%;
}

.contact-banner {
    position: relative;
    background-color: var(--color-secondary);
    width: 100%;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1; /* Keep above ball shadow */
}

.contact-banner-title {
    color: var(--color-accent);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Animated Ball around the banner */
.animated-ball {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(54, 37, 92, 0.4);
    z-index: 5;
    
    margin-top: -12.5px;
    margin-left: -12.5px;
    
    animation: ballAround 10s linear infinite;
}

@keyframes ballAround {
    0%   { top: 0;    left: 0; }
    40%  { top: 0;    left: 100%; }
    50%  { top: 100%; left: 100%; }
    90%  { top: 100%; left: 0; }
    100% { top: 0;    left: 0; }
}

@media (max-width: 600px) {
    .animated-ball {
        width: 18px;
        height: 18px;
        margin-top: -9px;
        margin-left: -9px;
        box-shadow: 0 4px 10px rgba(54, 37, 92, 0.4);
    }
}

/* Contact Info Display */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    text-align: center;
}

.contact-item-content {
    position: relative;
    display: inline-block;
    text-align: center;
}

.deco-arrow {
    position: absolute;
    width: 70px;
    top: 75%;
    opacity: 0;
    pointer-events: none;
}

.arrow-left {
    transform: translateY(-50%) scaleY(-1);
    animation: arrowFadeInLeft 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.3s;
}

.arrow-right {
    transform: translateY(-50%) scaleX(-1);
    margin-top: -35px;
    animation: arrowFadeInRight 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes arrowFadeInLeft {
    0% { opacity: 0; right: calc(100% + 50px); }
    100% { opacity: 1; right: calc(100% + 20px); }
}

@keyframes arrowFadeInRight {
    0% { opacity: 0; left: calc(100% + 50px); }
    100% { opacity: 1; left: calc(100% + 20px); }
}

@media (max-width: 768px) {
    .deco-arrow {
        display: none;
    }
}

.contact-info-item h3 {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    transition: var(--transition);
}

.contact-link:hover::after {
    width: 100%;
}

.contact-page-socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.contact-page-socials a {
    color: var(--color-dark);
    transition: var(--transition);
}

.contact-page-socials a:hover {
    color: var(--color-secondary) !important;
    transform: translateY(-4px) scale(1.1);
}

.contact-page-socials svg {
    width: 28px;
    height: 28px;
}

/* Horizontal Video Layout */
.horizontal-video-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 60px;
}

.horizontal-video-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.horizontal-video-item.reverse {
    flex-direction: row-reverse;
}

.video-container {
    flex: 0 0 68%;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.video-info h3 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 700;
}

.video-info > p {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 30px;
}

.video-credits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.credit-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.credit-item h4 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin: 0;
    font-family: var(--font-primary);
}

.credit-item span {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .horizontal-video-item,
    .horizontal-video-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .video-container {
        width: 100%;
        flex: none;
    }
    
    .video-info {
        text-align: left;
        width: 100%;
    }
}

/* Photo Lightbox */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.photo-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 2001;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.photo-lightbox.open .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -50px;
        right: 0;
    }
    
    .lightbox-image {
        max-height: 80vh;
    }
}