/* Basic Reset and Body Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #ee8630; /* Keep the exact orange background color */
    color: black; /* Keep default text color as black */
    font-family: 'Times New Roman', Times, serif; /* Change to Times New Roman */
    font-size: 16px; /* Aumentado de 13px a 16px */
    line-height: 1.2; /* Adjust line-height to be more compact */
    /* Remove all flexbox properties for 2000s top-left fixed layout */
    min-height: auto; /* Remove 100vh height */
    overflow-x: auto; /* Allow horizontal scroll if content overflows fixed width */
    position: static;
}

/* Custom Selection Color - Kept for modern touch */
::selection {
    background: #a4520e; /* Orange/brown selection highlight */
    color: black;
    text-shadow: none;
}

/* Custom Cursor - Revert to default cursor */
body, * {
    cursor: auto; 
}

/* Cursor change for links */
a, a:hover, a:active {
    cursor: pointer; /* Force the "manita" cursor on links */
}

/* Canvas Styling - Removed the whole drawing feature */
#drawingCanvas {
    display: none !important;
}

/* Main Content Container - Fixed width and top-left alignment (default) */
.container {
    width: 550px; /* Fixed width for 2000s look */
    max-width: 550px; /* Ensure fixed width */
    padding: 8px; /* Small padding like the reference site */
    box-sizing: border-box;
    text-align: left; /* Align ALL text to the top-left (default) */
    position: static; 
    margin: 0; /* Align to top-left (default) */
    flex-grow: 0; /* Remove flex property */
    display: block; /* Use standard block display */
    z-index: auto;
}

/* ************************************************* */
/* Centering styles ONLY for the PREAMBULE page (index.html) */
/* ************************************************* */
.centered-preambule .container {
    /* Centrar el contenedor principal horizontalmente */
    margin: 50px auto 0; /* Un poco de margen superior y centrado horizontal */
    text-align: center; /* Centrar todo el texto dentro del contenedor */
}

/* Para centrar la navegación (la lista de enlaces) */
.centered-preambule .main-nav {
    /* Centrar el bloque de navegación */
    text-align: center;
    border-bottom: 1px solid black; /* AÑADIDO: Línea divisoria debajo del enlace */
    padding-bottom: 10px; /* Espacio debajo del enlace y sobre la línea */
}

.centered-preambule .main-nav ul {
    list-style: none; 
    padding: 0;
    margin: 15px 0 5px; /* Ajuste el margen inferior para acercar la línea */
    text-align: center; /* Centrar la lista completa */
    width: 100%; /* Ocupa el ancho para el centrado del texto */
}

.centered-preambule .site-title,
.centered-preambule .quote-section,
.centered-preambule .site-footer {
    /* Asegura que los bloques estén centrados si están presentes */
    text-align: center;
}

/* Styles for the main title "JAY CI" */
.site-title {
    font-size: 20px; /* Adjusted font size for larger base text */
    font-weight: bold;
    color: black;
    margin-bottom: 5px; /* Compact spacing */
    text-align: left; /* Default alignment */
}

.site-title a {
    text-decoration: none;
    color: inherit;
    transition: none;
}

.site-title a:hover {
    text-decoration: none;
    color: black; 
}

/* Styles for the Victor Hugo quote */
.quote-section {
    margin: 10px 0 15px; /* Compact spacing */
    text-align: left; /* Default alignment */
    border: 1px solid black; /* Add a thin black border around the quote like the reference site */
    padding: 5px;
}
/* For centered-preambule, quote and author should be centered */
.centered-preambule .quote-section {
    text-align: center;
}

.quote {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px; /* Match body font size */
    font-style: italic;
    color: black;
    margin-bottom: 5px;
}

.author {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px; /* Match body font size */
    font-weight: normal;
    color: black;
}

/* Styles for the "About" text and Privacy text */
.text01 {
    font-size: 16px; 
    font-weight: normal;
    text-align: left !important; /* Force left alignment */
    margin-bottom: 10px;
}

/* Styling for links within the text01 paragraph (like on vie-privee.html) */
.text01 a {
    font-size: 16px; 
    font-weight: normal;
    color: black; /* Keep link color black as requested */
    text-decoration: underline; /* Default underscored */
    transition: none;
}

.text01 a:hover {
    text-decoration: underline; /* Keep underline on hover, for 2000s style */
    color: black; /* Keep hover color black as requested */
}

/* Navigation Links */
.main-nav ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 15px 0; /* Compact spacing */
    text-align: left; /* Default alignment */
}

.main-nav li {
    margin-bottom: 0; /* Remove spacing between links */
}

.main-nav a {
    font-size: 16px !important; /* Match body font size */
    font-weight: normal !important;
    color: black; /* Keep link color black as requested */
    text-decoration: underline;
    transition: none;
}

.main-nav a:hover {
    text-decoration: underline; /* Keep underline on hover, for 2000s style */
    color: black; /* Keep hover color black as requested */
}

/* Vertical text "Je suis sous la Tour" - Removed for 2000s style */
.vertical-text {
    display: none;
}

/* Footer / Copyright */
.site-footer {
    text-align: left; /* Default alignment */
    padding-top: 10px;
    font-size: 16px; 
    color: black;
    font-weight: normal; 
    margin-top: 20px; 
    border-top: 1px solid black; /* Add a dividing line like the reference site */
    padding-bottom: 5px;
}

/* Eliminamos el borde superior del footer en el preámbulo ya que lo pusimos en el main-nav */
.centered-preambule .site-footer {
    border-top: none; 
}

/* Responsive adjustments - Removed as fixed-width is desired */
@media (max-width: 768px) {
    /* Set a max width and center the container slightly for small screens to prevent clipping */
    .container {
        width: 95%;
        max-width: 550px;
    }
}

@media (max-width: 480px) {
    /* No additional changes needed as the container width is already handled */
}