/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #4c1d95;
    --plum-950: #2e1065;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--plum-900);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-amber {
    color: var(--amber-500);
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--plum-700);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-700);
    color: #ffffff;
    border: 2px solid var(--plum-700);
}

.btn-primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    color: var(--neutral-700);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.mobile-menu-content a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-700);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-100);
}

.mobile-menu-content a:hover {
    color: var(--plum-700);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(76, 29, 149, 0.85) 0%,
        rgba(46, 16, 101, 0.9) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 8rem 0 6rem;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-accent {
    color: var(--amber-400);
    display: block;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    background: var(--plum-50);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    padding: 6rem 0;
    background: var(--neutral-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 6rem 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--plum-900);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

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

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.about-features svg {
    flex-shrink: 0;
}

/* ===== STATS ===== */
.stats {
    padding: 4rem 0;
    background: var(--plum-900);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* ===== PROJECTS ===== */
.projects {
    padding: 6rem 0;
    background: var(--neutral-50);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(76, 29, 149, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--amber-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.project-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

/* ===== CTA ===== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 100%);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== CONTACT ===== */
.contact {
    padding: 6rem 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 1rem 0;
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-900);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--plum-600);
}

.contact-item a:hover {
    color: var(--plum-800);
    text-decoration: underline;
}

/* ===== FORM ===== */
.contact-form-wrapper {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-800);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neutral-900);
    text-transform: uppercase;
}

.form-success p {
    color: var(--neutral-600);
}

/* ===== MAP ===== */
.map-section {
    background: var(--neutral-200);
}

.map-section iframe {
    width: 100%;
    height: 350px;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--neutral-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--amber-400);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
[data-anim] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-anim="fade-right"] {
    transform: translateX(-20px);
}

[data-anim="fade-left"] {
    transform: translateX(20px);
}

[data-anim].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 7rem 0 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-badge {
        bottom: -1rem;
        right: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    [data-anim] {
        opacity: 1;
        transform: none;
    }
}
