:root {
    --primary-color: #D7C376;
    --secondary-color: #673D3D;
    --bg-color: #fdfbf7;
    --text-color: #333;
    --border-radius: 20px;
    --gap: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.bento-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns by default */
    grid-template-rows: auto auto auto;
    gap: var(--gap);
    max-width: 1000px;
    width: 100%;
}

.bento-item {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(215, 195, 118, 0.3);
    /* Subtle primary border */
}

.bento-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Specific Card Layouts */
/* Specific Card Layouts */
.brand-card {
    grid-column: 1 / -1;
    /* Full width */
    text-align: center;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fcf9f0 100%);
}

.image-card {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    /* Standard height card */
    padding: 0;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    min-height: 400px;
    /* Ensure minimum visibility */
}

.image-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('images/location.png');
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    z-index: 1;
    opacity: 0.8;
}

.contact-card {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.map-card {
    grid-column: 1 / -1;
    /* Full width Map at bottom */
    grid-row: 3 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Side by side text and map */
    gap: 10px 30px;
    /* Reduced row gap */
    align-items: start;
}

.map-card h2 {
    margin-bottom: 5px;
    /* Tighter spacing for title */
}

/* Content Styling */
h1 {
    font-size: 4rem;
    /* Significantly larger */
    color: var(--secondary-color);
    margin: 15px 0 5px 0;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

p {
    font-size: 1.25rem;
    /* Larger text for legibility */
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
}

.brand-logo {
    max-width: 500px;
    /* Significantly wider */
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.doctor-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    /* Circle for doctor profile */
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.doctor-info {
    margin: 20px 0;
    width: 100%;
}

.practice-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 20px;
    background-color: rgba(215, 195, 118, 0.1);
    border-radius: 15px;
}

.practice-details p {
    margin: 0;
    font-size: 1.2rem;
}

.divider {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.status-badge {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin: 20px 0 10px 0;
}

.status-message {
    font-style: italic;
    font-size: 1.2rem;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.phone-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.8rem;
    /* Larger phone number */
    font-weight: 700;
    padding: 20px 35px;
    border-radius: 15px;
    transition: background 0.2s;
}

.phone-link:hover {
    background-color: #e5d38b;
}

.address-details {
    margin-bottom: 20px;
    width: 100%;
}

.address-text {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.note {
    font-style: italic;
    color: #666;
    font-size: 1rem;
}

.directions-box {
    background-color: #f8fcf8;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: left;
}

.directions-box strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.directions-box p {
    margin: 0;
    font-size: 1.15rem;
}

.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.direction-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary-color);
    color: #fff;
    /* White text on brown button */
    text-decoration: none;
    font-size: 1.3rem;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.direction-btn:hover {
    background-color: #502e2e;
}

/* Enhanced Contact Card Styles */
.contact-item {
    margin-bottom: 25px;
    width: 100%;
}

.contact-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.phone-link {
    flex: 1;
    text-align: center;
    min-width: 200px;
    font-size: 1.5rem;
    /* Adjusted for multiple buttons */
    padding: 15px 20px;
}

.phone-link.secondary {
    background-color: #fdf5d3;
    /* Very light primary */
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.phone-link.secondary:hover {
    background-color: #fceea7;
}

.text-link {
    font-size: 1.3rem;
    color: var(--secondary-color);
    text-decoration: underline;
    word-break: break-all;
    font-weight: 500;
}

.text-link:hover {
    color: var(--primary-color);
}

.status-pill {
    display: inline-block;
    background-color: #f0f0f0;
    color: #888;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px dashed #ccc;
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1877F2;
    /* Modern Facebook Blue */
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    transition: opacity 0.2s;
    box-shadow: 0 4px 6px rgba(24, 119, 242, 0.2);
}

.facebook-btn:hover {
    opacity: 0.9;
    box-shadow: 0 6px 12px rgba(24, 119, 242, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr;
        /* Single column */
        grid-template-rows: auto;
    }

    .brand-card,
    .image-card,
    .contact-card,
    .map-card {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .map-card {
        grid-template-columns: 1fr;
        /* Stack map content on mobile */
        gap: 20px;
    }

    .image-card {
        height: 250px;
        /* Fixed height for image on mobile */
    }

    h1 {
        font-size: 2rem;
    }
}