/*  <!--/static/css/bulley/main_enhanced.css-->*/
/*  Enhanced version of the main CSS file with improved aesthetics */

/* Color palette - modernized but keeping brand identity */
:root {
    --asvcoloryellow: #f9cf27; /* Original yellow */
    --asvcolorblue: #004D80; /* Original blue */
    --asvcolorlightblue: #0068AC; /* Original light blue */
    --asvcolordarkblue: #003F68; /* Original dark blue */
    --asvcolorgrey: #898787; /* Original grey */
    --asvcolorlightgrey: #f8f9fa; /* Original light grey */
    --asvcolorbackgroundgrey: #f0f2f5; /* Modernized background grey */
    --asvcolorlightgreyopac: rgba(248, 249, 250, 0.9); /* More opacity for better readability */
    --asvcolorbackgroundarticle: white;
    
    /* New colors */
    --asvcolor-accent: #00a0e3; /* Accent blue for highlights */
    --asvcolor-success: #28a745; /* Success green */
    --asvcolor-warning: #ffc107; /* Warning yellow */
    --asvcolor-danger: #dc3545; /* Danger red */
    --asvcolor-shadow: rgba(0, 0, 0, 0.1); /* Standardized shadow color */
}

/* Color classes */
.asvcoloryellow {color: var(--asvcoloryellow) !important;}
.asvcolorblue {color: var(--asvcolorblue) !important;}
.asvcolorlightblue {color: var(--asvcolorlightblue) !important;}
.asvcolordarkblue {color: var(--asvcolordarkblue) !important;}
.asvcolorgrey {color: var(--asvcolorgrey) !important;}
.asvcolorlightgrey {color: var(--asvcolorlightgrey) !important;}

/* Background color classes */
.bg-asv-lightgreyopac {background-color: var(--asvcolorlightgreyopac) !important;}
.bg-asv-article {background-color: white !important;}
.bg-asv-yellow {background-color: var(--asvcoloryellow) !important;}
.bg-asv-grey {background-color: var(--asvcolorgrey) !important;}
.bg-asv-lightgrey {background-color: var(--asvcolorlightgrey) !important;}
.bg-asv-blue {background-color: var(--asvcolorblue) !important;}
.bg-asv-lightblue {background-color: var(--asvcolorlightblue) !important;}

/* Font definitions - keeping the ASV font family */
@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Thin.ttf') format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-ThinItalic.ttf') format("truetype");
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-ExtraLight.ttf') format("truetype");
    font-weight: 200;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-ExtraLightItalic.ttf') format("truetype");
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Light.ttf') format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-LightItalic.ttf') format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Regular.ttf') format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Italic.ttf') format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Medium.ttf') format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-MediumItalic.ttf') format("truetype");
    font-style: italic;
    font-weight: 500;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-SemiBold.ttf') format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-SemiBoldItalic.ttf') format("truetype");
    font-style: italic;
    font-weight: 600;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Bold.ttf') format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-BoldItalic.ttf') format("truetype");
    font-style: italic;
    font-weight: 700;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-ExtraBold.ttf') format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-ExtraBoldItalic.ttf') format("truetype");
    font-style: italic;
    font-weight: 800;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-Black.ttf') format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: 'ASV';
    src: url('/static/fonts/cd-asv/Prompt-BlackItalic.ttf') format("truetype");
    font-style: italic;
    font-weight: 900;
}

/* Basic Styles - Improved typography and spacing */
html {
   font-family: 'ASV', sans-serif;
   font-size: 16px;
   scroll-behavior: smooth;
}

body {
   font-family: 'ASV', Verdana, Arial, Helvetica, sans-serif;
   font-size: 1rem;
   font-weight: 300;
   line-height: 1.6;
   color: #333;
   background: var(--asvcolorbackgroundgrey);
   text-align: left;
}

/* Main content area with improved styling */
main {
    background: url("/static/img/ASV_background.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 0;
    min-height: 70vh;
}

#main-wrapper {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--asvcolor-shadow);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Frontpage styling */
#frontpage {
    background-color: var(--asvcolorbackgroundgrey) !important;
    padding: 2rem 0;
}

/* Content area styling */
#content {
    padding: 1.5rem;
}

/* Article styling with card-like appearance */
article, .mce-content-body {
    padding: 1.5rem;
    background-color: var(--asvcolorbackgroundarticle);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--asvcolor-shadow);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease-in-out;
}

article:hover {
    transform: translateY(-3px);
}

/* Sidebar styling */
aside {
    background-color: var(--asvcolorbackgroundgrey);
    padding: 1rem;
}

aside .card {
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--asvcolor-shadow);
}

aside .card-header {
    background-color: var(--asvcolorblue);
    color: white;
    font-weight: 500;
    border-radius: 8px 8px 0 0 !important;
}

/* Footer styling */
footer, footer a {
    color: var(--asvcoloryellow);
    font-weight: 300;
    font-size: 1rem;
    background: #222;
    padding: 1.5rem 0;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Typography improvements */
h1, h2 {
    font-style: italic;
    color: var(--asvcolorblue) !important;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h3, h4, h5 {
    font-style: italic;
    color: var(--asvcoloryellow) !important;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

h1 {
    font-weight: 600;
    font-size: 2rem;
}

h2, h3 {
    font-weight: 500;
    font-size: 1.7rem;
}

h4 {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.3;
}

h5 {
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 1.3;
}

h6 {
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--asvcolorgrey);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Text utilities */
small, .small {
  font-size: .85rem;
  font-weight: 300;
}

.font-style-plakat {
    color: black;
    font-weight: 600;
    background-color: var(--asvcoloryellow);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

/* Link styling */
a {
    color: var(--asvcolorblue);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--asvcolor-accent);
    text-decoration: none;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Image fit utilities */
.img-cover { 
    object-fit: cover; 
    width: 100%; 
    height: 100%; 
    border-radius: 4px;
}

.img-contain { 
    object-fit: contain; 
    width: 100%; 
    height: 100%; 
    background-color: #f8f9fa; 
    border-radius: 4px;
}

.img-center { 
    object-position: center center; 
}

/* Card image styling */
.card-img-top { 
    width: 100%; 
    height: auto; 
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.article img, article img { 
    max-width: 100%; 
    height: auto;
    border-radius: 4px;
    margin: 0.5rem 0;
}

/* Button styling */
.btn {
    border-radius: 4px;
    font-weight: 400;
    padding: 0.5rem 1.2rem;
    transition: all 0.2s ease;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(249, 207, 39, 0.3);
}

.bg-light {
    background-color: var(--asvcolorlightgrey) !important;
}

/* Info button */
.btn-info {
    color: white;
    background-color: var(--asvcolorblue);
    border-color: var(--asvcolorblue);
}

.btn-info:hover, .btn-info:focus {
    background-color: var(--asvcolordarkblue);
    border-color: var(--asvcolordarkblue);
    transform: translateY(-2px);
}

/* Primary button */
.btn-primary {
    color: var(--asvcolorblue);
    background-color: var(--asvcolorlightgrey);
    border-color: var(--asvcoloryellow);
}

.btn-primary:hover, .btn-primary:focus {
    color: black;
    background-color: var(--asvcoloryellow);
    border-color: var(--asvcoloryellow);
    transform: translateY(-2px);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: black;
    background-color: var(--asvcoloryellow);
    border-color: var(--asvcoloryellow);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(249, 207, 39, 0.3);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    opacity: 0.9;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.back-to-top i {
    font-size: 1.5rem;
    line-height: 1.5;
}

/* Logo styling */
.asv-logo-alpha {
    background: url("/static/img/AlphaLogo.png") no-repeat center center;
    background-size: contain;
}

.asv-logo-1 {
    background: url("/static/img/logo_offiziell_17_-01.png") no-repeat center center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.asv-logo-1:hover {
    transform: scale(1.05);
}

.asv-logo-2 {
    background: url("/static/img/logo_offiziell_17_-02.png") no-repeat center center;
    background-size: contain;
}

.asv-logo-3 {
    background: url("/static/img/logo_offiziell_17_-03.png") no-repeat center center;
    background-size: contain;
}

.asv-logo-4 {
    background: url("/static/img/logo_offiziell_17_-04.png") no-repeat center center;
    background-size: contain;
}

.asv-logo-alpha::before,
.asv-logo-1::before,
.asv-logo-2::before,
.asv-logo-3::before,
.asv-logo-4::before {
    content: "Logo";
    color: transparent;
}

/* Card styling */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--asvcolor-shadow);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
}

.card-header {
    background-color: var(--asvcolorblue);
    color: white;
    border-bottom: none;
    border-radius: 8px 8px 0 0 !important;
}

.card-footer {
    background-color: var(--asvcolorlightgrey);
    border-top: none;
    border-radius: 0 0 8px 8px !important;
}

/* Table styling */
table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

table th {
    background-color: var(--asvcolorblue);
    color: white;
    font-weight: 500;
    text-align: left;
    padding: 0.75rem;
}

table td {
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2, h3 {
        font-size: 1.8rem;
    }
    
    h4 {
        font-size: 1.6rem;
    }
    
    h5 {
        font-size: 1.4rem;
    }
    
    .content {
        background: var(--asvcolorlightgrey);
        box-shadow: inset 0rem 0rem 1rem rgba(0,0,0,0.1);
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    #news {
        flex: 2 1 0%;
        order: 2;
        align-self: center;
        height: 120px;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Made with Bob */
