/* General Styles & Variables */
:root {
    --primary-color: #DC143C; /* Đỏ đậm */
    --secondary-color: #F75270; /* Hồng đậm */
    --light-pink: #F7CAC9;    /* Hồng nhạt */
    --light-beige: #FDEBD0;   /* Vàng kem nhạt */
    --text-dark: #333;
    --text-light: #fff;
    --text-medium: #555;
    --font-family: 'Noto Sans', sans-serif;
    --padding-section: 80px 0;
    --border-radius-default: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--primary-color); margin-bottom: 20px; }
h1 { font-size: 2.8em; font-weight: 700; color: var(--text-light); }
h2 { font-size: 2.2em; font-weight: 600; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.6em; font-weight: 600; margin-top: 15px; }
p { margin-bottom: 15px; color: var(--text-medium); }
a { text-decoration: none; color: var(--secondary-color); }
.section { padding: var(--padding-section); }

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius-default);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary { background-color: var(--primary-color); color: var(--text-light); border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: #bb1135; border-color: #bb1135; transform: translateY(-3px); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--text-light); }
.btn-large { padding: 15px 35px; font-size: 1.1em; }

/* Header */
.header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; }
.navbar ul { list-style: none; display: flex; }
.navbar ul li { margin-left: 30px; }
.navbar ul li a { color: var(--text-dark); font-weight: 600; padding: 5px 0; position: relative; }
.navbar ul li a:hover { color: var(--primary-color); }
.navbar ul li a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background-color: var(--primary-color); transition: width 0.3s ease; }
.navbar ul li a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 20px; }
.header-cta .phone-link { color: var(--primary-color); font-weight: 600; font-size: 1.1em; }
.header-cta .phone-link i { margin-right: 8px; }

/* Hero Section */
.hero {
    color: var(--text-light);
    text-align: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('background.jpg') no-repeat center center/cover;
    z-index: 1;
    transition: transform 0.4s ease-out;
}
.hero:hover .hero-background {
    transform: scale(1.05);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.7), rgba(247, 82, 112, 0.6));
    z-index: 2;
}
.hero .container { position: relative; z-index: 3; }
.hero-content h1 { font-size: 3.5em; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-content h2 { font-size: 2.2em; font-weight: 400; margin-bottom: 25px; color: var(--text-light); text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
.hero-content p { max-width: 700px; margin: 0 auto 40px auto; font-size: 1.1em; line-height: 1.8; color: rgba(255, 255, 255, 0.9); }
.hero-actions .btn { margin: 0 10px; }

/* Services Section */
.services { background-color: var(--light-beige); text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: var(--border-radius-default);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover { transform: translateY(-10px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.service-item .icon-large { font-size: 3em; color: var(--secondary-color); margin-bottom: 10px; }

/* Doctors Section */
.doctors { background-color: var(--light-pink); text-align: center; }
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; justify-content: center;}
.doctor-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius-default);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doctor-card:hover { transform: translateY(-10px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.doctor-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}
.doctor-card:hover .doctor-image-container img {
    transform: scale(1.1);
}
.doctor-card h3 { color: var(--primary-color); font-size: 1.5em; margin: 20px 0 5px 0; }
.doctor-card .doctor-title { font-weight: 500; color: var(--text-dark); margin-bottom: 10px; font-style: italic; }
.doctor-card .doctor-desc { font-size: 0.95em; color: var(--text-medium); padding: 0 20px 20px 20px; }

/* Contact Section */
.contact { background-color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; text-align: left; }
.contact-form { background-color: var(--light-beige); padding: 40px; border-radius: var(--border-radius-default); }
.contact-form h3 { margin-top: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1em; }
.contact-info { background-color: var(--light-beige); padding: 40px; border-radius: var(--border-radius-default); }
.contact-info h3 { margin-top: 0; }
.contact-info p { display: flex; align-items: flex-start; }
.contact-info p i { color: var(--secondary-color); margin-right: 15px; font-size: 1.2em; padding-top: 3px; }
.contact-info ul { list-style: none; padding-left: 35px; }

/* Footer */
.footer { background-color: var(--primary-color); color: var(--text-light); text-align: center; padding: 20px 0; }

/* Responsive */
@media (max-width: 992px) {
    .navbar { display: none; }
    .header .container { justify-content: center; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5em; } h2 { font-size: 1.8em; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-actions { display: flex; flex-direction: column; align-items: center; gap: 15px; }
    .hero-actions .btn { width: 80%; margin: 0; }
}
