/* Turkish Business Network Canada - Custom Styles */
/* Red and White Theme */

:root {
    --turkish-red: #E30A17;
    --turkish-red-dark: #C00000;
    --turkish-red-light: #FF2E3D;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* font-family: 'Inter'; */
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Color Utilities */
.bg-turkish-red {
    background-color: var(--turkish-red) !important;
}

.text-turkish-red {
    color: var(--turkish-red) !important;
}

.btn-turkish-red {
    background-color: var(--turkish-red);
    border-color: var(--turkish-red);
    color: white;
}

.btn-turkish-red:hover {
    background-color: var(--turkish-red-dark);
    border-color: var(--turkish-red-dark);
    color: white;
}

.btn-outline-turkish-red {
    border-color: var(--turkish-red);
    color: var(--turkish-red);
}

.btn-outline-turkish-red:hover {
    background-color: var(--turkish-red);
    border-color: var(--turkish-red);
    color: white;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, var(--turkish-red) 0%, var(--turkish-red-dark) 100%); */
    min-height: 500px;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url("/static/images/hero_image.webp");
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 500px;
}

.maple_logo{
    background-image: url('/static/images/ctbp_logo_transparent.png'); 
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

/* Cards */
.card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Profile Photos */
.profile-photo-xl {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.profile-photo-lg {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.profile-photo-md {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.profile-photo-placeholder-xl,
.profile-photo-placeholder-lg,
.profile-photo-placeholder-md {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #999;
}

.profile-photo-placeholder-xl {
    width: 150px;
    height: 150px;
    font-size: 4rem;
}

.profile-photo-placeholder-lg {
    width: 120px;
    height: 120px;
    font-size: 3rem;
}

.profile-photo-placeholder-md {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Statistics Box */
.stat-box {
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.stat-box h2 {
    font-weight: 700;
}

/* Category Badges */
.category-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.category-badge:hover {
    background-color: var(--turkish-red);
    color: white;
    transform: translateY(-3px);
}

.category-badge i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.category-badge span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Registration Progress */
.registration-progress {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* Forms */
.form-label {
    font-weight: 500;
    color: #555;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--turkish-red);
    box-shadow: 0 0 0 0.25rem rgba(227, 10, 23, 0.25);
}

.form-check-input:checked {
    background-color: var(--turkish-red);
    border-color: var(--turkish-red);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.7;
}

.social-links a {
    font-size: 1.5rem;
}

/* Modals */
.modal-content {
    border-radius: 10px;
}

/* Loading States */
.spinner-border {
    color: var(--turkish-red);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 900px;
        padding: 3rem 0 !important;
    }
    
    .profile-photo-xl {
        width: 100px;
        height: 100px;
    }
    .maple_logo{
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/images/ctbp_logo_transparent.png');
        color: #f0f0f0 !important;
    }

    .profile-photo-placeholder-xl {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--turkish-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--turkish-red-dark);
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .alert {
        display: none !important;
    }
}
