/*
 * SALUS Health Centre – main site styles
 * BEM-style blocks where applicable
 */

:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --text-main: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.py-100 { padding: 100px 0; }
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-base);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

/* Navbar Customization */
.navbar-custom {
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar-custom.navbar-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.brand-subtext {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.navbar-custom .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 10px;
    transition: var(--transition-base);
}

.navbar-custom .nav-link:hover {
    color: var(--primary-color);
}

.navbar-custom.navbar-scrolled .nav-link {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: url('https://images.unsplash.com/photo-1591343395902-1adcb454c2e4?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(46, 204, 113, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.text-highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.hero-scroll-indicator a {
    color: var(--white);
    font-size: 1.5rem;
}

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

/* Stats Section */
.stats-section {
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 3;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

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

/* About Section */
.about-img-wrapper {
    position: relative;
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-strong);
}

.badge-year {
    font-size: 1.5rem;
    font-weight: 800;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing Table */
.pricing-table-wrapper {
    background: var(--white);
}

.pricing-table-wrapper table tr {
    transition: var(--transition-base);
}

.pricing-table-wrapper table tr:hover {
    background-color: rgba(46, 204, 113, 0.05);
}

/* Contact Section */
.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-form-wrapper {
    border: 1px solid rgba(0,0,0,0.05);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

/* Animations */
.animate-up, .animate-left, .animate-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up { transform: translateY(50px); }
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .hero-content {
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .py-100 { padding: 60px 0; }
    .about-experience-badge { right: 0; bottom: -20px; padding: 15px; }
    .navbar-custom { background: var(--white); padding: 10px 0; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .stats-section { margin-top: 20px; border-radius: 0; }
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-img {
    width: 80%;
    height: 80%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 10px solid rgba(255, 255, 255, 0.1);
    animation: morph 8s ease-in-out infinite;
    z-index: 2;
}

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

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 0;
    animation-delay: -3s;
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: -20px;
    left: -20px;
    animation: pulse 10s infinite alternate;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    bottom: -20px;
    right: -20px;
    animation: pulse 8s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0.6; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    background: rgba(26, 26, 26, 0.96);
    color: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-banner__content {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.cookie-banner__content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }
}
