/* Reset and Typography Setup */
html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.card-title-dark,
.section-title {
    font-family: 'Montserrat', sans-serif;
}

/* Color Variables and Utilities */
:root {
    --petroleum-deep: #02453e;
    --green-original: #046e64;
    --green-light: #eef8f3;
    --gray-light: #f8f9fa;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
}

.text-primary-deep {
    color: var(--petroleum-deep) !important;
}

.text-success {
    color: var(--green-original) !important;
}

.bg-petroleum {
    background-color: var(--petroleum-deep) !important;
}

.bg-light-green {
    background-color: var(--green-light) !important;
}

.bg-light-gray {
    background-color: var(--gray-light) !important;
}

.border-petroleum {
    border-color: var(--petroleum-deep) !important;
}

.hover-petroleum:hover {
    color: var(--petroleum-deep) !important;
}

/* Header Navigation */
.header {
    transition: all 0.3s ease;
}

.header-logo {
    color: var(--petroleum-deep);
    letter-spacing: -0.5px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--green-original) !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--petroleum-deep);
    position: relative;
    padding-top: 50px;
    /* offset for sticky header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* subtle gradient to ensure text readability against the image */
    background: linear-gradient(90deg, rgba(2, 69, 62, 1) 30%, rgba(2, 69, 62, 0.8) 70%, rgba(2, 69, 62, 0.3) 100%);
    z-index: 0;
}

.hero-text-col {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-year {
    font-size: 2.5rem;
    opacity: 0.9;
    margin-top: 5px;
    letter-spacing: 2px;
}

.detail-item i {
    color: var(--green-light);
}

/* About Section */
.clean-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.icon-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* UI Elements */
.section-title {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 2.2rem;
}

.title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-original), var(--petroleum-deep));
    border-radius: 4px;
}

/* Form and Buttons */
.custom-input {
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    font-family: 'Lato', sans-serif;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    border-color: var(--petroleum-deep);
    box-shadow: none;
}

.btn-petroleum {
    background-color: var(--petroleum-deep);
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-petroleum:hover {
    background-color: var(--green-original);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 110, 100, 0.3);
}

/* Speakers */
.speaker-photo-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 8px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(2, 69, 62, 0.12);
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--green-light);
    border-radius: 50%;
}

.speaker-bio-card {
    margin-top: -60px;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding-top: 70px !important;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(4, 110, 100, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.speaker-card:hover .speaker-photo-wrap {
    transform: scale(1.05);
}

.speaker-card:hover .speaker-bio-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(2, 69, 62, 0.1);
    border-color: rgba(4, 110, 100, 0.15);
}

/* Featured Speaker Modifier */
.speaker-card--featured .speaker-bio-card {
    background: linear-gradient(135deg, var(--petroleum-deep), var(--green-original)) !important;
    border: none;
    text-align: left !important;
}

.speaker-card--featured .text-primary-deep,
.speaker-card--featured .text-secondary,
.speaker-card--featured .text-muted {
    color: #ffffff !important;
}

.speaker-card--featured .speaker-bio-card h4 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 1.25rem;
}

.speaker-card--featured .speaker-bio-card h6 {
    opacity: 0.9;
    font-weight: 500;
}

.speaker-card--featured .speaker-bio-card p {
    opacity: 0.8;
}

/* Schedule */
.schedule-column {
    border: 1px solid rgba(4, 110, 100, 0.1);
    border-radius: 16px;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: -20px;
    width: 2px;
    background-color: rgba(2, 69, 62, 0.15);
}

.schedule-item:last-child::before {
    display: none;
}

.schedule-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--petroleum-deep);
}

.time-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Contact Info Styling */
.contact-info-static {
    padding: 10px 15px;
    background: #f8fcfb;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(4, 110, 100, 0.08);
}

/* Map Section */
.inscricoes-encerradas {
    border-width: 2px !important;
}

.map-frame {
    border: 1px solid #e0e0e0;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-year {
        font-size: 2rem;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(2, 69, 62, 1) 50%, rgba(2, 69, 62, 0.85) 100%);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        background-position: center;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}