/* General Styles */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Modern stack */
    margin: 0;
    padding: 0;
    background-color: #f4f7f4; /* Cleaner off-white */
    color: #2d2d2d;
    line-height: 1.6;
}

/* Header Styles */
.header {
    /* Creates green gradient brand identity */
    background: linear-gradient(135deg, #055e22, #068a32); /* Subtle gradient depth */
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Navigation bar Styling */
.navbar {
    /* Keeps navigation fixed while scrolling */
    display: flex;
    justify-content: center;
    background-color: white; /* Clean white nav is more modern */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar a {
    /* Styles links with smooth transitions */
    color: #068a32;
    padding: 20px 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.navbar a:hover {
    background-color: #f0fff4;
    color: #d4a017; /* Brazilian Gold accent */
}
/* Ajuste fino na Navegação para não bugar no mobile */
.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Main Content Sections */
.main-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background-color:rgb(180, 224, 180);
    border-radius: 24px; /* Softer, modern corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.img-link img {
    /* Reset the shape to a rectangle */
    width: 100%;           /* Or a fixed size like 400px */
    height: 400px;         /* Specific height for a horizontal rectangle */
    
    /*slightly rounded corners */
    border-radius: 20px;   /*Change this number to adjust the roundness */
    

    object-fit: cover;     /* Keeps the image from stretching */
    display: block;
    margin: 0 auto;
    transition: all 0.4s ease;
}

/* Modern Hover Effect */
.img-link img:hover {
    transform: translateY(-8px); /* Lifts the rectangle slightly */
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15)); /* Softer shadow */
}

/* Ensure the container does not force a square background */
.img-link {
    display: block;
    text-decoration: none;
    background: transparent;
    padding: 10px;
}
/* Layout grade for the cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* style of individual cards */
.info-card {
    /* Card styling with hover lift */
    background-color: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #055e22;
    margin-top: 0;
    border-bottom: 2px solid #d4a017; /* Gold line around the title */
    padding-bottom: 10px;
}

.info-card ul {
    padding-left: 18px;
    margin-top: 15px;
}

.info-card li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Box content = (March 2026) */
.context-container {
    margin-top: 40px;
    background: #055e22;
    color: white;
    padding: 30px;
    border-radius: 20px;
    border-left: 10px solid #d4a017; /* highlight gold colour */
}

.context-container h3 {
    margin-top: 0;
    color: #f0fff4;
}

.context-item {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
}

.context-item strong {
    color: #d4a017;
}


/* style of table */
.table-responsive {
    overflow-x: auto; /* make sure works in a phone */
    margin-top: 20px;
}

.event-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.event-table th, .event-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.event-table th {
    background-color: #d4a017; /* gold top table style */
    color: #055e22;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.event-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.event-table td strong {
    color: #f0fff4;
}

/* ajust the grid of 3 collumns to fit in proper */
@media (min-width: 900px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Container styling */
.travel-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

/* Spacing out the groups */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Making inputs look modern */
label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #004b23; /* Dark green for Brazil theme */
}

input[type="text"], 
input[type="password"], 
select, 
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding does not affect width */
}

/* Button styling */
.submit-btn {
    background-color: #ffcc00; /* Vibrant Yellow */
    color: #004b23; /* Dark Green */
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background-color: #009c3b; /* Brazil Green on hover */
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background-color: #055e22;
    color: white;
    margin-top: 50px;
}