/* ========== Base Styles ========== */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, lightsteelblue, #f0f4f8);
    margin: 0;
    padding: 0;
    color: #333;
}

/* Navbar */
.navbar-brand {
    color: #1e3a8a; /* navy tone for trustworthiness */
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #2563eb; /* brighter blue on hover */
}

/* Shared Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ========== Home Page ========== */
.hero-section {
    height: 65vh;
    background: url('/static/dental/images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* dark overlay */
}

/* Welcome Section */
.welcome-content {
    text-align: center;
    padding: 80px 20px;
}

.welcome-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Commitments List */
.commitments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.commitments li {
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    list-style: none;
    width: 60%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.commitments li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* ========== About Page ========== */
.about-hero {
    height: 50vh;
    background: url('/static/dental/images/about/about-hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* slightly darker than home hero */
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-section h2 {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* About Page Image */
.about-section img {
    max-width: 90%;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.about-section img:hover {
    transform: scale(1.03);
}

/* ========== Services Page ========== */
.services-hero {
    height: 45vh;
    background: url('/static/dental/images/services/services-hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* slightly darker overlay */
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Fees Section */
.fees-section h1 {
    color: #1e3a8a;
    font-weight: bold;
}

.fees-section .table {
    border-radius: 12px;
    overflow: hidden;
}

.fees-section .table th {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fees-section .table td {
    font-size: 0.95rem;
}

.fees-section .table-hover tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.08); /* subtle blue hover */
}

/* Testimonials Section */
.testimonials-section h1 {
    color: #1e3a8a;
    font-weight: bold;
}

.testimonial-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.testimonial-card .card-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Contact Section */
.contact-section h1 {
    color: #1e3a8a;
    font-weight: bold;
}

.contact-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 20px;
    max-width: 100%; /* ensures responsive */
    margin: 0 auto; /* center if small */
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.contact-card .card-title {
    color: #2563eb;
    font-weight: 600;
}

.contact-card p {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* Google Map Styling */
.map-container iframe {
    border-radius: 12px;
    border: 0;
    width: 100%;
    max-height: 300px;
}

.map-container iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Staff Section */
.staff-section h1 {
    color: #1e3a8a;
    font-weight: bold;
}

.staff-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-bottom: 20px;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.staff-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #2563eb;
}

.staff-card .card-title {
    font-weight: 600;
    margin-top: 10px;
}

.staff-card .card-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* Appointment Form */
.appointments-section h1 {
    color: #1e3a8a;
    font-weight: bold;
}

.appointments-section form .form-control {
    border-radius: 8px;
    padding: 10px;
}

.appointments-section form button {
    border-radius: 8px;
    font-weight: bold;
    padding: 10px;
    color: blue;
}
