:root {
    --primary-color: #0a0a0f;
    --primary-light: #1c1c26;
    --primary-dark: #000000;
    --accent-color: #8b5cf6;
    --accent-hover: #7c3aed;
    --text-dark: #f3f4f6;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    --bg-light: #11111a;
    --bg-white: #0a0a0f;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

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

.text-light {
    color: var(--text-white) !important;
}

.text-gold {
    color: var(--accent-color) !important;
}

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

.dark-section {
    position: relative;
    background-color: var(--primary-color);
    color: var(--text-white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.85), rgba(139, 92, 246, 0.1));
    z-index: -1;
}

#results {
    background-image: url('img/results-bg.jpg');
}

.contact-section {
    background-image: url('img/contact-bg.jpg');
}

.dark-section h2, .dark-section h3 {
    color: var(--text-white);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-cre {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.05em;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 1px solid var(--text-light);
    padding-left: 0.5rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-white);
}

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

.main-nav .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.2) 0%, rgba(10, 10, 15, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* About Section */
.section-header {
    margin-bottom: 3rem;
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.check-list {
    margin-top: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.about-highlight {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.highlight-box {
    margin-top: 2rem;
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.highlight-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-color);
}

.highlight-box blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-white);
}

.highlight-box cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    text-align: right;
}

/* Specialties / Services */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.specialty-card {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    color: var(--text-white);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
}

.specialty-card::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 1rem;
}

.specialty-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.specialty-card.accent {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.specialty-card.accent::before {
    background-color: var(--text-white);
}

/* Results / Stats Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.result-item {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.result-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.result-icon {
    color: var(--accent-color);
    margin-bottom: 1rem;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
}

.result-item h3 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.result-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Clients */
.clients-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.client-card {
    flex: 1 1 300px;
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-color);
    text-align: center;
}

.client-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.client-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Team */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-card {
    background-color: var(--primary-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    width: 300px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.team-role {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

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

.contact-details {
    margin-top: 3rem;
}

.contact-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-row .icon {
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-row h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.contact-row p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    background-color: var(--primary-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--text-white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.2);
    color: var(--text-white);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-brand .logo-cre {
    color: var(--text-white);
}

.footer-brand .logo-text {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links, .footer-services, .footer-social {
    flex: 1;
    min-width: 150px;
}

.footer-top h4 {
    color: var(--text-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-top ul li {
    margin-bottom: 0.8rem;
}

.footer-top a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

/* Client Card Images */
.client-card {
    position: relative;
    overflow: hidden;
}

.client-card img {
    width: calc(100% + 4rem);
    margin: -2rem -2rem 1.5rem -2rem;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.client-card:hover img {
    transform: scale(1.05);
}

/* About Image */
.about-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary-color);
        padding: 2rem;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .main-nav a {
        color: var(--text-white);
        font-size: 1.25rem;
        display: block;
        width: 100%;
    }
    
    .hero-section {
        height: auto;
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 4rem;
        text-align: center;
    }
    
    .hero-content, .hero-tagline {
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .contact-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
