/* ========================================
   SOLARYS LANDING PAGE - CUSTOM STYLES
   ======================================== */

/* Variáveis de Cores */
:root {
    --primary-color: #006699;
    --dark-color: #333333;
    --gray-color: #999999;
    --light-gray: #f8f9fa;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    background-color: white !important;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand span {
    letter-spacing: 1px;
}

.nav-item .btn {
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 153, 0.3);
}

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

.btn-primary:hover {
    background-color: #004d73;
    border-color: #004d73;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 153, 0.3);
}

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

.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0f7 100%);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    animation: slideInDown 0.8s ease;
}

.hero-section .lead {
    font-size: 1.3rem;
    color: #666666;
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   CARDS SECTION
   ======================================== */

.cards-section {
    padding: 80px 0;
    background-color: white;
}

.cards-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.card {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.card-hover {
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 153, 0.2) !important;
}

.card img {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card-hover:hover img {
    transform: scale(1.05);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.feature-box {
    background-color: white;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #006699 0%, #004d73 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
}

.cta-section .btn-light {
    color: var(--primary-color);
}

.cta-section .btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline-light {
    border-width: 2px;
}

.cta-section .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
}

.footer hr {
    border-color: #555;
    margin: 2rem 0;
}

/* ========================================
   MODAIS
   ======================================== */

.modal-header {
    background: linear-gradient(135deg, #006699 0%, #004d73 100%);
    color: white;
    border: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 153, 0.25);
}

.form-check-label {
    color: #666666;
    margin-left: 0.5rem;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.modal .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.modal .btn-primary:hover {
    background-color: #004d73;
    border-color: #004d73;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .cards-section h2,
    .features-section h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .card img {
        height: 200px;
    }

    .feature-box {
        margin-bottom: 1.5rem;
    }

    .nav-item .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .cta-section .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }

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

    .cards-section,
    .features-section,
    .cta-section {
        padding: 40px 0;
    }

    .footer {
        padding: 30px 0;
    }

    .footer h5 {
        font-size: 1rem;
    }
}

/* ========================================
   ANIMAÇÕES ADICIONAIS
   ======================================== */

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Estilos para links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #004d73;
}

/* Estilos para botões secundários */
.btn-secondary {
    background-color: var(--gray-color);
    border-color: var(--gray-color);
}

.btn-secondary:hover {
    background-color: #777;
    border-color: #777;
}
