:root {
    --bg-color: #080808;
    --text-color: #ffffff;
    --accent-gold: #c5a059;
    --accent-gold-bright: #e5c07b;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-slow: 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    --transition-medium: 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition-medium);
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* We use custom cursor */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, opacity 0.3s ease;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}

.loader-content {
    text-align: center;
}

.logo-k {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: -5px;
}

.loader-bar {
    width: 100px;
    height: 2px;
    background: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Typography & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    z-index: 1001;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition-medium);
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition-medium);
}

.close-menu:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 30px 0;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Hero Section Redesign */
#hero {
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #121212 0%, #080808 100%);
}

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

.glow-orb {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: orbFloat 20s infinite alternate;
}

#orb1 { top: -10%; right: -10%; }
#orb2 { bottom: -10%; left: -10%; animation-delay: -10s; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1.2;
}

.hero-pretitle {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 20px;
}

.hero-main-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition-medium);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.hero-right {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.hero-logo-frame {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
    transform: rotate(-5deg);
}

.hero-logo-frame .k-symbol {
    font-size: 15rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-gold);
    position: relative;
    display: inline-block;
    line-height: 1;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.hero-logo-frame .k-symbol::before {
    content: 'K';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9d7a3a 0%, #f8e4b7 50%, #9d7a3a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: k-reveal 3s infinite alternate cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes k-reveal {
    0% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: -2px; /* Offset for letter-spacing */
    color: var(--text-muted);
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Section Headers */
.section-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 80px;
    font-weight: 800;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.highlight {
    color: var(--accent-gold);
    -webkit-text-stroke: 1px var(--accent-gold);
    color: transparent;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-visual {
    position: relative;
    height: 500px;
}

.abstract-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, var(--accent-gold) 0%, transparent 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    opacity: 0.2;
    animation: morph 10s infinite alternate;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for initial 4 items */
    gap: 30px;
}

.extra-service {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-20px) scale(0.95);
    padding: 0 50px !important; /* Override original padding when hidden */
    margin: 0;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.extra-service.show {
    opacity: 1;
    max-height: 1000px; /* Large enough to fit content */
    padding: 80px 50px !important;
    transform: translateY(0) scale(1);
    pointer-events: all;
    margin-top: 30px;
}

/* Staggered delay for each card */
.extra-service.show:nth-child(5) { transition-delay: 0.1s; }
.extra-service.show:nth-child(6) { transition-delay: 0.2s; }
.extra-service.show:nth-child(7) { transition-delay: 0.3s; }
.extra-service.show:nth-child(8) { transition-delay: 0.4s; }

.services-more-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

#showMoreServices {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

#showMoreServices:hover {
    background: var(--accent-gold);
    color: var(--bg-color);
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 80px 50px;
    position: relative;
    transition: var(--transition-slow);
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    color: var(--accent-gold);
    margin-bottom: 40px;
}

.card-icon svg {
    width: 50px;
    height: 50px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: var(--transition-medium);
}

.service-card:hover .card-border {
    width: 100%;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on PC */
    gap: 30px;
    width: 100%;
}

.portfolio-item {
    aspect-ratio: 4/5; /* Better proportion for portfolio cards */
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-medium);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.step {
    position: relative;
}

.step-num {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-gold); /* Solid gold color */
    display: block;
    margin-bottom: 20px;
    transition: var(--transition-medium);
    opacity: 0.7;
}

.step:hover .step-num {
    opacity: 1;
    transform: translateY(-10px);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.step p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* Motto Section */
#motto {
    text-align: center;
    padding: 200px 0;
}

.motto-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.motto-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
}

.motto-text {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 15px;
    color: var(--text-color);
    max-width: 900px;
    line-height: 1.5;
}

/* Contact Section */
.contact-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 4rem;
    margin-bottom: 60px;
}

.contact-item {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.contact-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-item .value {
    font-size: 2.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
    font-weight: 600;
}

.contact-item .value:hover {
    color: var(--accent-gold);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(10px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    section { min-height: auto; padding: 40px 0; }
    #hero { min-height: 100vh; }
    .about-visual { display: none; } /* Remove the visual on mobile to close the gap */
    .about-text { text-align: center; }
    .about-text h2 { font-size: 2.2rem; }
    .hero-wrapper { flex-direction: column-reverse; gap: 40px; text-align: center; }
    .hero-left { flex: 1; }
    .hero-main-title { font-size: 2.5rem; }
    .hero-description { font-size: 0.9rem; margin: 0 auto 30px; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-logo-frame { width: 200px; height: 250px; }
    .hero-logo-frame .k-symbol { font-size: 8rem; }
    .btn-primary, .btn-secondary { padding: 15px 30px; width: 100%; }
    .branding { display: none; } /* Old style removed */
    .hero-logo { filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.4)); }
    .brand-text { text-align: center; }
    .brand-name { font-size: 3.5rem; letter-spacing: 10px; margin-right: -10px; }
    .k-symbol { font-size: 5rem; }
    .tagline { width: 100%; text-align: center; font-size: 0.8rem; letter-spacing: 4px; margin-right: -4px; margin-top: 20px; }
    h1 { font-size: 2.5rem; letter-spacing: 5px; }
    .motto-text { font-size: 1.5rem; letter-spacing: 5px; }
    .contact-info h2 { font-size: 2.5rem; }
    .contact-item .value { font-size: 1.5rem; }
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .about-text h2 { font-size: 2.5rem; }
}
