:root {
    --bg-dark: #07090C;
    --bg-light: #12161E;
    --gold: #D2B07E;
    --gold-dim: rgba(210, 176, 126, 0.4);
    --text-main: #F4F4F5;
    --text-muted: #9BA3AF;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom Cursor */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

/* Noise Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1s var(--ease-in-out);
}

.preloader.hidden {
    transform: translateY(-100%);
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s forwards 0.2s;
}

.progress-bar {
    width: 200px;
    height: 1px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gold);
    transition: width 0.1s;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold-dim);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(210, 176, 126, 0.1);
    border-color: var(--gold);
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.text-gold { color: var(--gold); }
.section-padding { padding: 10vw 0; }
.bg-darker { background-color: var(--bg-light); }

.line {
    overflow: hidden;
    display: block;
}

.text-reveal {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s var(--ease-out);
}

.text-reveal.active {
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: color 0.4s;
}

.btn-text {
    position: relative;
    z-index: 2;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
    z-index: 1;
    transition: transform 0.5s var(--ease-in-out);
    transform-origin: top;
}

.btn-primary:hover {
    color: var(--gold);
}

.btn-primary:hover::before {
    transform: scaleY(0);
    transform-origin: bottom;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-main);
    z-index: 1;
    transform: scaleY(0);
    transition: transform 0.5s var(--ease-in-out);
    transform-origin: bottom;
}

.btn-outline:hover {
    color: var(--bg-dark);
    border-color: var(--text-main);
}

.btn-outline:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 0;
    transition: padding 0.5s, background 0.5s;
    mix-blend-mode: difference;
}

.navbar.scrolled {
    padding: 1.2rem 0;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 10px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.1) grayscale(0.2);
    transition: transform 0.1s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 9, 12, 0.4) 0%, rgba(7, 9, 12, 1) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    padding-top: 10vh;
}

.hero-subtitle-wrapper {
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--gold);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-desc {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gold);
    animation: scrollLine 2s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Excellence Section */
.excellence {
    padding: 5vw 0;
    border-bottom: 1px solid var(--border-color);
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;
}

.exc-card {
    position: relative;
}

.exc-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.exc-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 2rem;
    position: relative;
}

.exc-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: var(--gold);
    transition: width 0.5s var(--ease-out);
}

.exc-card:hover .exc-line::after {
    width: 30px;
}

.exc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.exc-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-flex {
    display: flex;
    gap: 8vw;
    align-items: center;
}

.about-left {
    flex: 1;
}

.about-right {
    flex: 1;
    position: relative;
}

.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2.5rem;
}

.about-text-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-text-content p.lead {
    font-size: 1.2rem;
    color: var(--text-main);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform 0.3s, border-color 0.3s;
}

.link-arrow:hover .arrow-icon {
    transform: translateX(10px);
    border-color: var(--gold);
}

.parallax-img-wrapper {
    border-radius: 4px;
    overflow: hidden;
    height: 70vh;
}

.parallax-img {
    height: 120%;
    width: 100%;
}

.parallax-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5);
    transition: filter 0.5s;
}

.parallax-img-wrapper:hover img {
    filter: grayscale(0);
}

.badge-premium {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.badge-ring {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed var(--gold-dim);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    line-height: 1.4;
}

/* Services */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.services-desc {
    max-width: 400px;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.services-list {
    border-top: 1px solid var(--border-color);
}

.service-item {
    display: flex;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.5s, background-color 0.5s;
}

.service-item:hover {
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: rgba(255, 255, 255, 0.02);
}

.service-name {
    flex: 1;
}

.service-name h3 {
    font-size: 2.2rem;
    transition: color 0.3s;
}

.service-item:hover .service-name h3 {
    color: var(--gold);
}

.service-detail {
    flex: 1;
    color: var(--text-muted);
    font-size: 1.05rem;
    padding-right: 2rem;
}

.service-icon {
    font-size: 1.5rem;
    color: var(--border-color);
    transition: color 0.3s, transform 0.3s;
}

.service-item:hover .service-icon {
    color: var(--gold);
    transform: rotate(-45deg);
}

/* CTA */
.cta-section {
    padding: 15vw 0;
    background: radial-gradient(circle at center, rgba(210, 176, 126, 0.05) 0%, var(--bg-dark) 50%);
}

.cta-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand-desc {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.footer-contact {
    display: flex;
    gap: 5rem;
}

.contact-block h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-link {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-social a {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: color 0.3s;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .excellence-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-flex {
        flex-direction: column;
    }
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem 0;
    }
    .service-icon {
        display: none;
    }
    .service-item:hover {
        padding-left: 0;
        padding-right: 0;
    }
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-contact {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cursor-dot, .cursor-outline {
        display: none;
    }
    * {
        cursor: auto !important;
    }
}
