/* Reset default margins and establish base font styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f4f8; /* Soft blue tinted background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Base style guidelines for mimicking the sketch blocks */
.layout-container, .logo, .header-text, .sidebar-nav, .floating-img, .feature-box, .text-block {
    border: 3px solid #1a365d; /* Dark blueprint blue border lines */
    border-radius: 12px;
    background-color: #ffffff;
    color: #1a365d;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer layout panel boundary */
.layout-container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative; /* Anchor for absolute positioned items */
    background-color: #f7fafc;
}

/* Top header structural bar */
.main-header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 90px;
    position: relative;
}

/* The circular logo remains on top */
.logo {
    width: 90px;
    height: 90px;
    border-radius: 50%; /* Perfect circle */
    background-color: #ffffff;
    z-index: 2; /* Forces it to sit above the overlapping header text edge */
    flex-shrink: 0;
}

/* The header container moves left and carves out a curve around the logo */
.header-text {
    flex-grow: 1;
    height: 100%;
    font-size: 1.5rem;
    
    /* Pulls the header left underneath the logo ring */
    margin-left: -45px; 
    
    /* Adds internal padding so content isn't covered by the logo graphic */
    padding-left: 60px; 
    
    /* Curves the left edge inward to match the logo outline contour */
    border-top-left-radius: 45px;
    border-bottom-left-radius: 45px;
    
    /* Keeps standard corners for the outer right edge */
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    
    z-index: 1;
}

.header-text {
    flex-grow: 1;
    font-size: 1.5rem;
}

/* Two-column layout content wrapper */
.main-body {
    display: flex;
    gap: 15px;
    min-height: 400px;
    width: 100%;
}

/* Sidebar structure */
.sidebar-nav {
    width: 120px;
    height: 100%;
    align-items: flex-start;
    padding-top: 20px;
    position: relative; /* Setup container bounds for bottom-left image */
}

/* Main body text block structure */
.content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-box {
    height: 160px;
    font-size: 1.4rem;
}

.text-block {
    flex-grow: 1;
    height: 100%;
    font-size: 1.4rem;
}

/* Floating overlapping Image elements */
.floating-img {
    position: absolute;
    background-color: #ebf8ff;
    z-index: 10;
}

/* Top right image box placements */
.floating-img.top-right {
    top: -25px;
    right: -20px;
    width: 100px;
    height: 80px;
    transform: rotate(5deg); /* Slight rotation to capture sketch feel */
}

/* Bottom left image box placements */
.floating-img.bottom-left {
    bottom: -30px;
    left: -20px;
    width: 130px;
    height: 160px;
    transform: rotate(-8deg); /* Tilted skew from blueprint */
}

/* Responsive adjustment for portable screens */
@media (max-width: 600px) {
    .main-body {
        flex-direction: column;
    }
    .sidebar-nav {
        width: 100%;
        height: 60px;
        align-items: center;
        padding-top: 0;
    }
    .floating-img.bottom-left {
        display: none; /* Hide extreme layout shifts on mobile viewports */
    }
}
