/* 
    OMEGA V3 - ETHEREAL EDITION
    Concept: The Void, Constellations, Liquid Gold
*/

:root {
    --bg-void: #030303;
    --bg-panel: #0a0a0a;
    --gold-primary: #D4AF37;
    --gold-light: #F4DF90;
    --gold-dark: #AA8C2C;
    --text-white: #F0F0F0;
    --text-muted: #888888;
    --font-display: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: auto; /* Allow scrolling */
    min-height: 100%;
    scroll-behavior: auto; /* Required for Lenis smooth scroll */
}

body {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-void);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none; /* Custom cursor active */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

/* Allow selection in inputs */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body.is-loading {
    overflow: hidden;
}

/* --- GLOBAL EFFECTS --- */

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9000;
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

body:hover .cursor-follower.active {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-primary);
}

/* Typography Helpers */
.gold-text {
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-void);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    text-align: center;
    width: 300px;
}

.counter {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.preloader-line {
    width: 0%;
    height: 2px;
    background-color: var(--gold-dark);
    margin: 0 auto 15px;
}

.preloader-text {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

/* --- NAVIGATION --- */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    mix-blend-mode: difference;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    letter-spacing: 0.1em;
}

.brand .gold {
    color: var(--gold-primary);
}

.menu-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: border-color 0.3s;
}

.menu-btn:hover {
    border-color: var(--gold-primary);
}

.menu-lines {
    width: 24px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-lines span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-void);
    z-index: 4000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-links {
    list-style: none;
    text-align: center;
}

.menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    text-decoration: none;
    margin: 20px 0;
    transition: 0.3s;
    position: relative;
}

.menu-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--gold-primary);
    overflow: hidden;
    transition: width 0.5s var(--ease-out-expo);
    white-space: nowrap;
    border-right: 2px solid var(--gold-primary);
}

.menu-link:hover::before {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 60px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 8vw;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
}

.hero-title .line {
    overflow: hidden;
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    left: 60px;
    right: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background-color: var(--gold-primary);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 150px 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.visual-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.visual-wrapper img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s;
}

.visual-wrapper:hover img {
    filter: grayscale(0%) contrast(1);
}

.section-heading {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 40px;
}

.body-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- SERVICES SECTION (HORIZONTAL) --- */
.services-section {
    overflow: hidden; /* Hide scrollbar */
}

.services-pin-wrap {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-track {
    display: flex;
    gap: 100px;
    padding: 0 100px; /* Start padding */
}

.service-card {
    flex-shrink: 0;
    position: relative;
}

.intro-card {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.huge-text {
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
}

.scroll-instruction {
    margin-top: 30px;
    color: var(--gold-primary);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

.content-card {
    width: 500px;
    height: 70vh;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

.content-card:hover {
    transform: scale(1.02);
    border-color: var(--gold-primary);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: transform 0.5s, filter 0.5s;
}

.content-card:hover .card-bg {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 0%, transparent 80%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
}

.card-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    margin-bottom: 10px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.card-list {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* Section Defaults */
.section-padding {
    padding: 120px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
}

/* About Section */
.about-section {
    background-color: var(--bg-deep);
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.col-text {
    flex: 1;
    padding-right: 60px;
}

.col-image {
    flex: 1;
    position: relative;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
}

.image-frame {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 120%; /* For parallax */
    background-color: #1a1a1a;
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?q=80&w=2070&auto=format&fit=crop'); /* Placeholder */
    background-size: cover;
    background-position: center;
}

.frame-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    pointer-events: none;
}

/* Services Section - Sticky Stack */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-void);
}

.sticky-card {
    position: sticky;
    top: 120px; /* Offset from top */
    margin-bottom: 100px; /* Space between cards when stacked */
    min-height: 70vh; /* Allow growth */
    height: auto;
    display: flex;
    justify-content: center;
}

.card-inner {
    width: 100%;
    max-width: 1200px;
    background: #02040a; /* Deep Navy/Black from image */
    border: 1px solid rgba(212, 175, 55, 0.1); /* Subtle gold border */
    border-radius: 0; /* Sharp edges for luxury feel */
    display: flex;
    flex-direction: row; /* Ensure side-by-side */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transition: transform 0.5s ease;
}

.card-content {
    flex: 1;
    padding: 50px; /* Reduced padding for better fit */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.card-number {
    font-family: var(--font-display);
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1); /* Increased opacity for visibility */
    position: absolute;
    top: 20px;
    left: 40px;
    line-height: 1;
    z-index: 0; /* Ensure it sits behind content */
}

.card-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.card-subtitle {
    font-size: 1.1rem;
    color: var(--gold-primary);
    margin-bottom: 50px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.detail-group h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-group ul {
    list-style: none;
}

.detail-group li {
    font-size: 0.9rem;
    color: #B0B0B0; /* Brighter gray for better readability on dark bg */
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    line-height: 1.6;
}

.detail-group li::before {
    content: '•';
    color: var(--gold-primary);
    position: absolute;
    left: 0;
}

.card-visual {
    flex: 1;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

#service-apparel .visual-placeholder { background-image: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?q=80&w=1974&auto=format&fit=crop'); }
#service-architecture .visual-placeholder { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop'); }
#service-catering .visual-placeholder { background-image: url('https://images.unsplash.com/photo-1555244162-803834f70033?q=80&w=2070&auto=format&fit=crop'); }

.card-inner:hover .visual-placeholder {
    transform: scale(1.05);
}

/* Card Actions */
.card-actions {
    margin-top: 40px;
}

.btn-omega {
    display: inline-block;
    position: relative;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* --- UTILITIES --- */
.mt-4 { margin-top: 30px; }
.mt-5 { margin-top: 50px; }
.mb-5 { margin-bottom: 50px; }
.text-center { text-align: center; }

.btn-omega:hover {
    color: var(--bg-void);
    background-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-fill {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--gold-primary);
    transition: left 0.3s ease;
}

.btn-omega:hover .btn-fill {
    left: 0;
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s ease;
}

.magnetic-btn:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-deep);
    position: relative;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-desc {
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: var(--text-dim);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.info-item p {
    font-size: 1rem;
    color: var(--text-platinum);
}

.text-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}
.text-link:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.3s;
    color: #fff;
    text-decoration: none;
}

.social-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    flex: 1;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: var(--text-platinum);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group select {
    color: var(--text-dim);
}
.form-group select option {
    background-color: var(--bg-obsidian);
    color: var(--text-platinum);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-dim);
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.form-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .line,
.form-group textarea:focus ~ .line,
.form-group select:focus ~ .line {
    width: 100%;
}

/* Sliding Captcha */
.captcha-container {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    margin-bottom: 30px;
    overflow: hidden;
    user-select: none;
}

.slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    transition: opacity 0.3s;
}

.slider-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 46px;
    height: 46px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    transition: background-color 0.3s;
}

.slider-handle:active {
    cursor: grabbing;
}

.slider-handle .arrow {
    color: var(--bg-obsidian);
    font-weight: bold;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.captcha-container.verified .slider-handle {
    background-color: #4CAF50; /* Success Green */
    left: calc(100% - 48px) !important; /* Lock to end */
}

.captcha-container.verified .slider-text {
    opacity: 0;
}

.captcha-container.verified::after {
    content: 'Verified';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4CAF50;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer */
.omega-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-platinum);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .row {
        flex-direction: column;
    }
    .col-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .sticky-card {
        height: auto;
        min-height: 60vh;
    }
    .card-inner {
        flex-direction: column;
    }
    .card-visual {
        height: 300px;
    }
    
    /* Stack About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .visual-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    /* Global Adjustments */
    .section-padding {
        padding: 80px 0;
    }
    .container {
        padding: 0 20px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 3.5rem; /* Adjusted for better fit */
    }
    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    /* Navigation */
    .fixed-nav {
        padding: 20px;
    }
    .menu-link {
        font-size: 2.5rem;
    }

    /* Services Horizontal - Mobile Stack */
    .services-pin-wrap {
        height: auto !important; /* Override GSAP pin height */
        display: block;
    }
    .services-track {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0;
        width: 100%;
        transform: none !important; /* Override GSAP transform */
    }
    .service-card {
        width: 100%;
        height: 400px; /* Fixed height for mobile cards */
        margin-bottom: 20px;
    }
    .intro-card {
        height: auto;
        margin-bottom: 40px;
        text-align: center;
    }
    .huge-text {
        font-size: 4rem;
    }
    .scroll-instruction {
        display: none;
    }

    /* Services Sticky */
    .sticky-card {
        position: relative !important; /* Disable sticky on mobile */
        top: auto !important;
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 60px;
    }
    .card-content {
        padding: 30px 20px;
    }
    .card-title {
        font-size: 2rem;
    }
    .card-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact */
    .info-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 30px 20px;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* --- PRINT PROTECTION --- */
@media print {
    html, body {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}
