/* ═══════════════════════════════════════════════════════════════════
   BIO-INGREDIENTS DUAL PLANT - CUSTOM STYLES
   Medical Luxury Design System
═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   BASE STYLES
───────────────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

*::selection {
    background-color: #C4A962;
    color: #0A3D3D;
}

/* ─────────────────────────────────────────────────────────────────
   NAVIGATION STYLES
───────────────────────────────────────────────────────────────── */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-scrolled {
    box-shadow: 0 4px 30px rgba(10, 61, 61, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #C4A962, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0A3D3D;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

/* ─────────────────────────────────────────────────────────────────
   TYPOGRAPHY & DECORATIVE ELEMENTS
───────────────────────────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #0A3D3D 0%, #1A5F5F 50%, #C4A962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-decoration::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, #C4A962, transparent);
    margin-top: 1.5rem;
}

.line-decoration-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ─────────────────────────────────────────────────────────────────
   ANIMATIONS & KEYFRAMES
───────────────────────────────────────────────────────────────── */

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Floating Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

.floating-badge {
    animation: float 4s ease-in-out infinite;
}

/* Scroll Indicator */
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}

.scroll-dot {
    animation: scrollBounce 2s infinite;
}

.scroll-indicator {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
}

/* Seaweed Animation */
@keyframes sway {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

.seaweed-animation {
    animation: sway 4s ease-in-out infinite;
    transform-origin: bottom center;
}

.seaweed-path-1 {
    animation: sway 4s ease-in-out infinite;
}

.seaweed-path-2 {
    animation: sway 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.seaweed-path-3 {
    animation: sway 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Corner Accents */
@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

.corner-accent {
    animation: cornerPulse 3s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────────
   PRODUCT CARDS
───────────────────────────────────────────────────────────────── */
.product-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(10, 61, 61, 0.15);
}

.product-icon {
    transition: transform 0.7s ease, border-color 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    border-color: rgba(26, 95, 95, 0.4);
}

.icon-rotate {
    transition: transform 0.5s ease;
}

.product-card:hover .icon-rotate {
    transform: rotate(15deg);
}

.badge-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .badge-float {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 61, 61, 0.1);
}

/* Link Arrow Animation */
.link-arrow .arrow-icon {
    transition: transform 0.3s ease;
}

.link-arrow:hover .arrow-icon {
    transform: translateX(4px);
}

/* List Item Animation */
.list-item-animate {
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.product-card:hover .list-item-animate {
    padding-left: 4px;
}

/* ─────────────────────────────────────────────────────────────────
   QUALITY SECTION
───────────────────────────────────────────────────────────────── */
.quality-item {
    transition: transform 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-4px);
}

.quality-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.quality-item:hover .quality-icon {
    transform: scale(1.1);
    background-color: rgba(10, 61, 61, 0.1);
}

/* ─────────────────────────────────────────────────────────────────
   LABEL SECTION
───────────────────────────────────────────────────────────────── */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.decorative-circle {
    animation: rotate 60s linear infinite;
}

.decorative-circle-delayed {
    animation: rotate 80s linear infinite reverse;
}

.label-badge {
    transition: transform 0.5s ease;
}

.label-badge:hover {
    transform: scale(1.02);
}

@keyframes subtleRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(1deg);
    }
}

.badge-rotate {
    animation: subtleRotate 8s ease-in-out infinite;
}

.badge-inner {
    transition: transform 0.5s ease;
}

.label-badge:hover .badge-inner {
    transform: scale(1.05);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.badge-icon {
    animation: iconPulse 3s ease-in-out infinite;
}

.corner-line {
    transition: all 0.3s ease;
}

.label-badge:hover .corner-line {
    border-color: rgba(196, 169, 98, 0.8);
}

/* Check Items */
.check-item {
    transition: transform 0.3s ease;
}

.check-item:hover {
    transform: translateX(4px);
}

.check-circle {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.check-item:hover .check-circle {
    transform: scale(1.1);
    background-color: rgba(196, 169, 98, 0.3);
}

/* ─────────────────────────────────────────────────────────────────
   FOOTER & CONTACT
───────────────────────────────────────────────────────────────── */
.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Form Styles */
.form-group {
    position: relative;
}

.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    box-shadow: 0 2px 0 0 #C4A962;
}

.form-input::placeholder {
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder {
    opacity: 0.5;
}

/* Submit Button */
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

/* Social Links */
.social-link {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link svg {
    transition: color 0.3s ease;
}

.social-link:hover svg {
    color: #C4A962;
}

/* ─────────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────────── */
.btn-hover {
    position: relative;
    overflow: hidden;
}

.btn-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hover:hover::after {
    width: 300px;
    height: 300px;
}

/* ─────────────────────────────────────────────────────────────────
   BACK TO TOP BUTTON
───────────────────────────────────────────────────────────────── */
#backToTop {
    transform: translateY(20px);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-2px);
}

#backToTop svg {
    transition: transform 0.3s ease;
}

#backToTop:hover svg {
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────────────
   HERO IMAGE CONTAINER
───────────────────────────────────────────────────────────────── */
.hero-image-container {
    transition: transform 0.5s ease;
}

.hero-image-container:hover {
    transform: scale(1.02);
}

/* ─────────────────────────────────────────────────────────────────
   LOADING STATES
───────────────────────────────────────────────────────────────── */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ─────────────────────────────────────────────────────────────────
   SUCCESS/ERROR MESSAGES
───────────────────────────────────────────────────────────────── */
.message-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.message-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE ADJUSTMENTS
───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .floating-badge {
        animation: none;
    }
    
    .seaweed-animation {
        animation: none;
    }
    
    .decorative-circle,
    .decorative-circle-delayed {
        animation: none;
    }
}

/* 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;
    }
}

/* ─────────────────────────────────────────────────────────────────
   PRINT STYLES
───────────────────────────────────────────────────────────────── */
@media print {
    nav,
    #backToTop,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    section {
        page-break-inside: avoid;
    }
}
/* ─────────────────────────────────────────────────────────────────
   LOGO STYLES
───────────────────────────────────────────────────────────────── */
.logo-nav {
    height: 80px; /* 12 * 4px = 48px (h-12) */
    width: auto;
    object-fit: contain;
}

.logo-footer {
    height: 80px; /* 10 * 4px = 40px (h-10) */
    width: auto;
    object-fit: contain;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-nav {
        height: 80px;
    }
    
    .logo-footer {
        height: 80px;
    }
}