﻿:root {
    --bg: #0a0a0f;
    --bg-light: #1a1a24;
    --text: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #d4af37; /* Premium Gold */
    --accent-light: #e8c850;
    --accent-dark: #b8941f;
    --border: #2a2a35;
    --border-light: #3a3a47;
    --success: #10b981;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: linear-gradient(135deg, var(--bg) 0%, #0f0f1a 100%);
    color: var(--text);
    line-height: 1.65;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 5%;
    align-items: center;
    position: fixed;
    left: 5%;
    right: 5%;
    top: 18px;
    z-index: 200;
    background: linear-gradient(90deg, rgba(10,10,15,0.6), rgba(15,15,25,0.5));
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(10px) saturate(140%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), inset 0 1px 0 rgba(212,175,55,0.1);
}

.logo {
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 1.1rem;
    color: var(--text);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #0a0a0f;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212,175,55,0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212,175,55,0.35);
}

/* Hero Section */
.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center bottom;
    padding: 6rem 2rem;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero.hero-video-active {
    background-image: none !important;
    flex-direction: row-reverse;
    align-items: stretch;
    padding: 0 2%;
    min-height: auto;
    height: auto;
    padding-top: 120px;
    min-height: 65vh;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,15,0.4), rgba(10,10,15,0.6));
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.hero-video-active::before {
    opacity: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    transition: all 1.8s cubic-bezier(0.2, 0.8, 0.4, 1);
    text-align: center;
    width: 100%;
    flex-shrink: 0;
    padding: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero.hero-video-active .hero-content {
    width: 40%;
    min-width: 40%;
    padding: 2rem 2.5rem;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 0;
    margin-right: 1rem;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 0.8rem 0;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero.hero-video-active h1 {
    font-size: 2.8rem;
    text-align: left;
    margin: 0 0 1rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.15rem;
    font-weight: 400;
}

.hero.hero-video-active p {
    text-align: left;
    font-size: 1rem;
}

#hero-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.hero.hero-video-active #hero-video {
    position: relative !important;
    width: 48% !important;
    height: 500px !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: 2;
    flex-shrink: 0;
    margin-right: 0 !important;
    margin-left: 2rem !important;
    margin-top: 0 !important;
    align-self: center;
    object-fit: cover;
}

/* Container */
.container {
    padding: 3.5rem 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.container h2 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.container h3 {
    font-size: 1.35rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.container h4 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Cards */
.card {
    background: linear-gradient(135deg, var(--bg-light) 0%, #242432 100%);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(212,175,55,0.15);
}

.card:hover::before {
    opacity: 1;
}

.card h3,
.card h4 {
    color: var(--accent);
    margin-top: 0;
}

.card p {
    color: var(--text-secondary);
    margin: 0.75rem 0;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.card li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #0a0a0f;
    padding: 0.95rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(212,175,55,0.25);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(212,175,55,0.35);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

.btn:active {
    transform: translateY(-1px);
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
    margin: 2rem auto;
}

input,
textarea {
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--border);
    padding: 0.95rem 1.2rem;
    color: var(--text);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    background: rgba(212,175,55,0.05);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.portfolio-thumb {
    background-size: cover;
    background-position: center;
    height: 280px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    cursor: pointer;
}

.portfolio-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,15,0) 30%, rgba(10,10,15,0.8) 100%);
    transition: background 0.4s ease;
}

.portfolio-thumb:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(212,175,55,0.2);
}

.portfolio-thumb:hover::before {
    background: linear-gradient(180deg, rgba(212,175,55,0.2) 0%, rgba(10,10,15,0.9) 100%);
}

.portfolio-caption {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 100%);
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

/* Testimonials */
.testimonial {
    background: linear-gradient(135deg, var(--bg-light) 0%, #242432 100%);
    color: var(--text);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.15;
    top: -20px;
    left: -10px;
}

.testimonial:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 50px rgba(212,175,55,0.15);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--bg) 0%, #1a1a2e 100%);
    position: relative;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, #2a2a38 100%);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.contact h2 {
    font-size: 2.5rem;
}

.contact p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto;
    font-size: 1.05rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(10,10,15,0.8) 0%, rgba(15,15,25,0.8) 100%);
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 55vh;
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    nav {
        left: 2%;
        right: 2%;
    }

    nav ul {
        display: none;
    }

    .container {
        padding: 2.5rem 6%;
    }

    .container h2 {
        font-size: 1.8rem;
    }

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

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

    .portfolio-thumb {
        height: 240px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    nav {
        padding: 1rem 3%;
    }

    .logo {
        font-size: 0.95rem;
    }

    .container {
        padding: 2rem 4%;
    }

    .card {
        padding: 1.5rem;
    }

    .testimonial {
        padding: 1.5rem;
    }
}
