@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

:root {
    --gold: #F3AF32;
    --dark: #0d0d0d;
    --accent-color: #F3AF32;
    --bg-color: #0d0d0d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier Prime', monospace;
}

body {
    background-color: var(--dark);
    color: #f0f0f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23181818' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow-x: hidden;
}

/* Professional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceSlow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-left {
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
}

.animate-slide-in {
    animation: slideIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-left {
    animation: slideInLeft 1.2s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-right {
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 0;
}

.animate-bounce-slow {
    animation: bounceSlow 2s infinite;
}

/* Utility Classes */
.gold-text {
    color: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 175, 50, 0.1);
}

header img.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

header img.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, var(--gold), #FFD700);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.98), rgba(26, 26, 26, 0.98));
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(243, 175, 50, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Code Animation */
.code-animation {
    overflow: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.code-line {
    position: absolute;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0.3;
    animation: slideCode 20s linear infinite;
    color: var(--gold);
    font-family: 'Courier Prime', monospace;
}

@keyframes slideCode {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Logo and Glitch Effect */
.logo-text {
    position: relative;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(243, 175, 50, 0.5);
}

.glitch-effect {
    animation: glitch 3s ease-in-out;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: 0 0 20px rgba(243, 175, 50, 0.5);
    }
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(30, 30, 30, 0.8));
    border: 1px solid rgba(243, 175, 50, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: auto;
    min-height: 350px;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(243, 175, 50, 0.3);
}

.service-card .service-icon {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card .service-details {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

/* Cases Section */
.case-slide {
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(50px);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.case-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.case-slides {
    position: relative;
    min-height: 500px;
}

.case-image {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(243, 175, 50, 0.2);
}

.case-image:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(243, 175, 50, 0.3);
}

.case-status span {
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.case-stats {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.case-dot {
    background-color: rgba(243, 175, 50, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-dot.active,
.case-dot:hover {
    background-color: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(243, 175, 50, 0.5);
}

.case-nav {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.case-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(243, 175, 50, 0.3);
}

/* Team Section */
.team-member {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.team-photo {
    filter: grayscale(100%) brightness(0.7) contrast(1.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.team-member:hover .team-photo {
    filter: grayscale(0%) brightness(1) contrast(1);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95), transparent);
    padding: 1.5rem;
    transform: translateY(70%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .team-info {
    transform: translateY(0);
}

/* Form Styles */
.form-input {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(40, 40, 40, 0.8));
    border: 1px solid rgba(243, 175, 50, 0.3);
    color: #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(243, 175, 50, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.form-input.valid {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.form-input.invalid {
    border-color: #F44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, transparent, rgba(243, 175, 50, 0.1));
    border: 2px solid var(--gold);
    color: var(--gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), #FFD700);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(243, 175, 50, 0.3);
}

.btn:hover::before {
    left: 0;
}

/* Section Styles */
.section {
    min-height: 100vh;
    padding: 6rem 0;
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 4rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #FFD700);
    border-radius: 2px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Brochure Section */
#brochure {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(243, 175, 50, 0.1), rgba(243, 175, 50, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(243, 175, 50, 0.2);
    margin-top: 2rem;
}

#brochure a {
    display: inline-block;
    margin-top: 15px;
    background: var(--gold);
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

#brochure a:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 175, 50, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .case-nav {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background-color: var(--gold);
    color: var(--dark);
}

::-moz-selection {
    background-color: var(--gold);
    color: var(--dark);
}
