/* ============================================
   My Precision Perio - Custom Styles
   Color Scheme: Shades of Blue & Light Grays
   Fonts: Arvo (headers), Inter (body)
   ============================================ */

:root {
    --primary: #2b7cca;
    --primary-light: #e8f4fd;
    --primary-dark: #1a5a9e;
    --primary-accent: #42b3e5;
    --text-dark: #1e2a3a;
    --text-muted: #5a6d7e;
    --bg-light: #f4f7fa;
    --bg-white: #ffffff;
    --border-radius: 1rem;
    --shadow: 0 4px 24px rgba(43, 124, 202, 0.08);
    --shadow-hover: 0 8px 32px rgba(43, 124, 202, 0.15);
}

/* Base */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arvo', serif;
    font-weight: 700;
    color: var(--text-dark);
}

p {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Utility */
.tracking-wide {
    letter-spacing: 2px;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Override Bootstrap primary */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(43, 124, 202, 0.3);
    transform: translateY(-1px);
}

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

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

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: box-shadow 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.03);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.hero-section h1 {
    line-height: 1.2;
}

.hero-image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* Cards */
.about-card,
.feature-box,
.info-card,
.location-card,
.testimonial-card,
.service-card,
.contact-info-card {
    background: var(--bg-white);
    border: 1px solid rgba(43, 124, 202, 0.08);
    transition: all 0.3s ease;
}

.feature-box:hover,
.info-card:hover,
.service-card:hover,
.testimonial-card:hover,
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(43, 124, 202, 0.15);
}

.service-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
}

.service-icon-circle i {
    font-size: 1.5rem !important;
}

/* Service Details */
.service-detail {
    border-left: 4px solid var(--primary);
}

.service-detail h3 {
    color: var(--primary);
}

.service-detail ul {
    padding-left: 1.2rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Page Header */
.page-header-section {
    border-bottom: 1px solid rgba(43, 124, 202, 0.08);
}

/* Testimonials */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Arvo', serif;
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

/* Location Cards */
.location-card h4,
.location-card h3 {
    color: var(--primary);
}

.location-card hr {
    border-color: var(--primary-light);
}

/* Contact Info Cards */
.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.8rem !important;
}

/* Doctor Section */
.doctor-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow);
}

.doctor-card {
    background: var(--bg-white);
    border: 1px solid rgba(43, 124, 202, 0.08);
    transition: all 0.3s ease;
}

/* Footer */
.footer-section {
    background-color: #1a2a3a;
    color: #ffffff;
}

.footer-section h5 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Tables in contact */
.table td {
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
}

.table td a {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-image-wrapper {
        min-height: 200px;
        padding: 0;
    }

    .service-card,
    .location-card,
    .contact-info-card {
        margin-bottom: 0.5rem;
    }

    .doctor-image {
        width: 150px;
        height: 150px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}
