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

body {
    font-family: 'Arial', sans-serif; /* Consider using a more modern font later */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: auto; /* Changed from hidden to auto for potential scrollbars */
    padding: 0 20px;
}

header {
    background: #005f73; /* Dark teal */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

main section {
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
}

main section:last-child {
    border-bottom: none;
}

h2 {
    color: #005f73; /* Dark teal */
    margin-bottom: 1rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: bold;
}

/* Hero Section */
#hero {
    background: #e9ecef; /* Light gray */
    text-align: center;
    padding: 3rem 0;
}

#hero h2 {
    font-size: 2.5rem;
    color: #0a9396; /* Brighter teal */
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button, .whatsapp-button {
    display: inline-block;
    background: #ee9b00; /* Orange */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.cta-button:hover, .whatsapp-button:hover {
    background: #ca6702; /* Darker orange */
}

/* About Dr. Bruno */
#sobre-dr-bruno {
    background: #fff;
    text-align: center;
}

.dr-photo {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #0a9396;
}

.dr-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MINI Transplant Section */
#mini-transplante ul {
    list-style: none;
    padding-left: 0;
}

#mini-transplante li {
    padding-left: 1.5em;
    position: relative;
}

#mini-transplante li::before {
    content: '\2714'; /* Checkmark */
    color: #0a9396; /* Brighter teal */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Procedure Gallery */
.procedure-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.procedure-item {
    text-align: center;
    background: #fff;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.procedure-item:hover {
    transform: translateY(-5px);
}

.procedure-item img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 0.5rem;
    border-radius: 5px;
}

.procedure-item p {
    font-weight: bold;
    color: #005f73;
    margin: 0;
}

/* Before/After Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    text-align: center;
    background: #fff;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 5px;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.cfm-note {
    font-size: 0.9em;
    color: #555;
    background-color: #f0f0f0;
    padding: 1rem;
    border-left: 4px solid #005f73;
    margin-top: 1.5rem;
}

/* WhatsApp Contact Section */
#orcamento {
    background: #e9ecef;
    text-align: center;
}

.contact-section {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.whatsapp-button-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366; /* WhatsApp green */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-weight: bold;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button-main:hover {
    background: #128C7E; /* Darker WhatsApp green */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.contact-info {
    font-size: 1rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

/* Location */
#localizacao {
    text-align: center;
}

#map {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Footer */
footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9em;
}

.footer-content {
    max-width: 800px;
    margin: auto;
    padding: 0 20px;
}

footer hr {
    border: 0;
    height: 1px;
    background: #555;
    margin: 1rem 0;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero h2 {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .procedure-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .procedure-item img {
        height: 200px;
    }

    .contact-section {
        margin: 1rem;
        padding: 1.5rem;
    }

    .whatsapp-button-main {
        font-size: 1.1rem;
        padding: 12px 25px;
    }

    .dr-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 500px) {
    header h1 {
        font-size: 1.5rem;
    }

    #hero h2 {
        font-size: 1.8rem;
    }

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

    .cta-button, .whatsapp-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .gallery {
        grid-template-columns: 1fr; /* Stack images on smallest screens */
    }

    .procedure-gallery {
        grid-template-columns: 1fr;
    }

    .procedure-item img {
        height: 180px;
    }

    .whatsapp-button-main {
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 25px;
    }

    .whatsapp-icon {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    .dr-photo {
        width: 120px;
        height: 120px;
    }

    #map iframe {
        height: 300px;
    }
}

