/* ===== VARIABLES ===== */
:root {
    --primary: #d4af37;
    --primary-light: #f5e7c8;
    --primary-dark: #b8941f;
    --dark: #0a0e14;
    --dark-soft: #1a1f2e;
    --gray: #8b92a6;
    --gray-light: #a0b3c5;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 28px -8px rgba(0,0,0,0.1);
    --shadow-lg: 0 24px 42px -12px rgba(0,0,0,0.15);
    --shadow-hover: 0 30px 50px -15px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary) !important;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    padding: 5rem 0;
    margin-top: -80px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    color: var(--gray-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== SECTION TITLE ===== */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTACT INFO CARDS ===== */
.contact-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--primary);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.contact-card:hover .contact-icon i {
    color: var(--white);
}

.contact-card h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* ===== CONTACT FORM ===== */
.form-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(212, 175, 55, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #c7c8c9;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.btn-submit {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 40px;
    padding: 1rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 16px -6px rgba(212, 175, 55, 0.3);
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -8px rgba(212, 175, 55, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== MAP SECTION (placeholder) ===== */
.map-section {
    padding: 0 0 5rem;
    background: #f8fafc;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
    background: #e9ecef;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
}

/* WhatsApp Button */
.whatsapp-float {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: var(--gray-light);
    padding: 3rem 0 1.5rem;
}

footer h5, footer h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--gray-light) !important;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary) !important;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark) !important;
    transform: translateY(-3px);
}

footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

/* ===== ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Alert styles */
.alert {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--dark);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin: 0;
        padding: 0.75rem 0 !important;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link:hover::after {
        transform: scaleX(0);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}