/* 
  Theme: Dark Luxury Innovation
  Colors: Obsidian, Midnight, Gold, Platinum
*/

:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --accent-gold: #D4AF37;
    --accent-gold-bright: #F5E08E;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Background Noise/Gradient Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(30, 41, 59, 0.2), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* Typography Utility */
.display-text {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: var(--transition-fast);
    background: transparent;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: -1px;
}

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

.nav-menu a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-contact {
    display: none;
    /* Hidden in regular menu, usually styled as button */
}

.hamburger {
    display: none;
    color: var(--white);
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.98);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

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

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-header {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(80%) contrast(120%);
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero:hover .hero-bg img {
    transform: scale(1);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gold);
    z-index: -1;
    transition: var(--transition-fast);
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    border-color: var(--accent-gold);
    color: #000;
}

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

.btn-primary:hover {
    color: #000;
}

/* About Section - Asymmetrical Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    /* Minimal radius */
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Stats in About */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

/* Methodology - Glass Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 3rem 2rem;
    backdrop-filter: blur(5px);
    transition: var(--transition-fast);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

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

/* Parallax Quote */
.parallax-quote {
    padding: 15rem 0;
    text-align: center;
    background-image: url('assets/img/hero.jpg');
    background-size: cover;
    background-position: center 25%;
    /* Adjusted to frame face */
    background-attachment: fixed;
    position: relative;
}

.parallax-quote .overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    /* Dark overlay */
}

.parallax-quote blockquote {
    position: relative;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    max-width: 1000px;
    margin: 0 auto;
    font-style: italic;
    color: var(--white);
}

.parallax-quote cite {
    display: block;
    margin-top: 2rem;
    color: var(--accent-gold);
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Services - Horizontal Scroll / List */
.services-wrapper {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1fr;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.service-item:hover {
    border-color: var(--accent-gold);
    padding-left: 2rem;
    /* Slide effect */
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
}

.service-item:hover .service-number {
    color: var(--accent-gold);
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--text-muted);
    max-width: 500px;
}

.service-link {
    justify-self: end;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.service-item:hover .service-link {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    transform: rotate(-45deg);
}

/* Contact */
.contact-section {
    padding-bottom: 5rem;
}

.contact-card {
    background: var(--bg-card);
    border: var(--glass-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    /* For image */
}

.contact-info {
    padding: 5rem;
}

.contact-image {
    position: relative;
}

.contact-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* filter: grayscale(100%); */
    opacity: 0.8;
}

.contact-links li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-links i {
    color: var(--accent-gold);
}

.footer-content {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand span {
    color: var(--accent-gold);
}

/* Anim setup */
.fade-in-up,
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

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

    .about-image img {
        height: 400px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-link {
        justify-self: start;
        margin-top: 1rem;
    }

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