/* Custom Variables */
:root {
    --primary-rgb: 10, 30, 60;
    --primary-light-rgb: 20, 45, 85;
    --primary-dark-rgb: 5, 15, 30;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --text-primary: rgb(var(--primary-rgb));
    --text-secondary: var(--gray-700);
    --text-light: var(--gray-500);
    --text-white: var(--white);
}

/* Override Bootstrap text colors */
.text-primary {
    color: rgb(var(--primary-rgb)) !important;
}

.bg-primary {
    background-color: rgb(var(--primary-rgb)) !important;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-100);
}

h1, h2, h3, h4, h5, h6 {
    color: rgb(var(--primary-rgb)) !important;
}

/* Navigation */
.navbar {
    padding: .4rem 0;
    transition: all 0.3s ease;
    background-color: var(--white) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: rgb(var(--primary-rgb)) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: var(--gray-700) !important;
}

.nav-link:hover, .nav-link.active {
    color: rgb(var(--primary-rgb)) !important;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    background-position: bottom;
}

.hero-section h1 {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 20px black;
}

.hero-section .lead {
    text-shadow: 2px 1px 4px black;
}

@media (max-width: 768px) {
    #aboutbutton {display: none;}
}

.min-vh-75 {
    min-height: 75vh;
}

/* Cards */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.1) !important;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(var(--primary-rgb)) !important;
}

.card-text {
    color: var(--gray-700);
}

/* Buttons */
.btn-primary {
    background-color: rgb(var(--primary-rgb)) !important;
    border-color: rgb(var(--primary-rgb)) !important;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: rgb(var(--primary-light-rgb)) !important;
    border-color: rgb(var(--primary-light-rgb)) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    color: var(--white) !important;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    color: rgb(var(--primary-rgb)) !important;
    width: 40%;
    background-color: var(--gray-100);
}

.table td {
    color: var(--gray-700);
}

/* Footer */
footer {
    background: rgb(var(--primary-dark-rgb)) !important;
}

footer h5 {
    color: var(--white) !important;
    font-weight: 600;
}

footer p {
    color: var(--gray-300);
}

footer a {
    color: var(--white) !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
    color: var(--white) !important;
}

/* File Links */
.file-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.file-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.file-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.file-link i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.file-link span {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .file-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .file-link {
        width: 100%;
    }
}

/* About Section */
#about .card {
    margin-bottom: 2rem;
}

#about .list-unstyled li {
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--gray-700);
}

#about .list-unstyled li:hover {
    background-color: var(--gray-100);
    transform: translateX(10px);
}

#about .list-unstyled i {
    width: 24px;
    text-align: center;
    color: rgb(var(--primary-rgb)) !important;
}

/* ANBI Section */
#anbi {
    background-color: var(--gray-100);
}

#anbi .lead {
    color: var(--gray-700);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .card {
    animation: fadeIn 1s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }

    #about .list-unstyled li {
        padding: 0.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--primary-rgb));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--primary-light-rgb));
}

/* Contact Form */
#contactForm .form-control {
    border: 1px solid var(--gray-300);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: rgb(var(--primary-rgb));
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

#contactForm .form-label {
    color: var(--gray-700);
    font-weight: 500;
}

#contactForm .form-check-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

#contactForm .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
}

#contactForm textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Add required field indicator */
.form-label::after {
    content: " *";
    color: var(--primary);
    font-weight: bold;
}

.form-label:not([for="privacy"])::after {
    content: " *";
    color: var(--primary);
    font-weight: bold;
}

/* Remove asterisk from privacy checkbox label */
.form-label[for="privacy"]::after {
    content: none;
}

/* Bestuur Section */
#bestuur .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#bestuur .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.1) !important;
}

.board-member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: 50%;
    transition: all 0.3s ease;
}

#bestuur .card:hover .board-member-image {
    background-color: rgba(var(--primary-rgb), 0.1);
}

#bestuur .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#bestuur h4 {
    color: var(--gray-700);
    font-weight: 500;
}

#bestuur .card-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #bestuur .card {
        margin-bottom: 2rem;
    }
}

/* Projects Section */
#projectCarousel {
    border-radius: 8px;
    overflow: hidden;
}

#projectCarousel .carousel-item {
    height: 500px;
}

#projectCarousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#projectCarousel .carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    padding: 2rem;
    color: var(--gray-800);
}

#projectCarousel .carousel-caption h3 {
    color: rgb(var(--primary-rgb));
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#projectCarousel .carousel-caption p {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-bottom: 0;
}

#projectCarousel .carousel-control-prev,
#projectCarousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

#projectCarousel .carousel-control-prev:hover,
#projectCarousel .carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    #projectCarousel .carousel-item {
        height: 400px;
    }
    
    #projectCarousel .carousel-caption {
        padding: 1.5rem;
    }
    
    #projectCarousel .carousel-caption h3 {
        font-size: 1.4rem;
    }
    
    #projectCarousel .carousel-caption p {
        font-size: 1rem;
    }
} 

#ashuvtitleicon {
    background-image: url("ashuvtransp.png");
    width: 50px;
    height: 50px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
}