/* =========================================
   XENIA ISOLATED STYLES (xenia.css) - Corrected
   ========================================= */

/* 1. BACKGROUND LOGIC (The Fence) */
.xenia_bg {
    background: url('https://github.com/skventuresigns-design/media/blob/main/fence.png?raw=true') no-repeat center center fixed !important;
    background-size: cover !important;
    margin: 0;
    padding: 0;
}

/* 2. HERO SECTION */
.xenia-hero-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-bottom: 5px solid #222;
}

.xenia-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* THE FIX: Added the missing closing bracket below */
.xenia-hero-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark tint to make white font pop */
    z-index: 1;
} 

.xenia-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2; /* Sits above the dark tint */
}

.xenia-overlay h1 {
    font-family: 'Times New Roman', serif;
    font-size: clamp(2rem, 6vw, 3.5rem) !important;
    text-transform: Capitalize;
    font-weight: 700;
    color: white !important; /* Forces white text */
    margin: 0;
    letter-spacing: 2px;
    border: none;
    padding: 0;
}

.xenia-subtitle {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    color: white !important; /* Forces white text */
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
    display: block;
}

/* 3. THE MAIN "SINGLE PAGE" CONTAINER */
.xenia-wp-container {
    max-width: 1300px;
    width: 95%;
    margin: 60px auto;
    background-color: #fffdf6 !important; 
    border: 3px solid #222;
    padding: 50px;
    box-shadow: 15px 15px 0px #222;
}

/* 4. GRID SYSTEMS & IMAGES */
.xenia-wp-grid {
    display: flex;
    gap: 40px;
    margin-top: 25px;
}

.xenia-wp-card {
    flex: 1;
    background: #fff;
    border: 2px solid #222;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

.xenia-wp-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #222;
    margin-bottom: 20px;
    filter: grayscale(20%) sepia(10%) contrast(110%);
    background: #fff;
    padding: 5px;
}

/* BIG IMAGES FIX */
.xenia-wp-section:last-child .xenia-wp-img {
    height: 500px !important;
    object-fit: cover;
    box-shadow: 8px 8px 0px #222;
}

/* 5. MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .xenia-hero-container { height: 300px; }
    .xenia-wp-grid { flex-direction: column; gap: 30px; }
    .xenia-wp-container { padding: 25px; width: 98%; margin: 30px auto; }
}
