/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --color-gold: #d4af37;
    --color-gold-dim: #b8860b;
    --color-dark: #1a0f0a;
    --color-wood: #2b1b17;
    --color-flamenco-red: #800000;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    background-color: var(--color-dark);
    color: white;
    overflow-x: hidden;
    /* Force full width in case WP theme constrains body */
    width: 100vw;
    min-height: 100vh;
}

/* Force Reset for WP Theme interference */
#julian-web-wrapper {
    width: 100%;
    display: block;
}

/* Background Image */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('fondo_web.jpg');
    background-size: cover;
    background-position: center;
    /* Dark Overlay */
    filter: brightness(0.6);
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    width: 100% !important;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 100;
    display: flex !important;
    justify-content: center !important;
}

.nav-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex !important;
    justify-content: center !important;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #ccc;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-gold);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
}

/* Hero Section */
.hero-section {
    height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    position: relative;
    /* Ensure it sits on top of any theme weirdness */
}

.hero-content {
    animation: fadeIn 1.5s ease-in-out;
    max-width: 800px;
    /* Prevent it from getting too wide */
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--color-gold);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: -webkit-linear-gradient(#f1c40f, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center !important;
    line-height: 1.2 !important;
}

.sub-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--color-gold);
    margin: 10px 0 40px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center !important;
}

/* Buttons */
.cta-buttons {
    display: flex !important;
    gap: 20px;
    justify-content: center !important;
    width: 100% !important;
}

.btn {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    /* "Apuntarme Ya" - Dark/Brown */
    background: linear-gradient(135deg, #3e2723, #5d4037);
    color: white;
    border: 1px solid #5d4037;
}

.btn-secondary {
    /* "Iniciar Sesión" - Gold/Orange */
    background: linear-gradient(135deg, #d35400, #e67e22);
    /* Orange-ish gold like reference */
    background: linear-gradient(135deg, #bf9000, #e69b00);
    /* Closer to gold */
    color: #1a0f0a;
    /* Dark text on gold */
    border: 1px solid var(--color-gold);
}

.construction-banner {
    margin-top: 30px;
    display: inline-block;
    color: red;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px black;
    letter-spacing: 2px;
    border-bottom: 2px solid red;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-dark);
    /* Dark wood background */
    border: 2px solid var(--color-gold);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.3s;
}

.close-modal {
    color: var(--color-gold);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal:hover {
    color: white;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-gold);
    margin-top: 0;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-gold-dim);
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
    /* Fix padding issue */
    font-family: 'Lato', sans-serif;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.2);
}