/* ===========================
   HUME DENTAL HUB - STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0099cc;
    --secondary-color: #00d084;
    --dark-color: #001b3d;
    --light-color: #f5f7fa;
    --text-color: #334e68;
    --border-color: rgba(0, 27, 61, 0.1);
    --shadow: 0 4px 12px rgba(0, 27, 61, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 27, 61, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

/* ===========================
   HEADER
   =========================== */

.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.call-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.call-button:hover {
    background: var(--primary-color);
    color: white;
}

.phone-icon {
    font-size: 1.25rem;
}

.call-text {
    font-size: 0.85rem;
    line-height: 1.3;
}

.book-button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-button:hover {
    background: #00b86d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
    padding: 4rem 2rem;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #00b86d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 208, 132, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.trust-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
    gap: -0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid white;
    margin-left: -0.5rem;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.location-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-icon {
    font-size: 1.5rem;
}

.location-badge strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.25rem;
}

.location-badge p {
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
}

/* ===========================
   OFFERS SECTION
   =========================== */

.offers {
    padding: 4rem 2rem;
    background: var(--light-color);
}

.offers-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin: 1rem 0;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.offer-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.offer-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.offer-description {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.offer-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.offer-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.offer-features li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.offer-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.offer-button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.offer-button:hover {
    background: #00b86d;
}

/* ===========================
   DENTIST SECTION
   =========================== */

.dentist {
    padding: 4rem 2rem;
    background: white;
}

.dentist-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.dentist-image {
    display: flex;
    justify-content: center;
}

.dentist-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.dentist-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.dentist-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.dentist-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.dentist-content .btn {
    margin-top: 1rem;
}

/* ===========================
   BOOKING SECTION
   =========================== */

.booking {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.booking-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.booking h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.booking > div > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.booking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.booking-option h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.booking-option .btn {
    background: white;
    color: var(--primary-color);
    width: 100%;
    justify-content: center;
}

.booking-option .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.payment-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.payment-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-content p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-info {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .dentist-container {
        grid-template-columns: 1fr;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .booking h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .call-button,
    .book-button {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .offer-card {
        margin: 0;
    }

    .booking-options {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        flex-direction: column;
    }

    .payment-badge {
        width: 100%;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offer-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    animation: slideIn 0.8s ease-out;
}
