/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Background image configuration */
    background-image: url('/images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Styles */
header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: transparent; /* Fully transparent */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #000;
    text-shadow: 0 0.2em 0.2em rgba(255, 255, 255, 0.8);
}

.logo .subtitle {
    display: block;
    font-size: 0.57em;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 0.5em;
    color: #444; /* Slightly lighter color for subtitle */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
    color:#000;
}

/* Hover effect (subtle opacity shift to keep it text-only and transparent) */
.nav-link:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* Mobile Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    width: 100%;
    background: rgba(255, 255, 255, 0.7); /* white with some transparency */
}

h1 {
    font-size: 3rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.content p, .content ol, .content ul {
    font-size: 1.2rem;
    line-height: 1.8;
}

ul, ol {
    padding-left: 20px;
}

.content img {
    width: 100%;
    height: auto;
}

blockquote {
  border-left: 10px solid #ccc;
  margin: 10px;
  padding: 10px;
  width: 100%;
  font-style: italic;
  color: #555;
}

.iframe-resizer {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}
.iframe-resizer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Breakpoint (Tablet/Mobile) for navigation menu - start */
@media (max-width: 850px) {
    .navbar {
        padding: 20px;
    }

    .hamburger {
        display: flex;
    }

    /* Nav menu transitions to a vertical transparent stack */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        background: #eee;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Active state toggled by JS */
    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Hamburger animation to 'X' when active */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
/* Responsive Breakpoint (Tablet/Mobile) for navigation menu - end */

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 22px;
    color: white;
    background-color: blue;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.button:hover {
    background-color: #0056b3;
}

/* Image 2-Columns Styles - start */
.image-columns-container {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* This forces columns to align at the top instead of stretching to match each other's height */
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1; /* This automatically gives both columns equal 50% width */
}

.image-column img {
    width: 100%; /* Ensures images fill their container */
    height: auto; /* Browser automatically calculates the height without cropping */
    min-height: 15vh; /* Kept from your original code, though you may not need it with width: 100% */
}

@media (max-width: 768px) {
    .image-columns-container {
        flex-direction: column;
    }
}
/* Image 2-Columns Styles - end */