/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #d4af37; 
    --light-color: #ecf0f1;
    --text-color: #333;
    --dark-color: #1a252f;
    --beige-color: #f5f0e6;
    --transition: all 0.3s ease;
    --btn-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 80px 30px;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px); 
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); 
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px; 
    transition: var(--transition);
}

header.scrolled nav {
    padding: 12px 30px; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); 
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin-right: 15px;
}

.logo .download-btn {
    font-size: 0.85rem;
    padding: 8px 12px;
    margin-left: 5px;
    background: linear-gradient(45deg, var(--accent-color), #e6c655);
    color: var(--primary-color);
    border-radius: 5px;
    transition: var(--btn-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}

.logo .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background: linear-gradient(45deg, #e6c655, var(--accent-color));
}

.logo .download-btn i {
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--btn-transition);
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--accent-color); 
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a.pdf-link {
    color: var(--accent-color);
    font-size: 1.2rem;
    padding: 5px 8px;
    border-radius: 5px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links a.pdf-link:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav-links a.pdf-link::after {
    display: none;
}

.nav-links a.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    background-color: var(--accent-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--btn-transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-links a.profile-btn i {
    font-size: 1.1rem;
}

.nav-links a.profile-btn:hover {
    transform: translateY(-3px);
    background-color: #c09f30;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.nav-links a.profile-btn::after {
    display: none;
}

/* PDF Modal styles */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.pdf-container {
    width: 90%;
    height: 90%;
    max-width: 1200px;
    background-color: white;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--accent-color);
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.pdf-close:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

/* Mobile menu hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 2px; 
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); 
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 30px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* Floating WhatsApp button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.social-main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.social-main-button i {
    font-size: 1.5rem;
}

.social-main-button:hover {
    transform: scale(1.1);
}

.social-tooltip {
    position: absolute;
    right: 70px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.social-main-button:hover .social-tooltip {
    opacity: 1;
    right: 75px;
}

.social-message {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-left: 3px solid var(--accent-color);
}

.social-icons-container {
    display: none;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.social-icons-container.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.social-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.social-float:hover {
    transform: scale(1.1);
}

.facebook-float {
    background-color: #3b5998;
}

.instagram-float {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.twitter-float {
    background-color: #1da1f2;
}

.linkedin-float {
    background-color: #0077b5;
}

.whatsapp-float {
    background-color: #25D366;
}

@media (max-width: 768px) {
    header {
        background: rgba(44, 62, 80, 0.3);
    }
    
    .nav-links {
        background: rgba(44, 62, 80, 0.8);
        backdrop-filter: blur(12px);
    }
}