@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

.outfit-900 {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
	background: yellow;
}

.menu-container {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 1000;
    width: 60px; /* Constrain width to match content margin */
}

.menu-toggle {
	background: yellow;
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    width: 270px; /* Fixed width to prevent overlap */
    height: 60px; /* Fixed height to match typical header size */
    z-index: 1001; /* Above content but below active sidebar */
}
.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 1002; /* Above menu-toggle when active */
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.logo {
    max-width: 150px;
    height: auto;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
	transition: background 0.3s;
}

.sidebar li a {
    font-style: inherit;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
.sidebar li:hover {
    font-style: inherit;
    background: yellow;
    color: #000;
	text-decoration: none;
}

.menu-icon {
    width: 24px;
    height: 24px;
    fill: none; /* Ensure no fill, only stroke */
    stroke: #333; /* Match your existing menu icon color */
    margin-right: 10px; /* Space between icon and text */
}

.content {
    background: #000;
    min-height: 100vh;
    padding: 20px;
    margin-left: 60px; /* Matches menu-toggle width */
    position: relative;
    z-index: 999; /* Below menu-toggle but clickable */
}

#splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('images/splash/splash_18.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: background-image 1s ease-in-out;
}

/* Add a dark overlay */
#splash-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

/* Ensuring content is above the overlay */
#splash-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ensures left alignment */
}

#splash-content h1, 
#splash-content h2 {
    margin: 10px 0;
}

#splash-content h1 {
    font-size: 3rem;
}

#splash-content h2 {
    font-size: 1.5rem;
}

#splash-heading {
	background: yellow;
	padding: 1rem;
	color: #000000;
	text-transform: uppercase;
	font-family: "Outfit", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
	text-shadow: 0 0 0px rgba(0,0,0,0.5);
}
#splash-subheading {
	background-color: rgba(0,0,0, 0.5);
	padding: 1rem;
	text-transform: lowercase;
}

.blocks-container {
    display: grid;
    gap: 20px;
    max-width: 100%;
    /* grid-template-columns is set dynamically in JS */
}

.block {
    background: #333;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
}

.block:hover {
    background: yellow;
    color: #000;
}

.block img {
    width: 100%;
    height: auto;
}

.block h2 {
    font-size: 18px;
    margin: 10px 0;
	text-transform: capitalize;
}

.block p {
    font-size: 14px;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    background-color: #333;
    color: #cecece;
    text-align: center;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #000;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.block .read-more:hover, .read-more:active {
    background-color: black;
    color: yellow;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(255,242,18,0.5); /* Yellow */
	background: rgba(122,116,0,0.7); /* Dark Yellow */
    z-index: 2000;
	color: #ffffff;
}


.modal-content {
    background: #333;
    /*
	margin: 5% auto;
    position: relative;

	*/	
    padding: 30px;
    width: 50%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-radius: 8px;
	border: 3px solid yellow;
	
	
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

/* Enlarged and styled close button */
.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    color: yellow;
    -webkit-text-stroke: 2px black;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 2100;
	background: yellow;
	border-radius: 40px;
	padding: 0 13px 0 13px;
}

/* Article modal content styling */
.article-modal {
    max-width: 600px;
    margin: 0 auto;
}

.article-modal h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
	text-transform: capitalize;
}
.article-modal h3 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 16px;
	color: yellow;
}

.article-modal p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
	margin-bottom: 10px;
}

.category {
    background: #575757;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.7em;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    min-width: 80px;
	text-transform: capitalize;
}

/* YouTube video embed */
.article-modal iframe {
    width: 100%;
    height: 315px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
}

/* Add to existing CSS */
.contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
	text-transform: capitalize;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-buttons .send-btn {
    background: #007bff;
    color: white;
}

.form-buttons .send-btn:hover {
    background: #0056b3;
}

.form-buttons .cancel-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.form-buttons .cancel-btn:hover {
    background: #e9ecef;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .blocks-container {
        grid-template-columns: 1fr !important; /* Override JS setting for mobile */
    }
    
    .sidebar {
        width: 300px; /* Keep fixed width on mobile */
        left: -300px; /* Ensure it slides off-screen */
    }
    
    .sidebar.active {
        left: 0; /* Slide in to 300px width */
    }
    
    .content {
        margin-left: 0;
    }
    
    .menu-toggle {
        width: 300px; /* Full width on mobile */
		background: yellow;
    }
    
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .modal-close {
        font-size: 32px;
        right: 15px;
        top: 15px;
    }
    
    .article-modal iframe {
        height: 200px;
    }
}