/* Usado para importar regras de estilo de outras folhas de estilo. */ 

:root {
    --primary-color: #0f172a; /* Slate 900 - Dark Blue */
    --secondary-color: #1e293b; /* Slate 800 */
    --accent-color: #3b82f6; /* Blue 500 */
    --text-color: #334155; /* Slate 700 */
    --bg-color: #f8fafc; /* Slate 50 */
    --card-bg: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero .lead {
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn-light {
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.hero .logo img {
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Section Boxes */
.about-box {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 2rem;
    height: 100%;
    border-left: 4px solid var(--accent-color);
}

.about-box p {
    text-align: justify;
    margin-bottom: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--card-bg);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

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

.card-text {
    color: var(--text-color);
    font-size: 0.95rem;
    flex-grow: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 8px;
}

/* Carousel */
.container-carousel {
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    background-color: var(--accent-color) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    margin: 0 5px !important;
}

/* Contact Form */
.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color) !important;
    color: #94a3b8 !important;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Utilities */
.img-max-size {
    max-width: 100%;
    height: auto;
}

#btn-card {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
