/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.content {
    display: flex;
    height: 100vh;
}

/* Main Page Styling */
.split {
    position: relative;
    width: 50%;
    height: 100%;
}

.split img {
    width: 100%;
    height: 100%;
    display: block;
    border: 4px solid black;
    object-fit: cover;
}

.split .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    border: none;
    padding: 90px 180px;
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.header {
    position: absolute;
    width: 100%;
    top: 5%;
    text-align: center;
    font-size: 3em; /* Smaller font size */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-top: 10px; /* Reduced top spacing */
}

/* Alteration Services Styling */
.layout-alteration-services {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: black; /* Black background */
    color: white;
}

.layout-alteration-services header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black; /* Black header */
    text-align: center;
    font-size: 1.0em; /* Smaller font size */
    padding: 10px 0;
    z-index: 10;
}

.layout-alteration-services footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black; /* Keep the black background */
    color: white;
    display: flex; /* Enables flexbox */
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    padding: 10px; /* Adjust padding if necessary */
    text-align: center;
}

.layout-alteration-services .sidebar {
    position: fixed;
    top: 80px; /* Adjusted for smaller header */
    left: 0;
    bottom: 0;
    width: 200px;
    background-color: black; /* Black sidebar */
    padding: 20px;
    overflow-y: auto;
}

.layout-alteration-services .sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

.layout-alteration-services .sidebar a:hover {
    text-decoration: underline;
}

.layout-alteration-services main {
    margin-left: 220px; /* Space for the sidebar */
    margin-top: 100px; /* Adjusted for the header */
    padding: 20px;
    flex: 1;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
    background-color: black; /* Black background for the article */
    color: white; /* White text for readability */
}

/* Improve Article Readability */
.layout-alteration-services article {
    max-width: 100%; /* Prevent horizontal overflow */
    font-size: 1.1em; /* Slightly larger text */
    line-height: 1.8; /* Improve readability */
}

.layout-alteration-services .article-info.text-muted {
    display: none !important;
}

.layout-alteration-services .page-header h1 {
    display: none !important;
}

/* Hide the "Edit" and "Published Article" links */
.layout-alteration-services .icons {
    display: none !important;
}

/* Dress Boutique Styling */
.layout-dress-boutique {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #222; /* Darker background for differentiation */
    color: white;
}

.layout-dress-boutique header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    text-align: center;
    font-size: 1.2em;
    padding: 10px 0;
    z-index: 10;
}

.layout-dress-boutique footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.layout-dress-boutique .sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    width: 200px;
    background-color: black;
    padding: 20px;
    overflow-y: auto;
}

.layout-dress-boutique .sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

.layout-dress-boutique .sidebar a:hover {
    text-decoration: underline;
}

.layout-dress-boutique main {
    margin-left: 220px;
    margin-top: 80px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

.layout-dress-boutique article {
    max-width: 100%;
    font-size: 1.1em;
    line-height: 1.8;
}

.layout-dress-boutique .article-info.text-muted {
    display: none !important;
}

.layout-dress-boutique .page-header h1 {
    display: none !important;
}

.layout-dress-boutique .icons {
    display: none !important;
}

/* Ensure the dynamic image is centered */
.dynamic-image {
    display: block;
    margin: 0 auto; /* Centers image horizontally */
    max-width: 100%;
    height: auto;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 768px) {
    /* Increase spacing so content isn’t hidden under the header */
    .layout-alteration-services main {
        margin-top: 120px;
    }

    /* Adjust sidebar for smaller screens */
    .layout-alteration-services .sidebar {
        width: 100%; /* Sidebar takes full width */
        position: relative; /* No longer fixed */
        text-align: center; /* Center sidebar links */
    }

    .layout-alteration-services main {
        margin-left: 0; /* Remove left margin */
    }
}
