/* Refactored CSS Output */
/* File: wisprenn_refactored.css */

/* --- Global Styles & Resets --- */
@font-face {
  font-family: 'wisprennfont'; /* Use quotes for font names */
  src: url('/fonts/wisprennfont.ttf'); /* Ensure this path is correct relative to CSS/HTML */
}

*,
*::before,
*::after {
  box-sizing: border-box; /* Better layout control */
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  font-family: Arial, sans-serif; /* Add fallback font */
  font-size: 20px; /* Base font size */
  line-height: 1;
  color: #333; /* Slightly softer black */
  background-color: #FFFFFF; /* Fallback color */
  background-image: linear-gradient(to top, #FFFFFF 0%, #FFDC1B 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  color: #0056b3; /* Default link color, more accessible */
  text-decoration: none;
}

a:hover {
  color: #003d80;
  text-decoration: underline;
}

img {
  max-width: 100%; /* Make images responsive by default */
  height: auto;
  display: block; /* Remove extra space below images */
}

ul {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.75em;
    font-weight: normal; /* Consistent weight */
}

b, strong {
    font-weight: bold; /* Ensure boldness */
}

/* --- Utility Classes --- */
.bold { /* Preserved original class name */
  font-family: 'wisprennfont', Arial, sans-serif; /* Add fallbacks */
  font-size: 1.75rem; /* Use rem for scalable font size */
  font-weight: bold;
  color: black;
  text-decoration: underline;
  line-height: 1.2;
}

.normal { /* Preserved original class name */
  font-family: Arial, sans-serif;
  font-size: 0.9375rem; /* 15px / 16px */
  font-style: normal;
  line-height: normal;
  color: black;
  font-weight: normal;
  font-variant: normal;
}


/* --- Layout Structure --- */
.wrapper {
  max-width: 1200px; /* Limit max width */
  margin: 0 auto; /* Center the content */
  padding: 0 15px; /* Add horizontal padding for smaller screens */
}

.main-container {
  background: white;
  padding: 20px;
  margin: 20px 0; /* Add vertical margin */
  border-radius: 15px; /* Slightly reduced radius */
  border: 1px solid #ccc; /* Subtler border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Modern shadow */
  display: flex; /* Use Flexbox for layout */
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  gap: 20px; /* Space between flex items */
}

/* --- Header / Logo --- */
.site-header {
  padding: 20px 0;
  text-align: center;
}

.logo {
  font-family: 'wisprennfont', Impact, sans-serif; /* Add fallbacks */
  font-size: 6rem; /* Adjusted size, use rem */
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1; /* Adjust line height for large font */
}

.logo a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none;
}

.logo a:hover {
    color: #eee; /* Slight hover effect */
    text-decoration: none;
}

/* --- Designer Link ('C') --- */
.designer-link {
    /* Positioned subtly, adjust as needed */
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.designer-link a {
    display: block;
    width: 30px;
    height: 30px; /* Make height match width */
    line-height: 30px; /* Center text vertically */
    text-align: center;
    border-radius: 5px;
    border: 2px groove #aaa; /* Adjusted border */
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.2); /* Modern shadow */
    background-color: #FFDC1B;
    font-size: 1.25rem; /* 20px */
    font-family: Arial, sans-serif;
    color: #333; /* Darker text color */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.designer-link a:hover {
    background-color: #002333;
    color: white;
    border-style: groove; /* Keep consistent */
}


/* --- Navigation Menu --- */
.menu {
  flex: 0 0 250px; /* Flex-basis: 250px, don't grow, don't shrink */
  background-image: linear-gradient(to bottom, #FFFFFF 0%, #FFDC1B 150%); /* Adjusted gradient */
  border: 1px solid #ffdc1b;
  box-shadow: 4px 4px 5px rgba(0,0,0,0.15); /* Modern shadow */
  padding: 15px;
  border-radius: 8px; /* Match container rounding */
  height: fit-content; /* Allow height to adjust to content */
  font-family: 'wisprennfont', Arial, sans-serif;
}

.menu .nav-list {
    /* Styles specific to the nav list */
}

.menu .nav-group-heading {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #555;
  padding-bottom: 3px;
  border-bottom: 1px solid #eee;
}
.menu .nav-group-heading:first-child {
  margin-top: 0; /* Remove top margin for the first heading */
}

.menu ul li {
  margin-bottom: 0.5em; /* Space between items */
}

.menu ul li a {
  color: black;
  text-decoration: none;
  display: block; /* Make the whole area clickable */
  padding: 2px 5px;
  border-radius: 3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu ul li a:hover {
  color: #8a8a00; /* Original hover color #999900 is a bit dark */
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  background-color: rgba(255, 255, 255, 0.5); /* Slight background on hover */
  text-decoration: none; /* Remove underline from global hover */
}

/* --- Mobile Menu Toggle (Checkbox Hack) --- */
.menu-toggle-checkbox {
    display: none; /* Hide the actual checkbox */
}

.menu-toggle-label {
    display: none; /* Hide hamburger by default */
    cursor: pointer;
    position: absolute; /* Position relative to main-container or wrapper if needed */
    top: 10px; /* Adjust position as needed */
    right: 15px; /* Adjust position as needed */
    width: 30px;
    height: 25px;
    z-index: 100; /* Ensure it's above other content */
}

.menu-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.menu-toggle-label span:last-child {
    margin-bottom: 0;
}

/* --- Main Content Area --- */
.content-area {
  flex: 1; /* Take remaining space */
  min-width: 0; /* Prevent flex item overflow */
}

.info-section {
  margin-bottom: 30px;
  font-size: 1rem; /* Adjust as needed */
  line-height: 1.7;
}

.info-section a {
  color: black;
  font-weight: bold;
  text-decoration: underline;
}

.info-section a:hover {
  color: #FFDC1B; /* Use theme color */
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

/* --- Details Section (List & Image) --- */
.details-section {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  gap: 20px; /* Space between list and image */
  background-color: white; /* Keep original background */
  padding-bottom: 20px;
}

.details-list {
  flex: 1; /* Allow list to grow */
  min-width: 250px; /* Minimum width before wrapping */
}

.details-list ul {
  list-style: disc; /* Restore list style */
  padding-left: 25px; /* Indent list items */
  line-height: 1.5;
}

.details-list li {
  margin-bottom: 0.6em;
}

.details-list li a {
  color: black;
  font-weight: bold;
  text-decoration: underline;
}

.details-list li a:hover {
  color: #8a8a00; /* Consistent hover color */
}

.details-image {
  flex: 1; /* Allow image container to grow */
  min-width: 250px; /* Minimum width */
  display: flex; /* Center image if needed */
  align-items: center;
  justify-content: center;
}

.details-image img {
    border: 1px solid #eee; /* Optional: add a light border */
    border-radius: 5px;
}

/* --- Footer --- */
.site-footer {
  font-size: 0.9rem;
  color: black;
  background: white;
  text-align: center; /* Center footer content */
  padding: 20px 15px;
  margin-top: 30px; /* Space above footer */
  border-top: 3px solid #FFDC1B; /* Add a top border */
}

.site-footer p {
    margin-bottom: 1em;
}

.site-footer a {
  color: black;
  font-weight: bold;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #8a8a00;
}

.footer-cta {
    margin: 15px 0;
}

.social-links {
    margin-top: 15px;
    margin-bottom: 15px;
}
.social-links img {
    display: inline-block; /* Center image map */
    max-width: 112px; /* Set max width based on image */
}


/* --- Media Queries for Responsiveness --- */

/* Medium screens (Tablets, smaller desktops) */
@media (max-width: 991.98px) {
    .wrapper {
        padding: 0 10px;
    }

    .logo {
        font-size: 5rem; /* Slightly smaller logo */
    }

    .main-container {
        flex-direction: column; /* Stack menu and content */
    }

    .menu {
        flex: 1 1 auto; /* Allow menu to take full width */
        width: 100%;
        margin-bottom: 20px; /* Space below menu when stacked */
    }

    .details-section {
        flex-direction: column; /* Stack list and image */
        align-items: center; /* Center items when stacked */
    }

    .details-list,
    .details-image {
        flex-basis: auto; /* Reset flex basis */
        width: 100%; /* Take full width */
        max-width: 500px; /* Optional: Limit max width */
    }
     .details-image {
        padding-top: 0; /* Reset padding */
    }
}

/* Small screens (Mobile) */
@media (max-width: 767.98px) {
    .logo {
        font-size: 3.5rem; /* Smaller logo for mobile */
    }

    .main-container {
        padding: 15px;
        position: relative; /* Needed for absolute positioning of menu button */
    }

    /* Show mobile menu toggle button */
    .menu-toggle-label {
        display: block;
         /* Adjust positioning if needed relative to .main-container */
        top: -40px; /* Position above the white box */
        right: 10px;
    }

    /* Hide menu by default */
    .menu {
        max-height: 0;
        overflow: hidden;
        padding: 0 15px; /* Remove padding when closed */
        border: none;
        box-shadow: none;
        margin-bottom: 0;
        background-image: none; /* Remove gradient when collapsed */
        background-color: #f9f9f9; /* Light bg for dropdown */
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
        width: 100%; /* Ensure full width */
        order: -1; /* Move menu visually above content in the flex flow when toggle is outside */
        border-radius: 0 0 8px 8px; /* Round bottom corners */
    }

    /* Show menu when checkbox is checked */
    .menu-toggle-checkbox:checked ~ .menu {
        max-height: 1000px; /* Large enough height to show all content */
        padding: 15px; /* Restore padding */
        border: 1px solid #ffdc1b;
        border-top: none; /* Remove top border */
        margin-bottom: 20px; /* Add space below opened menu */
        box-shadow: 4px 4px 5px rgba(0,0,0,0.1);
    }

     /* Style burger icon when menu is open (optional: turn into X) */
    .menu-toggle-checkbox:checked + .menu-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle-checkbox:checked + .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle-checkbox:checked + .menu-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


    .info-section {
        font-size: 0.95rem;
    }

    .details-list ul {
        padding-left: 20px;
    }

    .site-footer {
        padding: 15px 10px;
        font-size: 0.85rem;
    }

    .designer-link {
        /* Hide or reposition for small screens if it obstructs */
        display: none;
        /* Or adjust position:
        top: 5px;
        left: 5px; */
    }
    .designer-link a {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 1rem;
    }
}