/* 
   Kırmızı Kolej - Modern Theme
   Based on Bootstrap 5 Reset & Components 
*/

:root {
    /* Brand Colors */
    --primary: #D32F2F;
    /* Red - CTA & Highlights */
    --primary-dark: #B71C1C;
    --secondary: #1A237E;
    /* Navy Blue - Trust & Authority */
    --secondary-dark: #0D47A1;
    --accent: #FFC107;
    /* Amber - Success & Badges */
    --text-dark: #212529;
    --text-light: #6C757D;

    /* Backgrounds */
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Layout */
    --section-padding: 80px;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
}

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

/* Utility Classes */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary) !important;
}

.section {
    padding: var(--section-padding) 0;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn-secondary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-secondary-custom:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.4);
}

.btn-outline-light-custom {
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--primary);
}

/* Header & Nav */
.top-bar {
    background-color: var(--secondary);
    font-size: 0.9rem;
    padding: 8px 0;
}

.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    background: white;
    transition: all 0.3s ease;
}

.navbar.sticky-top {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: var(--secondary) !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    /* Large impactful hero */
    min-height: 600px;
    background: linear-gradient(rgba(26, 35, 126, 0.7), rgba(26, 35, 126, 0.6)), url('../../assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Quick Access Cards */
.quick-access-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.quick-access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.quick-access-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* USP Section */
.usp-box {
    padding: 20px;
}

.usp-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Stats Counter */
.counter-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--secondary);
    color: white;
    border-radius: 10px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

/* Cards (News & Events) */
.news-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

.news-date {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 4px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: #e0e0e0;
    padding-top: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer-heading {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-link {
    color: #ccc;
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.sticky-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        height: 70vh;
        min-height: 500px;
        clip-path: none;
    }

    .nav-link {
        margin: 5px 0;
    }
}