/*-----------------------------------------------------
FONT IMPORTS
-----------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*-----------------------------------------------------
GENERAL
-----------------------------------------------------*/

/* Standard body styling */
body {
    background-color: #030b0d;
    color: #6daab8;
    margin: 40px clamp(10px, 2vw, 40px) clamp(10px, 2vw, 40px) clamp(10px, 2vw, 40px);
    padding: 0;
}

/*-----------------------------------------------------
PAGE CONTENT
-----------------------------------------------------*/

/* Main page title styling */
h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(50px, 10vw, 100px);
    font-weight: 500;
    font-stretch: expanded;
    text-align: center;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #6dabb6;
    word-wrap: break-word;
    hyphens: auto;
    transform: scaleY(1.3);
    text-shadow: 
        -.8px -.8px 0 #9de6f1,
        .8px -.8px 0 #9de6f1,
        -.8px .8px 0 #9de6f1,
        .8px .8px 0 #9de6f1;
}

/* Secondary heading styling */
h2 {
    font-family: 'Cormorant', serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: normal;
    color: #6dabb6;
    margin: 0;
    line-height: 1.3;
    text-transform: none !important;
    position: relative;
}

/* Tertiary heading styling */
h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: #5b88b2;
    text-align: left;
    margin: 0 0 10px 0;
    height: 40px;
}

/* Horizontal rule styling */
hr {
    border: none;
    height: 2px;
    background-color: #153b42;
    margin: 20px 0;
}

/* Horizontal rule before footer styling */
hr.footer-divider {
    margin: 40px 0 10px 0;
}

/*-----------------------------------------------------
SUBTITLE / EDITION INFO
-----------------------------------------------------*/

/* Subtitle styling */
.subtitle 
{
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 3.5vw, 25px);
    font-weight: 400;
    font-style: italic;
    text-align: center;
    color: #5b88b2;
    margin: -25px 0 15px 0;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Media query for smaller screens */
@media (max-width: 1330px) 
{
    .subtitle 
    {
        margin: 5px 0 15px 0;
    }
}

/* Media query for smaller screens */
@media (max-width: 960px) 
{
    .subtitle 
    {
        display: none;
    }
}

/* Edition info display styling */
.edition-info {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 400;
    text-align: center;
    color: #50787f;
    margin: 30px 0 10px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hide edition info when class is 'hide' */
.edition-info.hide {
    display: none;
}

/*-----------------------------------------------------
TOP MENU
-----------------------------------------------------*/

/* Top menu container styling */
.top-menu {
    background-color: transparent;
    border-bottom: none;
    padding: 15px 0;
    margin: 20px 0;
}

/* Hide top menu when class is 'hide' */
.top-menu.hide {
    display: none;
}

/* Top menu list styling */
.top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Top menu list item styling */
.top-menu li {
    margin: 0;
    padding: 0;
}

/* Top menu link styling */
.top-menu a {
    text-decoration: none;
    color: inherit;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: normal;
}

/* Top menu link hover styling */
.top-menu a:hover {
    background: linear-gradient(135deg, rgba(63, 109, 152, 0.1), rgba(47, 82, 115, 0.1));
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(63, 109, 152, 0.3),
        0 0 20px rgba(47, 82, 115, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(63, 109, 152, 0.4);
}

/* Top menu link active styling */
.top-menu a:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(63, 109, 152, 0.3),
        0 0 10px rgba(47, 82, 115, 0.2);
}

/* Top menu link focus styling */
.top-menu a:focus {
    outline: none;
    box-shadow: 
        0 0 0 2px rgba(63, 109, 152, 0.3),
        0 4px 15px rgba(63, 109, 152, 0.3);
}

/* Selected menu item styling */
.top-menu a.selected {
    color: #9de6f1;
    background-color: rgba(63, 109, 152, 0.15);
    border-radius: 8px;
    box-shadow: 
        0 0 8px rgba(63, 109, 152, 0.3),
        0 2px 6px rgba(63, 109, 152, 0.2);
    font-weight: 600;
}

/* Notification dot for menu items */
.top-menu li.has-notification {
    position: relative;
}

.top-menu li.has-notification::after {
    content: "";
    position: absolute;
    top: -2px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #d59800;
    border-radius: 50%;
    z-index: 10;
}

/*-----------------------------------------------------
MAIN CONTENT AND SIDEBAR LAYOUT
-----------------------------------------------------*/

/* Outer container styling */
.outer {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Main content area styling */
.content-area {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Main content section styling */
.main-content {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Sidebar styling */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    padding: 0 0 0 0;
    box-sizing: border-box;
}

/* Hide sidebar when class is 'hide' */
.sidebar.hide 
{
    display: none;
}

/* Sidebar title styling */
.sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #5b88b2;
    text-align: left;
    margin: 0 0 20px 0;
    height: 40px;
}

/* Footer styling */
.footer {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 60px);
    padding: 35px 20px 30px 20px;
    box-sizing: border-box;
}

/* Hide footer when class is 'hide' */
.footer.hide {
    display: none;
}

/* Footer item styling */
.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 150px;
    min-width: 80px;
    text-decoration: none;
}

/* Footer item hover effect */
.footer-item:hover {
    transform: translateY(-2px);
    color: #9de6f1;
}

/* Footer icon styling */
.footer-item .footer-icon {
    width: clamp(54px, 9vw, 72px);
    height: clamp(54px, 9vw, 72px);
    margin-bottom: 12px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

/* Footer icon hover styling */
.footer-item:hover .footer-icon {
    filter: brightness(1.2) saturate(1.2);
}

/* Footer icon specific backgrounds */
.footer-item.about .footer-icon {
    background-image: url(../images/icons/about.png);
}

.footer-item.tech .footer-icon {
    background-image: url(../images/icons/tech.png);
}

.footer-item.contact .footer-icon {
    background-image: url(../images/icons/contact.png);
}

.footer-item.donate .footer-icon {
    background-image: url(../images/icons/donate.png);
}

.footer-item.disclaimer .footer-icon {
    background-image: url(../images/icons/disclaimer.png);
}

/* Footer text styling */
.footer-item .footer-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 500;
    color: #6dabb6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Footer text hover styling */
.footer-item:hover .footer-text {
    color: #9de6f1;
}

/*-----------------------------------------------------
LAYOUT
-----------------------------------------------------*/

/* Frontpage layout grid styling */
.frontpage-layout {
    display: grid;
    grid-template-columns: 1fr 250px;
    grid-template-rows: auto auto auto auto auto;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

/* Main container grid positioning */
.main-container {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
}

/* Sub-squares grid positioning */
.sub-squares {
    grid-row: 4 / 5;
    grid-column: 1 / 3;
}

/* Main container styling */
.main-container {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
}

/* Side tiles container styling */
.side-tiles {
    display: contents;
}

/* Bottom tiles styling */
.bottom-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    grid-row: 4 / 5;
    grid-column: 1 / 3;
    width: 100%;
}

/* Override tile positioning for bottom tiles */
.bottom-tiles .tile {
    grid-column: auto !important;
    grid-row: auto !important;
}

/* Content categories grid positioning */
.content-categories {
    grid-row: 5 / 6;
    grid-column: 1 / 3;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive design for screens up to 1200px */
@media (max-width: 1200px) {
    /* Responsive frontpage layout */
    .frontpage-layout {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Responsive main container */
    .main-container {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        width: 100%;
        max-width: 100%;
    }
    
    /* Responsive content categories */
    .content-categories {
        grid-row: 4 / 5;
        grid-column: 1 / 2;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Hide sidebar on medium screens */
    .sidebar {
        display: none;
    }
    
    /* Responsive top menu link text wrapping */
    .top-menu a {
        white-space: normal !important;
        word-break: break-word !important;
    }
}

/* Responsive design for screens up to 640px */
@media (max-width: 640px) {
    /* Responsive top menu list for small screens */
    .top-menu ul {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    
    /* Responsive top menu links for small screens */
    .top-menu a {
        white-space: normal !important;
        font-size: 14px !important;
        padding: 5px 8px !important;
    }
    
    /* Hide sidebar on small screens */
    .sidebar {
        display: none;
    }

    /* Footer responsive styling */
    .footer {
        height: 140px;
        gap: 15px;
        padding: 20px 15px 20px 15px;
    }
    
    /* Footer item responsive styling */
    .footer-item {
        min-width: 60px;
    }
    
    /* Footer icon responsive styling */
    .footer-item .footer-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
    }
    
    /* Footer text responsive styling */
    .footer-item .footer-text {
        font-size: 11px;
    }
}

/*-----------------------------------------------------
INLINE TEXT LINKS
-----------------------------------------------------*/

/* Inline text links */
.content-text a,
.article-body a,
p a {
    color: #d47474;
    text-decoration: none;
    transition: all 0.2s ease;
}

.content-text a:hover,
.article-body a:hover,
p a:hover {
    color: #9de6f1;
    text-decoration-color: #9de6f1;
    text-shadow: 0 0 8px rgba(157, 230, 241, 0.3);
}

/*-----------------------------------------------------
DONATE BUTTON
-----------------------------------------------------*/

/* PayPal donate button container */
form[action*="paypal.com/donate"] 
{
    text-align: center;
    margin: 20px 0;
}

/* PayPal donate button styling */
form[action*="paypal.com/donate"] input[type="image"],
form[action*="paypal.com/donate"] input[type="submit"],
.donate-button 
{
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    filter: brightness(1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Hover effect for donate button */
form[action*="paypal.com/donate"] input[type="image"]:hover,
form[action*="paypal.com/donate"] input[type="submit"]:hover,
.donate-button:hover 
{
    cursor: pointer;
    transform: translateY(-2px);
    filter: brightness(1.1) drop-shadow(0 4px 15px rgba(63, 109, 152, 0.4));
    box-shadow: 
        0 0 20px rgba(157, 230, 241, 0.3),
        0 0 40px rgba(157, 230, 241, 0.2),
        0 4px 15px rgba(63, 109, 152, 0.3);
}

/* Active (click) state */
form[action*="paypal.com/donate"] input[type="image"]:active,
form[action*="paypal.com/donate"] input[type="submit"]:active,
.donate-button:active 
{
    transform: translateY(0);
    filter: brightness(0.9);
}

/*-----------------------------------------------------
ANNOUNCEMENT
-----------------------------------------------------*/

/* Container for h1 and announcement together */
.page.announcement .outer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* H1 styling specifically for announcement page */
.page.announcement h1 {
    text-align: center;
    margin-bottom: 40px;
}

.announcement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}   

.announcement-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 500;
    font-stretch: expanded;
    text-align: center;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #a87a4a;
    word-wrap: break-word;
    hyphens: auto;
    transform: scaleY(1.3);
    text-shadow: 
        -.8px -.8px 0 #d4a574,
        .8px -.8px 0 #d4a574,
        -.8px .8px 0 #d4a574,
        .8px .8px 0 #d4a574;
}

.announcement-title b {
    color: #2d4a5e;
}

.announcement-body {    
    font-family: 'Crimson Text', serif;
    font-size: clamp(24px, 2.8vw, 28px);
    line-height: 1.4;
    text-align: center;
    hyphens: auto;
    color: #6f9dc8;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 400;
    max-width: 1000px;
}

.announcement-body p {
    margin: 0;
    padding: 0;
}

.announcement-body b {
    color: #6daab8;
    font-size: clamp(28px, 3.2vw, 32px);
}

/*-----------------------------------------------------
DEV MODE
------------------------------------------------------*/

/* DEV mode indicator - subtiele goudkleurige bar bovenaan */
.page.dev .dev-indicator {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: black;
    background-color: #d4af37;
    padding: 8px 16px;
    border-bottom: 2px solid #d4af37;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 0.5;
}

/* DEV button */
.dev-btn {
    background-color: #2d4a5e;
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
    transition: all 0.2s ease;
    line-height: 1;
    margin-left: 20px;
}

.dev-btn:hover {
    opacity: 1;
    background-color: #1a2f3d;
}

/* DEV language info - exact dezelfde styling als timing */
.dev-language-info {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #d4af37;
    display: inline-block;
    margin: 0 10px;
}


/* Zorg dat de page geen default marges heeft */
.page.dev {
    margin: 0;
    padding: 0;
    padding-top: 24px; /* Voeg padding toe om ruimte te maken voor fixed DEV balk */
}


/*-----------------------------------------------------
DROPDOWN MENU
-----------------------------------------------------*/

/* Dropdown menu styling */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: rgba(20, 30, 40, 0.95);
    border: 1px solid rgba(63, 109, 152, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    margin: 0;
    display: block;
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    border-bottom: none;
    list-style: none;
    margin-bottom: -20px; /* Aanpassen voor kleinere schermen */
    background-size: clamp(20px, 4vw, 30px) clamp(13px, 3vw, 20px); /* Responsive sizing */
    background-repeat: no-repeat;
    background-position: left 10px center;
}

.dropdown-menu li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dropdown-menu a {
    display: block;
    color: #9de6f1;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
    line-height: 1.2;
    border-bottom: none;
    margin: 0;
    padding: 10px 0 10px clamp(40px, 8vw, 50px); /* Responsive padding */
}

.dropdown-menu a:hover {
    background: rgba(63, 109, 152, 0.2);
    color: #ffffff;
}

.dropdown-menu li:first-child {
    background-image: url('../images/languages/nl.png');
}

.dropdown-menu li:last-child {
    background-image: url('../images/languages/en.png');
}

/* Huidige taal styling in dropdown */
.dropdown-menu li.current-language a {
    background-color: rgba(63, 109, 152, 0.3);
    color: #ffffff;
    font-weight: 600;
}

.dropdown-menu li.current-language a:hover {
    background-color: rgba(63, 109, 152, 0.4);
}

@media (max-width: 640px) {
    .dropdown-menu {
        min-width: 160px;
    }
    
    .dropdown-menu li {
        background-image: none !important;
        margin-bottom: 0;
    }
    
    .dropdown-menu a {
        font-size: 14px;
    }
}

/* Countdown styling */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/*-----------------------------------------------------
COUNTDOWN
-----------------------------------------------------*/

/* Countdown item styling */
.countdown-item {
    text-align: center;
    background: rgba(20, 30, 40, 0.8);
    border: 1px solid rgba(63, 109, 152, 0.3);
    border-radius: 8px;
    padding: 15px 10px;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #d59800;
    font-family: 'Outfit', sans-serif;
}

.countdown-label {
    display: block;
    font-size: 14px;
    color: #9de6f1;
    margin-top: 5px;
    text-transform: uppercase;
}

.countdown-released {
    font-size: 24px;
    color: #d59800;
    text-align: center;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 640px) {
    #countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
}
