/* index.css */
* {
    box-sizing: border-box;
}

body {
    font-family: 'League Spartan', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fffff6;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: #1e1e1e;
    color: #f0f0f0;
}

img {
    max-width: 100%;
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: #0197b2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    flex-wrap: wrap;
}

.logo-text {
    font-size: 35px;
    font-weight: 700;
    color: black;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: black;
    padding: 5px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease-in-out;
}

.nav-links a:hover {
    border-bottom: 2px solid black;
}

.theme-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 75px;
    height: 75px;
}

.theme-toggle {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    font-size: 16px;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    display: block;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    display: flex;
    align-items: center;
    padding: clamp(1.25rem, 0.6764rem + 2.8681vw, 3.125rem);
    max-width: 1190px;
    margin: 0 auto;
    gap: 40px;
}

#inicio.container {
    flex-wrap: wrap;
}

.text-section {
    flex: 1;
    min-width: 300px;
}

.text-section h1 {
    font-size: clamp(2.1875rem, 1.7095rem + 2.3901vw, 3.75rem);
    font-weight: 700;
    color: #0197b2;
    margin-bottom: 20px;
}

.text-section p {
    font-size: clamp(1.375rem, 1.222rem + 0.7648vw, 1.875rem);
    line-height: 1.6;
    color: #555;
}

.dark-mode .text-section p {
    color: #ccc;
}

.image-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.image-section img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Ideals Section */
.ideals-section {
    text-align: center;
    padding: clamp(1.25rem, 0.8676rem + 1.912vw, 2.5rem);
    background-color: #f9f9f9;
}

.dark-mode .ideals-section {
    background-color: #252525;
}

.ideals-section h1 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    color: #0197b2;
    margin-bottom: 40px;
}

.ideals-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.ideal-box {
    border: 3px solid #0197b2;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    background-color: white;
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s;
}

.ideal-box:hover {
    transform: translateY(-5px);
}

.dark-mode .ideal-box {
    background-color: #2d2d2d;
    border-color: #00bcd4;
    color: #f0f0f0;
}

.ideal-box p {
    text-align: justify;
    line-height: 1.6;
    color: #555;
}

.dark-mode .ideal-box p {
    color: #ccc;
}

.ideal-box-value {
    max-width: 900px;
    width: 100%;
    border: 3px solid #0197b2;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    background-color: white;
    transition: transform 0.3s;
}

.ideal-box-value:hover {
    transform: translateY(-5px);
}

.dark-mode .ideal-box-value {
    background-color: #2d2d2d;
    border-color: #00bcd4;
    color: #f0f0f0;
}

.ideal-box-value p {
    text-align: justify;
    line-height: 1.6;
    color: #555;
}

.dark-mode .ideal-box-value p {
    color: #ccc;
}

.ideal-box h2, .ideal-box-value h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0197b2;
    margin-bottom: 15px;
}

.dark-mode .ideal-box h2,
.dark-mode .ideal-box-value h2 {
    color: #00bcd4;
}

/* Contact Section */
#contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: clamp(1.25rem, 0.8676rem + 1.912vw, 2.5rem) 20px;
}

.contact-content {
    max-width: 900px;
    width: 100%;
    border: 3px solid #0197b2;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    background-color: #f0f8ff;
    text-align: center;
}

.dark-mode .contact-content {
    background-color: #2d2d2d;
    border-color: #00bcd4;
    color: #f0f0f0;
}

.contact-content h1 {
    font-size: 2rem;
    color: #0197b2;
    margin-bottom: 20px;
}

.dark-mode .contact-content h1 {
    color: #00bcd4;
}

.contact-content p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.dark-mode .contact-content p {
    color: #ccc;
}

.form {
    max-width: 700px;
    margin: 0 auto;
}

.form label {
    display: block;
    text-align: left;
    color: #333;
    font-weight: 600;
    margin: 15px 0 5px;
}

.dark-mode .form label {
    color: #f0f0f0;
}

.form input,
.form textarea {
    font: inherit;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 100%;
    background-color: white;
    color: #333;
    transition: border-color 0.3s;
}

.dark-mode .form input,
.dark-mode .form textarea {
    background-color: #3d3d3d;
    border-color: #555;
    color: #f0f0f0;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: #0197b2;
}

.form textarea {
    min-height: 180px;
    resize: vertical;
}

.form button {
    padding: 15px 30px;
    background: #0197b2;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
    font-size: 1.1rem;
}

.form button:hover {
    background-color: #017a92;
    transform: translateY(-2px);
}

/* Footer */
.footer-content {
    text-align: center;
    padding: 25px;
    background-color: #0097b2;
    color: #000000;
    font-size: large;
    margin-top: 50px;
}

.dark-mode .footer-content {
    color: #f0f0f0;
}

.footer-content img {
    max-width: 100px;
    margin-top: 15px;
}

/* Responsividade */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        text-align: center;
    }
    
    .text-section, .image-section {
        width: 100%;
    }
    
    .image-section img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .logo-text {
        font-size: 30px;
    }
    
    .text-section h1 {
        font-size: 2rem;
    }
    
    .text-section p {
        font-size: 1.2rem;
    }
    
    .ideal-box, .ideal-box-value {
        padding: 20px;
    }
    
    .contact-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .text-section h1 {
        font-size: 1.8rem;
    }
    
    .text-section p {
        font-size: 1rem;
    }
    
    .ideals-section h1,
    .contact-content h1 {
        font-size: 1.8rem;
    }
    
    .ideal-box h2,
    .ideal-box-value h2 {
        font-size: 1.5rem;
    }
    
    .form button {
        padding: 12px 20px;
    }
}