/* ========================================
   Dr YES — Custom Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */
.nav-fixed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
}

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

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

.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.88) 0%,
        rgba(15, 23, 42, 0.75) 50%,
        rgba(4, 47, 46, 0.70) 100%
    );
}

.hero-badge {
    animation: fadeInUp 0.6s ease-out both;
}

.hero-headline {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subheadline {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-ctas {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-cta-primary {
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.hero-cta-primary:hover {
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.hero-scroll {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

/* ========================================
   Section Styles
   ======================================== */
.section-label {
    animation: fadeInUp 0.5s ease-out both;
}

.section-title {
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.section-desc {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

/* ========================================
   Product Cards
   ======================================== */
.product-card {
    animation: fadeInUp 0.5s ease-out both;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   About Section
   ======================================== */
.about-float-card {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   Feature Cards
   ======================================== */
.feature-card {
    animation: fadeInUp 0.5s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   Contact Cards
   ======================================== */
.contact-card {
    animation: fadeInUp 0.5s ease-out both;
}

.contact-card:nth-child(1) { animation-delay: 0.05s; }
.contact-card:nth-child(2) { animation-delay: 0.1s; }
.contact-card:nth-child(3) { animation-delay: 0.15s; }

/* ========================================
   Input Fields
   ======================================== */
.input-field {
    transition: all 0.2s ease;
}

.input-field:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.input-field::placeholder {
    color: #94a3b8;
}

/* ========================================
   Submit Button
   ======================================== */
.btn-submit {
    transition: all 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ========================================
   Success Message
   ======================================== */
.success-message {
    animation: fadeInUp 0.4s ease-out;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   Scroll Reveal (Progressive Enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    transition: all 0.2s ease;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 70px;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 5rem;
    }
}
