/* 
    Laboratorio Clínico Claret Ariño Garcia S.A.S.
    Main Stylesheet - Clinical Premium Aesthetic
*/

:root {
    --clinical-blue: #004e89ff;
    --clinical-blue-hover: #1a659eff;
    --soft-blue: #f0f7ff;
    --health-green: #28a745;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --gray-light: #f8f9fa;
    --transition-smooth: all 0.3s ease;
    --hero-title-color: #fbf8f8;
    --hero-title-color-hover: #004494;
    --atomic-tangerine: #ff6b35ff;
    --atomic-tangerine-hover: rgb(248, 69, 4);
    --peach-glow: #f7c59fff;
    --beige: #efefd0ff;
    --steel-azure: #004e89ff;
    --baltic-blue: #1a659eff;
    --hero-text-color: #010101;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--clinical-blue);
}

.text-clinical {
    color: var(--clinical-blue) !important;
}

.bg-clinical {
    background-color: var(--clinical-blue) !important;
}

.bg-soft-blue {
    background-color: var(--soft-blue) !important;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: var(--white);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clinical-blue) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clinical-blue) !important;
}

/* Buttons */
.btn-clinical {
    background-color: var(--atomic-tangerine);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition-smooth);
}

.btn-clinical:hover {
    background-color: var(--atomic-tangerine-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-outline-clinical {

    background-color: #ffffff;
    color: var(--atomic-tangerine);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-clinical:hover {
    background-color: var(--atomic-tangerine-hover);
    color: var(--white);
}

/* Hero Section */
.hero-slider .carousel-item {
    height: 80vh;
    min-height: 500px;
    background-color: var(--soft-blue);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    color: var(--hero-title-color);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text {
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    padding: 10px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slider .carousel-item {
        height: 60vh;
    }
}

/* Section Utility */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Cards */
.card-service {
    border: none;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-service i {
    font-size: 3rem;
    color: var(--clinical-blue);
    margin-bottom: 1.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--health-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--clinical-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 5px;
}

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

/* Parallax Section */
.parallax-section {
    position: relative;
    height: 450px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.parallax-content h2 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.parallax-content p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Contact Support Styles */
.icon-box {
    transition: var(--transition-smooth);
}

.icon-box:hover {
    transform: scale(1.1);
    background-color: var(--clinical-blue) !important;
    color: var(--white) !important;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        height: 350px;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
}