/* ADCX Lab - Luxury Landing Page */
/* Color Palette: Charcoal + Copper + Off-white */

:root {
    --forest-green: #1B4332;
    --antique-gold: #C9A961;
    --ivory: #FFFEF7;
    --dark-bg: #0F1E1A;
    --text-primary: #2D2D2D;
    --text-secondary: #5A5A5A;
    --white: #ffffff;
    --shadow: rgba(27, 67, 50, 0.1);
    --shadow-lg: rgba(27, 67, 50, 0.2);
    --gold-glow: rgba(201, 169, 97, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C9A961, #B89850);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--gold-glow);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px var(--gold-glow);
    }
    50% {
        box-shadow: 0 4px 30px rgba(201, 169, 97, 0.6);
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 30, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--ivory);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--antique-gold);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--antique-gold);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F1E1A 0%, #1B4332 50%, #2D5A47 100%);
}

.particle {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #C9A961 0%, rgba(201, 169, 97, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: float-up 15s infinite ease-in;
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.8), 0 0 6px rgba(255, 255, 255, 0.4);
}

@keyframes float-up {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift, 20px));
        opacity: 0;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--antique-gold);
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--antique-gold), #B89850);
    color: var(--white);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.5);
}

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

.btn-secondary:hover {
    background: var(--antique-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--forest-green);
    border-color: var(--forest-green);
}

.btn-outline:hover {
    background: var(--forest-green);
    color: var(--white);
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--antique-gold);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Trusted By Section */
.trusted {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    color: var(--forest-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-weight: 600;
}

.marquee {
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

.marquee-content img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Section Styles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
    color: var(--forest-green);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--ivory);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--antique-gold), #B89850);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 2px solid var(--antique-gold);
    transform: scale(1.05);
}

.service-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--antique-gold);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 10px;
}

.service-time {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-primary);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--antique-gold);
    font-weight: bold;
}

.service-best {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 20px;
}

.rush-options {
    text-align: center;
    margin-top: 60px;
}

.rush-options h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--forest-green);
}

.rush-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.rush-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.rush-card h4 {
    color: var(--forest-green);
    margin-bottom: 10px;
}

.rush-price {
    font-size: 1.5rem;
    color: var(--antique-gold);
    font-weight: 600;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.portfolio-card {
    background: var(--ivory);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #1B4332 0%, #2D5A47 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

/* Remove specific Calyra styling - all cards same now */

.portfolio-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    color: var(--forest-green);
    margin-bottom: 8px;
}

.portfolio-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.portfolio-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.portfolio-status.live {
    background: #d4edda;
    color: #155724;
}

.portfolio-status.dev {
    background: #fff3cd;
    color: #856404;
}

/* WhatEazy Section */
.whateazy {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--forest-green), #0F1E1A);
    color: var(--white);
}

.whateazy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.whateazy h2 {
    font-size: 3rem;
    color: var(--antique-gold);
    margin-bottom: 15px;
}

.whateazy-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.whateazy-features {
    list-style: none;
    margin-bottom: 30px;
}

.whateazy-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.whateazy-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--antique-gold);
    font-weight: bold;
}

.whateazy-visual {
    display: grid;
    gap: 20px;
}

.whateazy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s ease;
}

.whateazy-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.whateazy-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.whateazy-card h3 {
    color: var(--antique-gold);
    margin-bottom: 10px;
}

.whateazy-card p {
    opacity: 0.9;
}

/* Why AWS Section */
.why-aws {
    padding: 100px 0;
    background: var(--ivory);
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-col {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
}

.comparison-col.highlight {
    border: 2px solid var(--antique-gold);
    transform: scale(1.05);
}

.comparison-col h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--forest-green);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
}

.comparison-list.negative li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc3545;
}

.comparison-list.positive li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--antique-gold);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--ivory);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--forest-green);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--off-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-tagline {
    color: var(--antique-gold);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--antique-gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--off-white);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--antique-gold);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #0F1E1A 0%, #1B4332 100%);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 998;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu::before {
        content: 'MENU';
        position: absolute;
        top: 40px;
        left: 40px;
        color: var(--antique-gold);
        font-size: 0.8rem;
        letter-spacing: 3px;
        font-weight: 600;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    }

    /* Overlay when menu open */
    .nav-menu.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 80%;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: -1;
    }

    .nav-toggle {
        display: flex;
        z-index: 999;
    }

    .whatsapp-float {
        width: 70px;
        height: 70px;
    }

    .whatsapp-float svg {
        width: 36px;
        height: 36px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

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

    .service-card.featured {
        transform: scale(1);
    }

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

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

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

    .comparison-col.highlight {
        transform: scale(1);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
