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

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --text-gray: #2a2a2a;
    --text-gray-light: #666666;
    --light-gray: #fafafa;
    --border-gray: #e8e8e8;
    --accent-gray: #f5f5f5;
    --shadow-subtle: rgba(0, 0, 0, 0.02);
    --shadow-light: rgba(0, 0, 0, 0.04);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--primary-white);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* Selection styling */
::selection {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

::-moz-selection {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 28px 0;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
}

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

.logo-container {
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.logo-container:hover {
    transform: translateY(-1px);
}

.logo {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu li:not(:last-child)::after {
    content: '|';
    margin: 0 14px;
    color: var(--border-gray);
    font-weight: 200;
    font-size: 13px;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-black);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-black);
}

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

.nav-link.active {
    color: var(--primary-black);
    font-weight: 400;
}

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

/* Main Content */
main {
    margin-top: 100px;
    padding-bottom: 120px;
    animation: fadeInUp 0.8s ease-out;
}

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

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

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0 140px;
    min-height: calc(100vh - 100px);
}

.header-content {
    margin-bottom: 100px;
    animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.main-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-black);
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1.15;
    transition: color var(--transition-fast);
}

.subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-gray-light);
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    margin-top: 0;
}

.portfolio-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-smooth);
}

.portfolio-item-link:hover {
    transform: translateY(-4px);
}

.portfolio-item {
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--accent-gray);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 2px 8px var(--shadow-subtle);
    transition: box-shadow var(--transition-smooth);
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.01) 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.portfolio-item-link:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-item-link:hover .portfolio-image {
    box-shadow: 0 8px 24px var(--shadow-light);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), opacity var(--transition-smooth);
    display: block;
    will-change: transform;
}

.portfolio-item-link:hover .project-img {
    transform: scale(1.08);
    opacity: 0.95;
}

.portfolio-caption {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.8px;
    margin-top: 10px;
    transition: color var(--transition-fast);
    line-height: 1.5;
}

.portfolio-item-link:hover .portfolio-caption {
    color: var(--primary-black);
}

/* Content Sections (for other pages) */
.content-section {
    padding: 100px 0 140px;
    min-height: calc(100vh - 100px);
}

/* Services Page */
.services-content {
    max-width: 900px;
    margin-top: 80px;
}

.service-block {
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-gray);
    transition: transform var(--transition-fast);
    position: relative;
}

.service-block::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color: var(--primary-black);
    transition: width var(--transition-smooth);
}

.service-block:hover::before {
    width: 60px;
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-block:last-child::before {
    display: none;
}

.service-title {
    font-size: 26px;
    font-weight: 300;
    color: var(--primary-black);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.service-block:hover .service-title {
    color: var(--primary-black);
}

.service-description {
    font-size: 15px;
    color: var(--text-gray-light);
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.1px;
    transition: color var(--transition-fast);
}

.service-block:hover .service-description {
    color: var(--text-gray);
}

/* About Page */
.about-content-full {
    max-width: 800px;
    margin-top: 80px;
}

.about-text-block {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-text-block:nth-child(1) { animation-delay: 0.1s; }
.about-text-block:nth-child(2) { animation-delay: 0.2s; }
.about-text-block:nth-child(3) { animation-delay: 0.3s; }
.about-text-block:nth-child(4) { animation-delay: 0.4s; }

.about-text-block p {
    font-size: 16px;
    color: var(--text-gray-light);
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.05px;
    transition: color var(--transition-fast);
}

.about-text-block:hover p {
    color: var(--text-gray);
}

/* Contact Page */
.contact-content-full {
    max-width: 1000px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info-block,
.contact-form-block {
    width: 100%;
}

.contact-section-title {
    font-size: 22px;
    font-weight: 300;
    color: var(--primary-black);
    margin-bottom: 35px;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.contact-details {
    margin-top: 25px;
}

.contact-item {
    font-size: 15px;
    color: var(--text-gray-light);
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 32px;
    letter-spacing: 0.1px;
    transition: color var(--transition-fast);
}

.contact-item:hover {
    color: var(--text-gray);
}

.contact-item strong {
    font-weight: 400;
    color: var(--primary-black);
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    color: var(--text-gray-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.contact-link:hover {
    color: var(--primary-black);
    border-bottom-color: var(--primary-black);
}

/* Contact Form */
.contact-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--primary-black);
    margin-bottom: 10px;
    text-transform: lowercase;
    letter-spacing: 0.8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    background-color: var(--primary-white);
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-fast);
    letter-spacing: 0.1px;
    border-radius: 1px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-black);
    background-color: var(--light-gray);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-gray-light);
    opacity: 0.5;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-submit {
    padding: 14px 36px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: 1px solid var(--primary-black);
    font-size: 12px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    text-transform: lowercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--transition-smooth);
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    background-color: var(--text-gray);
    border-color: var(--text-gray);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-submit:active {
    transform: translateY(0);
}

/* Project Detail Pages */
.project-detail-section {
    padding: 100px 0 140px;
    min-height: calc(100vh - 100px);
}

.project-header {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.project-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-black);
    margin-bottom: 0;
    letter-spacing: -1px;
    line-height: 1.15;
}

.project-description {
    max-width: 700px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.project-description p {
    font-size: 15px;
    color: var(--text-gray-light);
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.1px;
}

.project-gallery {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 80px;
}

/* Mosaic layout classes */
.project-image-full {
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 2px 12px var(--shadow-subtle);
    transition: box-shadow var(--transition-smooth), transform var(--transition-fast);
    animation: fadeInUp 0.8s ease-out;
    background-color: var(--accent-gray);
    position: relative;
}

.project-image-full:nth-child(1) { 
    animation-delay: 0.1s;
    grid-column: span 8;
    aspect-ratio: 4 / 3;
}

.project-image-full:nth-child(2) { 
    animation-delay: 0.2s;
    grid-column: span 4;
    aspect-ratio: 4 / 3;
}

.project-image-full:nth-child(3) { 
    animation-delay: 0.3s;
    grid-column: span 4;
    aspect-ratio: 4 / 3;
}

.project-image-full:nth-child(4) { 
    animation-delay: 0.4s;
    grid-column: span 6;
    aspect-ratio: 3 / 2;
}

.project-image-full:nth-child(5) { 
    animation-delay: 0.5s;
    grid-column: span 6;
    aspect-ratio: 3 / 2;
}

.project-image-full:nth-child(6) { 
    animation-delay: 0.6s;
    grid-column: span 12;
    aspect-ratio: 16 / 6;
}

.project-image-full:nth-child(7) { 
    animation-delay: 0.7s;
    grid-column: span 4;
    aspect-ratio: 4 / 3;
}

.project-image-full:nth-child(8) { 
    animation-delay: 0.8s;
    grid-column: span 8;
    aspect-ratio: 2 / 1;
}

.project-image-full:hover {
    box-shadow: 0 8px 32px var(--shadow-light);
    transform: translateY(-2px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow), opacity var(--transition-smooth);
    will-change: transform;
}

.project-image-full:hover .gallery-img {
    transform: scale(1.03);
    opacity: 0.96;
}

.project-image-full {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.project-image-full:active {
    transform: scale(0.98);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    overflow: hidden;
}

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

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    display: block;
    animation: lightboxFadeIn var(--transition-smooth);
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10001;
    border-radius: 2px;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10001;
    border-radius: 2px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-white);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.project-navigation {
    margin-top: 120px;
    padding-top: 60px;
    border-top: 1px solid var(--border-gray);
    text-align: right;
}

.next-project {
    text-decoration: none;
    color: var(--text-gray-light);
    font-size: 13px;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.8px;
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
    padding-bottom: 4px;
}

.next-project::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-black);
    transition: width var(--transition-smooth);
}

.next-project:hover {
    color: var(--primary-black);
}

.next-project:hover::after {
    width: 100%;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    text-decoration: none;
    color: var(--text-gray-light);
    font-size: 11px;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 1px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    transition: all var(--transition-fast);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-subtle);
}

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

.back-to-top:hover {
    color: var(--primary-black);
    border-color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    background-color: var(--primary-white);
    border: 1px solid var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--shadow-light);
    z-index: 998;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

/* WhatsApp button position will be adjusted via JavaScript */

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 24px var(--shadow-light);
    background-color: var(--primary-black);
    border-color: var(--primary-black);
}

.whatsapp-float:hover .whatsapp-icon {
    filter: invert(1);
}

.whatsapp-icon {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    transition: all var(--transition-fast);
    filter: brightness(0);
    flex-shrink: 0;
    display: block;
    box-sizing: border-box;
    object-fit: contain;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.whatsapp-float:hover::before {
    width: 100px;
    height: 100px;
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: var(--primary-white);
    border-top: 1px solid var(--border-gray);
    margin-top: 40px;
}

.footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-gray-light);
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.footer-link {
    color: var(--text-gray-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

.footer-link:hover {
    color: var(--primary-black);
    border-bottom-color: var(--primary-black);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 50px;
    }
    
    .nav-container {
        padding: 0 50px;
    }
    
    .portfolio-grid {
        gap: 45px 35px;
    }
    
    .contact-content-full {
        gap: 70px;
    }
}

@media (max-width: 968px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .nav-menu li:not(:last-child)::after {
        margin: 0 10px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .contact-content-full {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .main-title {
        font-size: 40px;
    }
    
    .project-title {
        font-size: 40px;
    }
    
    .project-header {
        margin-bottom: 60px;
    }
    
    .project-description {
        margin-top: 25px;
        padding-top: 25px;
    }
    
    .project-gallery {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
        margin-top: 60px;
    }
    
    .project-image-full {
        grid-column: span 6 !important;
        grid-row: span 1 !important;
    }
    
    .project-navigation {
        margin-top: 80px;
        padding-top: 40px;
    }
    
    .header-content {
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 22px 0;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .nav-menu li:not(:last-child)::after {
        margin: 0 8px;
        font-size: 11px;
    }
    
    .nav-link {
        font-size: 11px;
    }
    
    .logo {
        max-height: 100px;
    }
    
    main {
        margin-top: 90px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .portfolio-section,
    .content-section,
    .project-detail-section {
        padding: 70px 0 100px;
    }
    
    .main-title,
    .project-title {
        font-size: 36px;
        letter-spacing: -0.8px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .header-content {
        margin-bottom: 70px;
    }
    
    .project-header {
        margin-bottom: 50px;
    }
    
    .project-description {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .project-description p {
        font-size: 14px;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 50px;
    }
    
    .project-image-full {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .project-navigation {
        margin-top: 70px;
        padding-top: 35px;
    }
    
    .services-content,
    .about-content-full {
        margin-top: 60px;
    }
    
    .service-block {
        margin-bottom: 50px;
        padding-bottom: 40px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .contact-content-full {
        margin-top: 60px;
        gap: 50px;
    }
    
    .back-to-top {
        bottom: 30px;
        right: 30px;
        padding: 10px 14px;
        font-size: 10px;
    }
    
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
        max-width: 28px;
        max-height: 28px;
        min-width: 28px;
        min-height: 28px;
    }
    
    .footer {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 20px 0;
    }
    
    .nav-container {
        padding: 0 25px;
        flex-direction: column;
        gap: 18px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-menu li:not(:last-child)::after {
        margin: 0 6px;
    }
    
    .logo {
        max-height: 80px;
    }
    
    main {
        margin-top: 85px;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .portfolio-section,
    .content-section,
    .project-detail-section {
        padding: 50px 0 80px;
    }
    
    .main-title,
    .project-title {
        font-size: 32px;
        letter-spacing: -0.7px;
    }
    
    .subtitle {
        font-size: 13px;
    }
    
    .header-content,
    .project-header {
        margin-bottom: 50px;
    }
    
    .portfolio-grid {
        gap: 45px;
    }
    
    .services-content,
    .about-content-full {
        margin-top: 50px;
    }
    
    .service-block {
        margin-bottom: 45px;
        padding-bottom: 35px;
    }
    
    .service-title {
        font-size: 22px;
    }
    
    .contact-content-full {
        margin-top: 50px;
        gap: 45px;
    }
    
    .contact-section-title {
        font-size: 20px;
    }
    
    .project-gallery {
        gap: 18px;
        margin-top: 40px;
    }
    
    .project-navigation {
        margin-top: 60px;
        padding-top: 30px;
    }
    
    .back-to-top {
        bottom: 25px;
        right: 25px;
        padding: 8px 12px;
        font-size: 9px;
    }
    
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
        max-width: 26px;
        max-height: 26px;
        min-width: 26px;
        min-height: 26px;
    }
    
    .footer {
        padding: 40px 0;
    }
    
    /* Lightbox responsive */
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-nav.prev {
        left: 15px;
    }
    
    .lightbox-nav.next {
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: 15px;
        font-size: 12px;
    }
    
    .lightbox-img {
        max-height: 90vh;
    }
    
    .lightbox-content {
        max-width: 98%;
        max-height: 98%;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-nav.prev {
        left: 20px;
    }
    
    .lightbox-nav.next {
        right: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}
