/* Global Reset and Basic Styling */
body {
    font-family: Poppins, sans-serif;
    margin: 0;
    margin-right: 150px;
    padding: 20px;
    background-color: #f9f9f9;
}

/* Main Container Layout (Flexbox for Nav + Main) */
.container {
    display: flex;

    margin: 0 auto;
}

/* --- Navigation Styling (Left Column) --- */
nav {
    position:fixed;
    top: 10;          /* Pin to the  top */
    left: 0;
    width: 300px; /* Fixed width for the side nav */
    padding-right: 30px;
    margin-right:100px;
    border-right: solid 2px;
    height:1000px;
}

.logo {
    display: block;
    margin:auto;
    /* Placeholder box styling for Logo link */
    width: auto;
    height: 120px;
    background-color: #ddd; /* Gray background to simulate the placeholder image area */
    text-align: center;
    line-height: 80px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

nav li a {
    display: block;
    text-decoration: none;
    color: #333;
    margin: 15px 0;
    padding: 15px 0;
    /* Centering the text inside the nav structure */
    text-align: center; 
    
    
}

nav li a:hover {
    display: block;
    text-decoration: underline;
    color: #333;
    margin: 15px 0;
    padding:15px 0 15px 0;
    background-color: #ddd;
    border-radius:10px;
    transition: all .3s ease;
    /* Centering the text inside the nav structure */
    text-align: center; 
}

/* --- Main Content Styling (Right Column) --- */
main {
    flex-grow: 1; /* Takes up remaining space */
    padding-left: 450px;
}

/* Header Styling */
.hero {
    text-align: center;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.5em;
}

.hero p {
    font-size: 1.2em;
    color: #666;
    margin-top: -40px; /* Pulling subtitle closer to title */
}

/* --- Row of 4 (Text, Image, Text, Image) --- */
.row-of-four {
    display: flex;
    justify-content: space-around; /* Distributes the four items evenly and centers them in the container's width */
    align-items: center;
    margin-bottom: 40px;
}

.row-of-two {
    display: flex;
    justify-content: space-around; /* Distributes the four items evenly and centers them in the container's width */
    align-items: center;
    margin-bottom: 100px;
    height:150px;
    
}

.row-of-two .item {
    /* Ensures all elements are roughly equally sized and centered on the page */
    flex-basis: 40%; /* Sets a basis for four equal columns (100/4 = 25%, slightly less for spacing) */
    text-align: left;
    height:100%;
    border-radius: 10px;
}

.row-of-two .image img {
    /* Styles all images to be square and fit within the item box */
    height: 100%; /* Aspect ratio handling */
    width: auto;

    display: block;
    padding-left:25px;
}

.textbox {
    display: flex;
    justify-content: center; /* Distributes the four items evenly and centers them in the container's width */
    align-content: center;
    margin:0 auto;
    margin-bottom: 40px;
    text-align: center;
    width:500px;
    

}

.textbox.text {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
}

.item {
    /* Ensures all elements are roughly equally sized and centered on the page */
    flex-basis: 22%; /* Sets a basis for four equal columns (100/4 = 25%, slightly less for spacing) */
    text-align: center;
    border-radius: 10px;
}

.item img {
    /* Styles all images to be square and fit within the item box */
    width: 150px;
    height: auto; /* Aspect ratio handling */
    display: block;
    padding-left:25px;
    
}

/* --- Divider Line --- */
.divider {
    width: 90%; /* Makes the line cross most of the body content width */

    margin: 40px auto; /* Centers the line and adds vertical spacing */
    border: none; /* Removing default HTML border appearance */
    height: 2px;
    background-color: #ccc;
}

/* --- Section of 3 Images (Three-column layout) --- */
.three-col {
    display: flex;
    justify-content: space-between; /* Distributes the three articles evenly */
    gap: 20px;
    padding-top: 20px;
}

.three-col article {
    flex-basis: 30%; /* Sets each card to take up roughly a third of the width */
    text-align: center;
}

/* Styling for the title within the three columns section */
.three-col h2 {
    margin-top: 10px;
    border-radius: 10px;
}

/* Styling for all image containers (to simulate the placeholder/box) */
.square-image {
    width: 100%;
    padding-bottom: 100%; /* Trick to make the container perfectly square (aspect ratio 1:1) */
    position: relative;
    background-color: #ddd;
    /* Background for placeholder visualization */
    /* The image must fill this constrained space */
}

.square-image img {
    position: absolute;
    top: 0;
    left: 0;
width: 100%;
height: 100%;
    
object-fit: cover; /* Ensures the image covers the entire box without distortion */
}


/* === Text/Image Placeholder Visuals === */

/* General styles to visually represent placeholder boxes (as requested) */

/* Text Box Visualization */
.item.text, .three-col h2 {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 15px;
    
}

/* Image Box Visualization (For the three-col section) */
article .square-image {
    box-shadow: 0 5px 5px rgba(0,0,0,0.1); /* Subtle shadow effect */
}

/* Specific styling adjustments for clarity */
nav li a {
    text-transform: uppercase;
}

.image-link {
    -webkit-transition: all 0.3s ease;
    -webkit-filter: brightness(75%);
}

.image-link:hover{
    -webkit-filter:brightness(100%);
    -webkit-transition: all 0.6s ease;

}

.grow {
    transform:scale(100%);
    transition: all .3s ease;
}

.grow:hover {
    transform:scale(110%);
    transition: all .3s ease;
}

.grow.image-link:hover {
    transform:scale(103%);
    transition: all .3s ease;
}
.subtitle {
    text-align:left;
    margin-bottom:25px;
}

/*Framework generated by Gemma 4-E4b locally hosted*/