:root {
    --primary-color: #1e293b;
    --secondary-color: #334155;
    --accent-color: #b48608;
    --text-light: #f8f9fa;
    --text-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0f172a;
    background-image: url('assets/island_banner_1777519880500.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography for Easy Reading */
h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 2.2rem;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.3rem;
    margin-bottom: 1.5rem;
}

.sub-heading {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.title-cinzel {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    border-bottom: none;
    font-size: 2.5rem;
}

p, li {
    font-size: 1.35rem; /* Large text for hands-free reading */
    margin-bottom: 1.3rem;
    color: #334155;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

li {
    margin-bottom: 0.8rem;
}

strong {
    color: #0f172a;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    transform: translateY(-5vh); /* Move content up slightly to avoid overlap */
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 5.5rem;
    color: var(--text-light);
    text-shadow: 2px 4px 10px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    color: #cbd5e1;
    font-weight: 300;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2vh; /* Moved significantly down */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.9;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.arrow {
    width: 24px;
    height: 24px;
    border-right: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(45deg);
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* Main Content - Single Document */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 5rem 2rem;
    position: relative;
    z-index: 2;
}

.glass-document {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 30px;
    padding: 5rem;
    width: 100%;
}

/* Layout for Text (Left) and Images (Right) */
.content-row {
    display: flex;
    gap: 5rem;
    align-items: flex-start; /* Align to top */
}

.text-column {
    flex: 6; /* Takes up roughly 60% of width */
}

.image-column {
    flex: 4; /* Takes up roughly 40% of width */
    position: sticky;
    top: 5rem; /* Sticks slightly below top of screen as you scroll past */
    display: flex;
    justify-content: center;
}

.side-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.document-separator {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.4), transparent);
    margin: 4rem 0;
    width: 100%;
}

.intro-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #475569;
    border-left: 5px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    background-color: rgba(241, 245, 249, 0.5);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
}

.conclusion-text {
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(212, 175, 55, 0.1); /* Slight gold tint */
    border-radius: 12px;
}

/* Footer */
footer {
    background-color: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

footer p {
    font-size: 1.1rem;
    margin: 0;
    color: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .content-row {
        flex-direction: column;
        gap: 3rem;
    }
    
    .image-column {
        position: static;
        width: 100%;
    }
    
    .side-image {
        max-width: 100%;
    }
    
    .glass-document {
        padding: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    body {
        background-image: none; /* Quita la imagen de fondo en celular */
    }

    .main-wrapper {
        padding: 0; /* Quita los márgenes laterales del wrapper para ocupar todo el ancho */
    }

    .glass-document {
        padding: 2rem 1.5rem; /* Reduce el padding interno */
        border-radius: 0; /* Quita los bordes redondeados para que se pegue a los lados */
        border-left: none;
        border-right: none;
        background: rgba(255, 255, 255, 0.98); /* Fondo casi blanco sólido para mayor contraste */
    }

    p, li {
        font-size: 1.15rem; /* Tamaño de letra ideal para celular */
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }

    .sub-heading {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}
