/* =========================================
   CSS VARIABLES & RESET
   ========================================= */
:root {
    --bg-main: #0b0c0e;
    --bg-darker: #111318;
    --text-primary: #ecedee;
    --text-secondary: #b0b8c1;
    --accent: #8a9cf0;
    --accent-hover: #a5b3f5;
    --card-bg: #15171d;
    --border-color: rgba(255, 255, 255, 0.05);
    --radius: 1.5rem;
    --transition: 0.2s ease;
}
 
* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 12, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    white-space: nowrap;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.btn-header {
    background-color: var(--accent);
    color: #000 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-header:hover {
    background-color: var(--accent-hover);
}

/* =========================================
   HERO / INTRO BADGE
   ========================================= */
   /* =========================================
   3D HERO (Dekut RC background)
   ========================================= */
.hero-3d {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('renders/rc.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px; /* offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 14, 0.83); /* dark overlay for text readability */
    display: flex;
    align-items: center;
}

.hero-overlay .container {
    position: relative;
    z-index: 2;
}

/* Inherit hero-content from main styles if not already defined */
.hero-content {
    max-width: 800px;
    text-align: left;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    background: linear-gradient(145deg, #d9e2ff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-award {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(45, 41, 15, 0.779);
    border: 1px solid rgba(138, 156, 240, 0.3);
    border-radius: 40px;
    padding: 0.6rem 1.3rem;
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
    color: #d1d8ff;
    flex-wrap: wrap;
}

.hero-award i {
    font-size: 1.1rem;
    color: #f0c040;
}

.hero-award strong {
    color: #fff;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}


.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-primary:hover {
    background: #e0e5ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

/* =========================================
   EMBEDDED VIDEOS (centered)
   ========================================= */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 1.8rem auto;   /* centered */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.video-embed::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 ratio */
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   GALLERY GRID (3D renders)
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.gallery-caption {
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.gallery-caption strong {
    color: #fff;
    font-weight: 600;
}

/* =========================================
   LIGHTBOX OVERLAY
   ========================================= */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.close-overlay {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1.4rem;
    transition: background var(--transition), transform var(--transition);
}

.contact-icon:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-darker);
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .btn-header {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding: 0.8rem 1rem;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 1.2rem;
    }

    .btn-header {
        margin-top: 0.5rem;
        align-self: center;
    }

    .hero-award {
        font-size: 0.75rem;
    }

    .contact-links {
        gap: 1rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .site-footer {
        padding: 1.5rem;
    }
}