:root {
    --color-primary: #ea580c;
    --color-secondary: #4361EE;
    --color-accent: #E1306C;
    --color-dark: #0a0a0a;
    --color-light: #f8f9fa;
    --color-gray-dark: #262626;
    --color-gray-medium: #737373;
    --color-gray-light: #e5e5e5;
    --color-white: #ffffff;
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --header-height: 70px;
    --container-width: 1200px;
    --section-spacing: 80px;
    --element-spacing: 20px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--element-spacing);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--element-spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--color-dark), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
}

.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);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    gap: 30px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

.mobile-nav li {
    width: 100%;
    margin-bottom: 20px;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--color-gray-light);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.lang-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.lang-btn:not(.active):hover {
    background: var(--color-gray-light);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    color: var(--color-white);
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    color: var(--color-white);
    font-size: 5rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    color: #f0f0f0;
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-dark);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
    border: 2px solid var(--color-white);
    z-index: 3;
    position: relative;
}

.hero-cta:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    margin-top: var(--header-height);
}

.work-main-content {
    margin-top: calc(var(--header-height) + 20px);
}

section {
    padding: var(--section-spacing) 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
}

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

.carousel-section {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin-bottom: 20px;
}

.carousel-container {
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
    display: flex;
    width: max-content;
}

.carousel-item {
    flex: 0 0 auto;
    margin: 0 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
    aspect-ratio: 5/4;
    position: relative;
}

.carousel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1;
}

.carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

#top-carousel-track {
    animation: scroll-left 90s linear infinite;
    width: max-content;
}

#bottom-carousel-track {
    animation: scroll-right 90s linear infinite;
    width: max-content;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    color: var(--color-dark);
    display: inline-block;
}

.filter-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
}

.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
    padding: 0 10px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    aspect-ratio: 3/2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

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

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.profile-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    margin: 0 auto;
}

.profile-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(234,88,12,0.1), transparent);
}

.profile-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

.cv-button {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

.cv-button:hover {
    background: transparent;
    color: var(--color-primary);
}

#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--color-gray-light);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.1);
}

.submit-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.submit-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.4);
}

footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--color-white), #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--color-gray-light);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--color-gray-light);
    font-size: 0.95rem;
}

.work-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.work-header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--element-spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.work-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--color-dark), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

.nav-home-button {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--color-gray-light);
    transition: all 0.3s ease;
    background: var(--color-white);
    font-family: var(--font-body);
}

.nav-home-button:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
}

.filter-section {
    margin-bottom: 25px;
}

.sub-filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.back-button {
    background: var(--color-gray-light);
    color: var(--color-gray-medium);
    border: 2px solid var(--color-gray-light);
}

.back-button:hover {
    background: var(--color-gray-medium);
    color: var(--color-white);
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

#scrollToTop:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

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

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

.carousel-item img,
.gallery-item img {
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: opacity 0.3s ease;
    z-index: 2001;
}

.lightbox-arrow:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.guide-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-gray-medium);
    margin: -40px 0 40px 0;
    font-style: italic;
    padding: 0 20px;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.gallery-item,
.carousel-item {
    background-color: var(--color-gray-light);
}

.gallery-item img,
.carousel-item img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-item img[src],
.carousel-item img[src] {
    opacity: 1;
}

header .language-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
}
header .lang-btn {
    background: none;
    border: 1px solid var(--color-gray-light);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 30px;
    text-align: center;
    transition: all 0.2s ease;
    color: var(--color-dark);
}
header .lang-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
header .lang-btn:not(.active):hover {
    background: var(--color-gray-light);
}

.mobile-filter-btn {
    display: none;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.mobile-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-modal.active {
    display: block;
    opacity: 1;
}

.mobile-filter-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-filter-modal.active .mobile-filter-content {
    transform: translateY(0);
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-gray-light);
}

.mobile-filter-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.mobile-filter-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-dark);
}

.mobile-filter-category {
    margin-bottom: 25px;
}

.mobile-filter-category h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.mobile-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-filter-buttons .filter-btn {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0;
}

header .flag-icon svg {
    width: 20px;
    height: 10px;
}

@media (max-width: 768px) {
    .filter-buttons, .sub-filter-buttons {
        display: none !important;
    }
    
    .mobile-filter-btn {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .filter-buttons, .sub-filter-buttons {
        display: flex;
    }
    
    .mobile-filter-btn {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
        --element-spacing: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --section-spacing: 60px;
        --element-spacing: 20px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-container, .work-header-container {
        padding: 0 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .carousel-item {
        width: 200px;
        height: auto;
    }
    
    .work-header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .work-logo {
        position: static;
        transform: none;
        font-size: 1.4rem;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        order: 1;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .work-header .language-switcher {
        order: 3;
        margin-left: 10px;
    }
    
    .work-main-content {
        margin-top: calc(var(--header-height) + 20px);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .lightbox-arrow {
        font-size: 2rem;
        padding: 15px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .guide-text {
        font-size: 1.1rem;
        margin: -30px 0 30px 0;
    }
    
    .carousel-container::before,
    .carousel-container::after {
        display: none;
    }
    
    .carousel-container {
        mask-image: none;
        -webkit-mask-image: none;
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        font-size: 1.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
        order: 1;
    }
    .desktop-nav {
        display: none;
    }
    .hamburger {
        order: 2;
        margin-left: auto;
    }
    .language-switcher {
        order: 3;
        margin-left: 10px;
    }
    
    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --element-spacing: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .profile-image {
        min-width: 250px;
    }
    
    .guide-text {
        font-size: 1rem;
        margin: -20px 0 25px 0;
    }
    
    .carousel-item {
        width: 160px;
        margin: 0 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .gallery-item:hover {
        transform: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    .filter-btn:hover {
        background: var(--color-white);
        color: var(--color-dark);
        border-color: var(--color-gray-light);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .filter-btn.active:hover {
        background: var(--color-accent);
        color: var(--color-white);
        border-color: var(--color-accent);
    }
    .hero-cta:hover {
        background: var(--color-white);
        color: var(--color-dark);
        border-color: var(--color-white);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    .cv-button:hover {
        background: var(--color-primary);
        color: var(--color-white);
    }
    .submit-btn:hover {
        background: var(--color-primary);
        transform: none;
        box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
    }
}