/* Ecuadorian Elegant Theme - Main CSS */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #003366;
    /* Deep Navy Blue */
    --secondary-color: #0056b3;
    /* Lighter Blue */
    --accent-color: #FFD700;
    /* Gold */
    --action-color: #C8102E;
    /* Rich Red */
    --bg-color: #F8F9FA;
    /* Off-white/Cream */
    --text-color: #333333;
    --light-text: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideInDown 0.8s ease-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    /* Adjust size as needed */
    width: auto;
    border-radius: 50%;
    /* Optional: if the user wants it round, or just fit the image */
    transition: transform 0.3s ease;
    border: 2px solid var(--accent-color);
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    /* Move links to the right */
    gap: 30px;
    margin: 0;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Main Content */
main {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
    animation: fadeIn 1s ease-out;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h1::after {
    content: '';
    display: block;
    width: 150px;
    height: 12px;
    background: linear-gradient(to bottom, #FFD700 0%, #FFD700 50%, #003366 50%, #003366 75%, #C8102E 75%, #C8102E 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

section {
    background: transparent;
    padding: 20px 0;
    margin-bottom: 40px;
    box-shadow: none;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1rem;
    margin-top: auto;
    border-top: 5px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.footer-section {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}