:root {
    --color-bg: #0F1012;
    --color-bg-alt: #16181A;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-gold-dark: #AA8C2C;
    --color-text: #EAEAEA;
    --color-text-muted: #A0A0A0;
    --color-white: #FFFFFF;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(212, 175, 55, 0.1);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-gold: rgba(212, 175, 55, 0.3);
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* WebGL Background Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--color-white);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-gold);
}

p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg);
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--color-bg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.w-100 { width: 100%; }

/* Layout & Utils */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 16, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 16, 18, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-graphic {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 3rem;
    border-radius: 20px;
    max-width: 350px;
    transform: rotateY(-15deg) rotateX(10deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: rotateY(-15deg) rotateX(10deg) translateY(0px); }
    50% { transform: rotateY(-15deg) rotateX(10deg) translateY(-20px); }
    100% { transform: rotateY(-15deg) rotateX(10deg) translateY(0px); }
}

/* About Section */
.about-section {
    padding: 8rem 5%;
    background-color: rgba(22, 24, 26, 0.3);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.subtitle {
    color: var(--color-gold);
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.about-highlights {
    margin-top: 1.5rem;
}

.about-highlights li {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-wrapper-3d {
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.about-image-card {
    width: 350px;
    height: 450px;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    transform-style: preserve-3d;
    transition: transform 0.1s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.about-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateZ(50px) translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #fff;
    padding: 10px;
}

/* Services Section */
.services-section {
    padding: 8rem 5%;
    background-color: rgba(15, 16, 18, 0.2);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, background 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.card-inner {
    position: absolute;
    inset: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateZ(30px);
    pointer-events: none;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-gold);
}

.service-card:hover h3 {
    color: var(--color-white);
}

.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* Contact Section */
.contact-section {
    padding: 8rem 5%;
    background-color: rgba(22, 24, 26, 0.3);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-block h4 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-block a:hover {
    color: var(--color-white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    background: rgba(15, 16, 18, 0.6);
    backdrop-filter: blur(5px);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo {
    height: 50px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Animations Helper */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4rem;
    }
    
    .hero::before {
        background: linear-gradient(180deg, rgba(15,16,18,0.4) 0%, var(--color-bg) 100%);
    }

    .hero-actions {
        justify-content: center;
    }

    .about-image-wrapper {
        order: -1;
    }
    
    .info-blocks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add mobile menu later if needed */
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
