/* Core Styling & Variables */
:root {
    --bg-color: #0A0A0A;
    --text-color: #f2f2f2;
    --text-muted: #a0a0a0;
    --accent-color: #f2f2f2;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section 1: Header */

.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease, padding 0.3s ease;
    border-radius: 0 0 16px 16px;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 4rem;
    border-bottom: 1px solid var(--glass-border);
}

.header-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.logo-img {
    height: 150px;
    width: auto;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.8rem;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.nav-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--glass-bg);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-btn-contact {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
}

.nav-btn-contact:hover {
    background: #cc0000;
    border-color: #cc0000;
    transform: translateY(-2px);
}

/* Section 2: Video Hero */
.hero-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 250px; /* Space for fixed header */
    padding-bottom: 4rem;
}

.video-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

#main-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    opacity: 1; /* Full brightness since no text over it */
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    flex-grow: 1;
}

.hero-title {
    font-size: 5vw;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Section 3: Benefits */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.stat-card {
    padding: 4rem 3rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.plus {
    color: var(--text-muted);
    font-size: 3rem;
    margin-left: 5px;
}

.stat-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Section 4: Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

.item-overlay span {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Section 5: Partners */


/* Custom looks for specific logos for dynamic aesthetic */


/* Section 6: Contact */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.contact-description {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 2.5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1.1rem;
    padding: 10px 0;
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: var(--text-color);
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.submit-btn {
    align-self: flex-start;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}


/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition);
}

.footer-contact-item i {
    font-size: 1.2rem;
    color: #ff3333;
}

.footer-contact-item:hover {
    color: #ffffff;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 1s ease forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

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

/* Section: Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.team-photo {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.team-info {
    padding: 1.5rem 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.team-role {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
}

.team-photo-placeholder i {
    font-size: 5rem;
    color: var(--text-muted);
}

/* Section: Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

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

/* Section: About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-paragraph {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* Section: What We Do */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.wwd-card {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.wwd-card:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.wwd-icon {
    font-size: 2.5rem;
    color: #ff3333;
    transition: var(--transition);
}

.wwd-card:hover .wwd-icon {
    transform: scale(1.15);
}

.wwd-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Section: How We Work */
.how-we-work-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.how-we-work-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section: Why StudioMax */
.why-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* Behind the Magic new layout */
#gallery .gallery-item {
    aspect-ratio: 16/9;
    width: 100%;
}

/* Portfolio Buttons */
.portfolio-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition);
    text-align: center;
}

.portfolio-btn:hover {
    transform: translateY(-10px);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.portfolio-btn i {
    font-size: 3rem;
    color: #ff3333;
}

.portfolio-btn span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.portfolio-btn p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Burger Menu */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.mobile-nav-btn:hover {
    color: var(--text-muted);
}

.mobile-nav-contact {
    margin-top: 1.5rem;
    background: #ff0000;
    color: #ffffff !important;
    text-align: center;
    border-radius: 30px;
    border-bottom: none;
    padding: 1rem 2rem;
    width: 90%;
    align-self: center;
}

.mobile-nav-contact:hover {
    background: #cc0000;
}

/* Privacy Policy Page */
.privacy-section {
    padding: 10rem 0 6rem;
}

.privacy-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.privacy-block {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.privacy-block h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.privacy-block p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

.privacy-block a {
    color: #ff3333;
    text-decoration: none;
}

.privacy-block a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-block;
    margin-top: 2rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1.25rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 999;
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cookie-text a {
    color: #ff3333;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-decline {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-decline:hover {
    background: var(--glass-hover);
}

.cookie-accept {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: none;
    background: #ff0000;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: #cc0000;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.portfolio-item-new {
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    height: 280px;
    width: 280px;
}

.portfolio-item-new:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.portfolio-item-new img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Portfolio vertical grid */
.portfolio-grid-vertical {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.portfolio-item-new {
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item-new:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.portfolio-item-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom red page scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #ff0000 rgba(255, 255, 255, 0.05);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ff0000;
    background: rgba(10, 10, 10, 0.9);
    color: #ff0000;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #ff0000;
    color: #ffffff;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        width: 95%;
    }

    .header-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo-img {
        height: 90px;
    }

    .nav-menu {
        display: none;
    }

    .burger-btn {
        display: flex;
    }
        .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .cookie-text {
        font-size: 0.8rem;
    }

    .cookie-buttons {
        justify-content: flex-end;
    }

    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .stat-card { padding: 3rem 2rem; }
    .contact-card { padding: 2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .wwd-grid { grid-template-columns: 1fr; }
    .gallery-grid-new { grid-template-columns: 1fr; }
    .portfolio-buttons { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    #team { padding-bottom: 2rem; }
    #portfolio { padding-top: 2rem; }
    
    .footer-contacts {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    }
    
    .portfolio-grid-vertical { grid-template-columns: repeat(2, 1fr); }

    .portfolio-item-new {
        height: 200px;
        width: 200px;
    }
    .portfolio-filter { gap: 0.5rem; }
    .filter-btn { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}


