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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font stack */
    line-height: 1.7;
    color: #444; /* Slightly softer black */
    background-color: #fdfdfd; /* Very light gray */
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

header {
    background: #005f73; /* Dark teal */
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

header p {
    font-style: italic;
    opacity: 0.9;
}

main section {
    padding: 3rem 1rem; /* Increased padding */
    border-bottom: 1px solid #eee; /* Lighter border */
}

main section:nth-child(even) {
    background-color: #f8f9fa; /* Alternate section background - Adjusted for new section */
}

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

h2 {
    color: #005f73; /* Dark teal */
    margin-bottom: 1.5rem; /* Increased margin */
    text-align: center;
    font-size: 2rem; /* Slightly larger */
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem; /* Increased margin */
    max-width: 800px; /* Limit paragraph width for readability */
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Center align most text */
}

section p:first-of-type {
    margin-top: 1rem;
}

ul {
    list-style: none; /* Remove default list style */
    padding-left: 0;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

li {
    margin-bottom: 0.8rem; /* Increased spacing */
    position: relative;
    padding-left: 1.8em; /* Space for icon */
    text-align: left; /* Keep list items left-aligned */
}

strong {
    font-weight: 600; /* Slightly bolder */
    color: #003f5c; /* Darker blue/teal for emphasis */
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 95, 115, 0.8), rgba(0, 95, 115, 0.8)), url('images/IMG_5291.jpeg') no-repeat center center/cover; /* Red shirt photo */
    color: #fff;
    text-align: center;
    padding: 5rem 1rem; /* More padding */
    border-bottom: none; /* Remove border after hero */
}

#hero h2 {
    font-size: 2.8rem;
    color: #fff; /* White text on overlay */
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    color: #eee; /* Lighter text on overlay */
}

.cta-button, .whatsapp-button {
    display: inline-block;
    background: #ee9b00; /* Orange */
    color: #fff;
    padding: 15px 35px; /* Larger button */
    text-decoration: none;
    border-radius: 30px; /* Rounded button */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: none;
}

.cta-button:hover, .whatsapp-button:hover {
    background: #ca6702; /* Darker orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
/* About Dr. Bruno */
#sobre-dr-bruno {
    text-align: center;
    background-color: #fff; /* Ensure white background */
}

.dr-photo {
    width: 180px; /* Larger photo */
    height: 180px;
    border-radius: 50%;
    object-fit: cover; /* Ensure the image covers the area without distortion */
    display: block;
    margin: 1rem auto 1.5rem auto;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

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

/* Processo Cirurgico Section */
#processo-cirurgico {
    background-color: #fff; /* Match alternating background */
}

.process-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Maybe slightly smaller items than B/A */
}

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

.gallery-item {
    text-align: center;
    background: #fff;
    padding: 0; /* Remove padding */
    border: 1px solid #eee;
    border-radius: 8px; /* Slightly more rounded */
    overflow: hidden; /* Ensure image fits */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0; /* Remove margin */
}

.gallery-item p {
    padding: 0.8rem 0;
    margin: 0;
    font-weight: 600;
    color: #555;
    background-color: #f8f8f8;
}

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

/* Quote Form */
#orcamento {
    background: #e0f7fa; /* Light cyan background */
}

#quote-form {
    max-width: 650px;
    margin: 1.5rem auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0a9396;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group.consent label {
    display: inline;
    font-weight: normal;
    margin-left: 0.5rem;
    font-size: 0.9em;
    color: #555;
}

.form-group.consent input[type="checkbox"] {
    transform: scale(1.1);
    margin-right: 5px;
}

#quote-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 15px;
    background: #0a9396; /* Brighter teal */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

#quote-form button[type="submit"]:hover {
    background: #005f73; /* Dark teal */
}

#orcamento p {
    text-align: center;
}

#orcamento .whatsapp-button {
    margin-top: 1.5rem;
}

/* Location */
#localizacao {
    text-align: center;
    /* background: #fff; */ /* Removed to follow alternating pattern */
}

/* Footer */
footer {
    background: #2b2b2b; /* Darker gray */
    color: #bbb;
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.9em;
}

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

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

footer p {
    margin-bottom: 0.6rem;
    color: #ccc; /* Lighter text in footer */
}

footer strong {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    #hero h2 {
        font-size: 2.2rem;
    }
    #hero p {
        font-size: 1.1rem;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .process-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 500px) {
    body {
        line-height: 1.6;
    }
    header h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    #hero {
        padding: 4rem 1rem;
    }
    #hero h2 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1rem;
    }
    .cta-button, .whatsapp-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .gallery {
        grid-template-columns: 1fr; /* Stack images on smallest screens */
    }
    #quote-form {
        padding: 1.5rem;
    }
    main section {
        padding: 2rem 1rem;
    }
}

