/* Import Cinzel font */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

/* Root Variables */
:root {
    --primary-bg: #333; /* Dark background color */
    --primary-color: #FFD700; /* Gold for accents */
    --secondary-bg: #F1F1EB; /* Cream background color */
    --text-color: #333; /* Standard text color */
    --light-text-color: #666; /* Light gray text */
    --highlight-bg: #e8e2d9; /* Slightly darker variant for highlights */
}

/* General Styling */
body {
    font-family: 'Cinzel', serif;
    margin: 0;
    padding: 0;
    background: url('/assets/images/005.png') no-repeat center center fixed; /* Full-page background */
    background-size: cover;
    background-color: var(--secondary-bg); /* Fallback cream background */
    color: var(--text-color);
}

/* Logo Styling */
.logo-left, .logo-right {
    position: absolute;
    top: 15px;
    width: 150px;
    height: 150px;
}

.logo-left {
    left: 15px;
}

.logo-right {
    right: 15px;
}

/* Header Styling */
header {
    text-align: center;
    padding: 25px;
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent dark background */
    color: white;
    width: 100%;
}

header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 700;
}

header p {
    font-size: 1.2em;
    color: #ddd;
}

/* Summary Window */
.summary-window {
    background-color: var(--highlight-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 30px auto;
    max-width: 800px;
    display: flex; /* Enable flexbox */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 20px; /* Add spacing between boxes */
    justify-content: center; /* Center-align the boxes */
}

/* Summary Items (Individual Boxes) */
.summary-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    width: calc(33.333% - 20px); /* Three boxes per row with spacing */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 250px; /* Prevent shrinking too small */
    max-width: 300px; /* Optional cap for consistency */
    flex-grow: 1; /* Allow flexible resizing */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

/* Hover Effect */
.summary-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    cursor: pointer;
}

/* Title Link Styling */
.summary-item h3 a {
    display: block; /* Makes the entire box clickable */
    color: var(--primary-bg); /* Text color */
    text-decoration: none; /* Remove underline */
    font-size: 1.2em;
    font-weight: 700;
    margin: 0;
    padding: 10px;
    transition: color 0.3s ease; /* Smooth color transition */
}

.summary-item:hover h3 a {
    color: var(--primary-color); /* Gold text color on hover */
}

/* Description Text */
.summary-item p {
    color: var(--light-text-color);
    font-size: 0.9em;
    margin-top: 10px;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(51, 51, 51, 0.8); /* Semi-transparent dark background */
    color: white;
    margin-top: 20px;
}

footer p, footer a {
    color: #ccc;
    font-size: 0.8em;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}
/* Remove background and logos for mobile devices */
@media (max-width: 768px) {
    body {
        background: none; /* Removes the background image */
    }

    .logo-left, .logo-right {
        display: none; /* Hides the logos */
    }
}