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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.4;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-suffix {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.superscript {
    font-size: 14px;
    vertical-align: super;
    font-weight: 600;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.navigation a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #1a1a1a;
}

/* Main Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2px;
    background-color: #f0f0f0;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.portfolio-item {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

/* Top Left Section - VR Headset */
.top-left {
    display: flex;
    flex-direction: column;
}

.project-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.top-left:hover .project-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 40px;
    left: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.top-left:hover .image-overlay {
    opacity: 1;
}

.project-logo {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 12px;
    display: inline-block;
}

.project-info {
    padding: 40px;
    background-color: #ffffff;
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.project-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.years {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
}

/* Top Right Section - Dark Interface */
.top-right {
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-interface {
    width: 100%;
    padding: 60px;
    position: relative;
}

.interface-content {
    max-width: 500px;
}

.interface-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.interface-text {
    font-size: 16px;
    font-weight: 400;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.barcode-element {
    margin-bottom: 40px;
}

.barcode-lines {
    height: 40px;
    background: linear-gradient(90deg, 
        #fff 0px, #fff 3px, transparent 3px, transparent 8px,
        #fff 8px, #fff 12px, transparent 12px, transparent 15px,
        #fff 15px, #fff 18px, transparent 18px, transparent 22px,
        #fff 22px, #fff 28px, transparent 28px, transparent 32px,
        #fff 32px, #fff 35px, transparent 35px, transparent 40px,
        #fff 40px, #fff 45px, transparent 45px, transparent 48px,
        #fff 48px, #fff 52px, transparent 52px, transparent 56px,
        #fff 56px, #fff 60px, transparent 60px, transparent 65px,
        #fff 65px, #fff 70px, transparent 70px, transparent 75px,
        #fff 75px, #fff 80px, transparent 80px, transparent 85px,
        #fff 85px, #fff 88px, transparent 88px, transparent 92px,
        #fff 92px, #fff 100%);
    background-size: 100%;
    opacity: 0.8;
}

.watch-preview {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333;
}

.watch-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom Left Section - Dramatic Portrait */
.bottom-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.portrait-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.9);
    transition: transform 0.6s ease;
}

.bottom-left:hover .portrait-container img {
    transform: scale(1.05);
}

.geometric-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bottom-left:hover .geometric-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Bottom Right Section - Bold Typography */
.bottom-right {
    background-color: #1a1a1a;
    display: flex;
    align-items: stretch;
}

.typography-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.bold-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.main-heading {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 900;
    color: #ffffff;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.person-preview {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.person-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(0.3);
    transition: transform 0.6s ease;
}

.bottom-right:hover .person-preview img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 30px 40px;
}

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

.footer-left p {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-right nav {
    display: flex;
    gap: 30px;
}

.footer-right a {
    text-decoration: none;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        padding: 20px 30px;
    }
    
    .navigation ul {
        gap: 30px;
    }
    
    .portfolio-grid {
        gap: 1px;
    }
    
    .project-info {
        padding: 30px;
    }
    
    .dark-interface {
        padding: 40px;
    }
    
    .bold-text {
        padding: 40px;
    }
    
    .interface-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    
    .top-left {
        order: 1;
    }
    
    .top-right {
        order: 2;
    }
    
    .bottom-left {
        order: 3;
    }
    
    .bottom-right {
        order: 4;
    }
    
    .portfolio-item {
        min-height: 400px;
    }
    
    .project-title {
        font-size: 24px;
    }
    
    .interface-title {
        font-size: 28px;
    }
    
    .main-heading {
        font-size: 42px;
    }
    
    .person-preview {
        height: 200px;
    }
    
    .navigation ul {
        gap: 20px;
    }
    
    .navigation a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 15px 20px;
    }
    
    .logo-text, .logo-suffix {
        font-size: 20px;
    }
    
    .superscript {
        font-size: 12px;
    }
    
    .navigation ul {
        gap: 15px;
    }
    
    .navigation a {
        font-size: 11px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .dark-interface {
        padding: 30px 20px;
    }
    
    .bold-text {
        padding: 30px 20px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .interface-title {
        font-size: 24px;
    }
    
    .main-heading {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-right nav {
        gap: 20px;
    }
}

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

.portfolio-item {
    animation: fadeInUp 0.8s ease-out forwards;
}

.top-left { animation-delay: 0.1s; }
.top-right { animation-delay: 0.2s; }
.bottom-left { animation-delay: 0.3s; }
.bottom-right { animation-delay: 0.4s; }

/* Custom cursor effect */
.portfolio-item {
    cursor: pointer;
}

.portfolio-item:hover {
    z-index: 10;
}