/* Summit Erciyes Theme Styles - Modern Header & Footer */

:root {
    --ast-global-color-0: #1c4179;
    --ast-global-color-1: #1c4179;
    --ast-global-color-2: #1a1a1a;
    --ast-global-color-3: #6e7180;
    --ast-global-color-4: #ffffff;
    --ast-global-color-5: #00123A;
    --ast-global-color-6: #243673;
    --ast-global-color-7: #FBFCFF;
    --ast-global-color-8: #BFD1FF;
    
    /* Modern Color Palette */
    --primary-color: #1c4179;
    --primary-dark: #1c4179;
    --secondary-color: #6e7180;
    --text-dark: #1a1a1a;
    --text-light: #6e7180;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    
    /* Typography */
    --font-primary: 'Akrobat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Akrobat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

/* ============================================
   HEADER STYLES - Modern Bootstrap Navbar
   ============================================ */

.site-header {
    position: relative;
    z-index: 1030;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: #ffffff !important;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    transition: transform 0.3s ease;
    max-height: 112px;
    width: auto;
    height: 111px;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #333 !important;
    padding: 0.65rem 1.25rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

/* Normal nav links - underline effect */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #1c4179;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
}

/* Dropdown toggle links - different style (no underline, badge-like effect) */
.navbar-nav .nav-link.dropdown-toggle {
    padding-right: 1.5rem !important;
}

/* Remove underline effect for dropdown toggles */
.navbar-nav .nav-link.dropdown-toggle::after {
    display: none !important;
}

/* Custom arrow for dropdown */
.navbar-nav .nav-link.dropdown-toggle::before {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-dark);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link.dropdown-toggle:hover::before,
.navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"]::before {
    border-top-color: #1c4179;
    transform: translateY(-50%) rotate(180deg);
}

.navbar-nav .nav-link.dropdown-toggle:hover {
    color: #1c4179 !important;
    background-color: rgba(28, 65, 121, 0.05);
    border-radius: 6px;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"] {
    color: #1c4179 !important;
    background-color: rgba(28, 65, 121, 0.08);
    border-radius: 6px 6px 0 0;
}

.navbar-nav .nav-link:hover {
    color: #1c4179 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active:not(.dropdown-toggle) {
    color: #1c4179 !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: #1c4179;
    color: white;
    padding-left: 2rem;
}


/* Social Media Icons */
.social-icon-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
}

.social-icon-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 65, 121, 0.3);
}

.social-icons-under-logo {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

.social-icon-link i {
    transition: transform 0.3s ease;
}

.social-icon-link:hover i {
    transform: scale(1.1);
}

/* Register Button - Breathing Animation */
.btn-register-breathing {
    background: linear-gradient(135deg, #1c4179 0%, #1c4179 100%);
    color: white !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(28, 65, 121, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: breathing 3s ease-in-out infinite;
}

.btn-register-breathing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register-breathing:hover::before {
    width: 300px;
    height: 300px;
}

.btn-register-breathing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 65, 121, 0.4);
    animation: none;
    background: linear-gradient(135deg, #1c4179 0%, #1c4179 100%);
    opacity: 0.9;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(28, 65, 121, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(28, 65, 121, 0.5);
    }
}

/* Mobile Menu Styles */
.navbar-toggler {
    padding: 0.5rem;
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        padding-bottom: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile dropdown toggle - remove background on mobile */
    .navbar-nav .nav-link.dropdown-toggle:hover,
    .navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"] {
        background-color: transparent !important;
        border-radius: 0;
    }
    
    .navbar-nav .nav-link.dropdown-toggle::before {
        right: 1rem;
    }
    
    .social-icon-link {
        margin: 0.5rem;
    }
    
    .btn-register-breathing {
        margin-top: 0.5rem;
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .border-start {
        border-left: none !important;
        padding-left: 0 !important;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color) !important;
    }
}

/* ============================================
   FOOTER STYLES - Light Modern Design
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-dark);
    border-top: 3px solid #1c4179;
}

.footer-main {
    background-color: #f8f9fa;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-logo-img {
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--text-dark);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1c4179;
    border-radius: 2px;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-text-dark {
    color: var(--text-dark);
}

.footer-text-secondary {
    color: var(--text-light);
}

.footer-icon {
    font-size: 1.25rem;
    color: #1c4179;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: var(--text-light);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #1c4179 !important;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    background-color: #e9ecef;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer-bottom .small {
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-bottom i {
    color: #1c4179;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-img {
        max-height: 80px;
        height: auto;
    }
    
    .social-icons-under-logo {
        margin-top: 6px;
    }
    
    .social-icon-link {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .footer-main {
        padding: 1.5rem 0 !important;
    }
    
    .footer-info h5 {
        margin-top: 2rem;
    }
    
    .footer-info h5:first-child {
        margin-top: 0;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .row > div {
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-light-emphasis {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Container adjustments */
.container-fluid {
    max-width: 1400px;
}

/* Footer container adjustments */
.footer-main .container-fluid,
.footer-bottom .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Animation for navbar on scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar.scrolled {
    animation: slideDown 0.3s ease;
}
