/*
 * ------------------------- General Body Styling -------------------------
 * -----------------------------------------------------------------------
 * This section defines the general body styles for the website.
 * Includes font family, background color, and other general layout styles.
 * -----------------------------------------------------------------------
 */

body {
    font-family: Arial, sans-serif; /* Basic font family */
    background-color: #f4f4f4; /* Light gray background color */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    line-height: 1.6; /* Set line height for better readability */
}

/* ------------------------- Header Styling ------------------------- */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 11px 0;
    border-bottom-left-radius: 179px;
    border-bottom-right-radius: 179px;
    transition: all 0.3s ease;

    /* Initial solid color */
    background-color: #12040B;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Shrink + Glass effect on scroll */
header.site-header.shrink {
    padding: 9px 0;

    /* Glass effect */
    background-color: rgba(76, 17, 48, 0.5); /* semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header inner container */
header .header-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Site Logo */
header .site-logo a {
    color: white;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    transition: font-size 0.3s ease;
}

/* Shrink logo font on scroll */
header.site-header.shrink .site-logo a {
    font-size: 1.5em;
}

/* Navigation menu */
header .primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    transition: gap 0.3s ease;
}

/* Shrink menu gap */
header.site-header.shrink .primary-menu {
    gap: 10px;
}

header .primary-menu li {
    display: inline-block;
}

header .primary-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

header .primary-menu a:hover {
    text-decoration: underline;
}

/* Active menu item */
header .primary-menu li.current-menu-item a,
header .primary-menu li.current_page_item a {
    color: #ffcc00;
    font-weight: bold;
}

/* ------------------------- Hamburger Menu Button ------------------------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* ------------------------- Mobile Responsive ------------------------- */
@media screen and (max-width: 768px) {
    header .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    header .site-logo a {
        font-size: 1.5em;
    }

    .menu-toggle {
        display: block; /* Show hamburger button */
    }

    header .primary-menu {
        display: none;          /* Hide menu initially */
        flex-direction: column;
        gap: 10px;
    }

    header .primary-menu.active {
        display: flex;          /* Show menu when active */
    }

    header .primary-menu li {
        display: block;
    }
}

/*
 * ------------------------- Footer Styling -----------------------------
 * -----------------------------------------------------------------------
 * This section defines the styles for the footer, including footer content
 * and layout.
 * -----------------------------------------------------------------------
 */

footer {
    background-color: #12040B; /* Dark purple background for footer */
    color: white; /* White text in footer */
    padding: 20px 0; /* Add padding to footer */
    text-align: center; /* Center the footer content */
}

footer .footer-content p {
    margin: 0; /* Remove default margin */
    font-size: 1.1em; /* Slightly larger font size for the footer text */
}

/*
 * ------------------------- Mobile Responsiveness ----------------------
 * -----------------------------------------------------------------------
 * This section adds styles for mobile responsiveness. It adjusts font sizes,
 * stacks the menu items vertically, and resizes the logo for better display
 * on smaller screens.
 * -----------------------------------------------------------------------
 */

@media screen and (max-width: 768px) {
    body {
        font-size: 16px; /* Increase font size for smaller screens */
    }

    header .primary-menu li {
        display: block; /* Stack the menu items vertically on mobile */
        margin: 10px 0; /* Add space between menu items */
    }

    header .site-logo a {
        font-size: 1.5em; /* Adjust logo font size on mobile */
    }
}

/*
 * ------------------------- Custom Style for Front Page ----------------------
 * -----------------------------------------------------------------------
 * This section custom style for front page. It adjusts font sizes,
 * stacks the page properly
 * on smaller screens.
 * -----------------------------------------------------------------------
 */
.front-page .page-title {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Hide title when the "_hide_title" meta is set */
.front-page .page-title {
    display: none;
}

/* Style for the front page container */
.front-page-container {
    display: block;              /* Make the container a block element */
    padding: 20px;               /* Add padding to the container */
    background-color: #f4f4f4;   /* Set the background color for the entire page */
}

/* Main content styles */
.front-page-container .main-content {
    background-color: white;    /* Set the background color of the content area to white */
    padding: 20px;               /* Add padding inside the content area */
    border-radius: 8px;          /* Optional: Add rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03); /* Optional shadow effect */
    max-width: 100%;           /* Set the max-width for the content */
    margin: 0 auto;              /* Center the content horizontally */
}

/* Optional: Responsive styling for mobile devices */
@media screen and (max-width: 768px) {
    .front-page-container {
        padding: 10px;           /* Reduce padding on mobile */
    }

    .front-page-container .main-content {
        padding: 15px;           /* Adjust padding inside the content area on mobile */
    }
}
/*
 * ------------------------- Custom Style for Any Page ----------------------
 * -----------------------------------------------------------------------
 * This section custom style for any page. It adjusts font sizes,
 * stacks the page properly
 * on smaller screens.
 * -----------------------------------------------------------------------
 */
/* ------------------------- Page Container Styling ------------------------- */
.page-container {
    display: block;
    padding: 20px;
    background-color: #f4f4f4;
}

.page-container .main-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.03);
    max-width: 1200px;
    margin: 0 auto; /* Center horizontally */
}

/* Page title */
.page-container .page-title {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .page-container {
        padding: 10px;
    }

    .page-container .main-content {
        padding: 15px;
    }

    .page-container .page-title {
        font-size: 28px;
    }
}