/* XILOX LANDING PAGE - ARCHITECTURAL DESIGN */

/* ICOMOON FONT INTEGRATION */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon/icomoon.eot');
    src: url('../fonts/icomoon/icomoon.eot#iefix') format('embedded-opentype'),
         url('../fonts/icomoon/icomoon.ttf') format('truetype'),
         url('../fonts/icomoon/icomoon.woff') format('woff'),
         url('../fonts/icomoon/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ARCHITECTURAL COLOR PALETTE */
:root {
    --arch-white: #ffffff;
    --arch-light: #f8f8f8;
    --arch-medium: #e0e0e0;
    --arch-dark: #2a2a2a;
    --arch-accent: #000000;
    --arch-highlight: #c3fda1;
    --arch-warm: #f6f4f0;
    --arch-cool: #f0f4f6;
    --arch-shadow: rgba(0, 0, 0, 0.1);
    --arch-glow: rgba(195, 253, 161, 0.2);
}

/* LANDING PAGE BODY OVERRIDE */
body {
    background: #3a3a3a !important;
    color: #f5f5f5 !important;
    font-family: 'Helvetica Neue Light', 'Segoe UI', sans-serif !important;
    line-height: 1.7 !important;
    font-weight: 300 !important;
}

/* ARCHITECTURAL ANIMATIONS */
@keyframes architecturalReveal {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes minimalistSlide {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* STUDIO HERO - ARCHITECTURAL LAYOUT */
.studio-hero {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 100px;
    align-items: center;
    margin: 80px 0 140px;
    min-height: 75vh;
}

.hero-content {
    padding: 60px 0;
}

.studio-label {
    display: block;
    font-size: 0.8em;
    color: var(--arch-medium);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

.studio-title {
    font-size: 4.2em;
    font-weight: 100;
    color: var(--arch-white);
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.studio-title .emphasis {
    font-weight: 300;
    background: linear-gradient(135deg, var(--arch-white), var(--arch-highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.studio-title .emphasis::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--arch-highlight), transparent);
}

.studio-subtitle {
    font-size: 1.15em;
    color: var(--arch-medium);
    margin-bottom: 50px;
    line-height: 1.8;
    font-weight: 300;
    max-width: none;
    width: 100%;
    margin-left: 0;
    text-align: right;
}

.studio-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    text-align: left;
}

.metric-value {
    font-size: 2.8em;
    font-weight: 100;
    color: var(--arch-white);
    display: block;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.metric-description {
    color: var(--arch-medium);
    font-size: 0.85em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HERO VISUAL */
.studio-visual {
    position: relative;
    height: 500px;
}

.visual-frame {
    position: absolute;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arch-medium);
    font-size: 0.9em;
    font-weight: 300;
    text-align: center;
    transition: all 0.6s ease;
}

.visual-frame:hover {
    background: rgba(195, 253, 161, 0.03);
    border-color: rgba(195, 253, 161, 0.2);
    transform: translateY(-5px);
}

/* IMAGE INTEGRATION FOR VISUAL-FRAMES */
.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.25;
    transition: opacity 0.6s ease;
    filter: grayscale(80%) contrast(110%);
}

.visual-frame:hover img {
    opacity: 0.12;
}

.visual-frame span {
    position: relative;
    z-index: 3;
    background: rgba(58, 58, 58, 0.85);
    padding: 15px;
    border-radius: 2px;
    backdrop-filter: blur(2px);
    line-height: 1.4;
}

.frame-1 {
    top: 0;
    left: 0;
    width: 60%;
    height: 45%;
}

.frame-2 {
    top: 0;
    right: 0;
    width: 35%;
    height: 60%;
}

.frame-3 {
    bottom: 0;
    left: 0;
    width: 45%;
    height: 50%;
}

.frame-4 {
    bottom: 0;
    right: 0;
    width: 50%;
    height: 35%;
}

/* STUDIO BUTTONS */
.studio-button {
    display: inline-block;
    background: transparent;
    color: var(--arch-white);
    padding: 12px 24px;
    border: 1px solid var(--arch-white);
    border-radius: 0;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9em;
    transition: all 0.4s ease;
    margin: 8px 16px 8px 0;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.studio-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--arch-white);
    transition: left 0.4s ease;
    z-index: -1;
}

.studio-button:hover {
    color: var(--arch-dark);
    text-decoration: none;
}

.studio-button:hover::before {
    left: 0;
}

.studio-button.primary {
    background: var(--arch-white);
    color: var(--arch-dark);
    border-color: var(--arch-white);
    transition: all 0.3s ease;
}

.studio-button.primary::before {
    background: var(--arch-highlight);
}

.studio-button.primary:hover {
    color: var(--arch-dark);
    background: var(--arch-highlight);
    border-color: var(--arch-highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(195, 253, 161, 0.3);
}

/* PORTFOLIO SECTION */
.portfolio-section {
    margin: 160px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    margin: 100px 0;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 50px;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--arch-highlight), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.portfolio-item:hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-number {
    font-size: 0.8em;
    color: var(--arch-medium);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.portfolio-title {
    font-size: 1.4em;
    color: var(--arch-white);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.portfolio-description {
    color: var(--arch-medium);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

.portfolio-price {
    font-size: 2.4em;
    color: var(--arch-white);
    font-weight: 100;
    margin: 30px 0;
    letter-spacing: -1px;
}

.portfolio-price small {
    font-size: 0.4em;
    color: var(--arch-medium);
    font-weight: 300;
}

.portfolio-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.portfolio-features li {
    padding: 12px 0;
    color: var(--arch-medium);
    font-weight: 300;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-features li:last-child {
    border-bottom: none;
}

.portfolio-features li::before {
    content: '—';
    color: var(--arch-highlight);
    margin-right: 15px;
    width: 20px;
    text-align: center;
    font-weight: 300;
}

/* PROJECT SHOWCASE */
.showcase-visual {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--arch-medium);
    font-size: 1em;
    font-weight: 300;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

/* IMAGE & VIDEO INTEGRATION FOR SHOWCASE-VISUAL */
.showcase-visual img,
.showcase-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.showcase-visual:hover img,
.showcase-visual:hover video {
    opacity: 0.15;
}

/* VIDEO SPECIFIC STYLING */
.showcase-visual video {
    pointer-events: none;
    outline: none;
    border: none;
    background: transparent;
}

.showcase-visual video::-webkit-media-controls {
    display: none !important;
}

.showcase-visual video::-webkit-media-controls-panel {
    display: none !important;
}

.showcase-visual video::-webkit-media-controls-play-button {
    display: none !important;
}

.showcase-visual video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.showcase-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.01) 49%, rgba(255, 255, 255, 0.01) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.01) 49%, rgba(255, 255, 255, 0.01) 51%, transparent 52%);
    background-size: 20px 20px;
    z-index: 2;
}

.showcase-visual span {
    position: relative;
    z-index: 3;
    line-height: 1.6;
    background: rgba(58, 58, 58, 0.85);
    padding: 20px;
    border-radius: 2px;
    backdrop-filter: blur(2px);
}

/* SECTION TITLES */
.section-title {
    font-size: 2.8em;
    color: var(--arch-white);
    margin: 120px 0 40px;
    font-weight: 100;
    letter-spacing: -1px;
    text-align: left;
}

.section-title .accent {
    color: var(--arch-highlight);
    font-weight: 200;
}

.section-subtitle {
    font-size: 1.1em;
    color: var(--arch-medium);
    margin-bottom: 80px;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.7;
}

/* ANIMATION TRIGGERS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: all 0.8s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .studio-hero {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .studio-title {
        font-size: 2.8em;
    }
    
    .studio-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .studio-visual {
        height: 350px;
        position: relative;
    }
    
    .visual-frame {
        font-size: 0.65em;
        padding: 8px;
        min-height: 60px;
        position: absolute;
    }
    
    /* Mobile optimized frame sizes */
    .frame-1 {
        width: 55% !important;
        height: 35% !important;
        top: 0;
        left: 0;
    }
    
    .frame-2 {
        width: 40% !important;
        height: 40% !important;
        top: 0;
        right: 0;
    }
    
    .frame-3 {
        width: 45% !important;
        height: 30% !important;
        bottom: 10px;
        left: 0;
    }
    
    .frame-4 {
        width: 50% !important;
        height: 25% !important;
        bottom: 10px;
        right: 0;
    }
}