/* RSJ dr. Yaunin - Main Stylesheet */
/* Deep Blue Theme */

:root {
    --primary-color: #000080;
    /* Navy Blue */
    --secondary-color: #0000A0;
    /* Lighter Navy */
    --accent-color: #1E90FF;
    /* Dodger Blue */
    --accent-hover: #00BFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navbar */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--text-white);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 37, 63, 0.9), rgba(13, 37, 63, 0.8)), url('../images/background.PNG');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 5rem 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

/* Sections General */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
}

/* Feature Section with Background (Light Wave) */
.section-feature {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23F1F5F9' fill-opacity='1' d='M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,224C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    color: var(--text-dark);
}

.section-feature .section-title h2 {
    color: var(--primary-color);
}

.section-feature .section-title p {
    color: var(--text-light);
}

/* Tabbed Content (Segmented Control) - Light Theme */
.segmented-control {
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 2rem;
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.segment-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.segment-btn.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

/* Glass Card adapted for Light Background (Soft Card) */
.glass-card {
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.glass-card p {
    color: var(--text-dark) !important;
}

.glass-card ul li {
    color: var(--text-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    background-color: var(--border-color);
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Sticky Contact */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    font-size: 2rem;
}

.float-btn.phone {
    background-color: var(--secondary-color);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        width: 100%;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}