/* Header Styles for FGBMFI Website */

/* Main header styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
}

/* Mobile compact header */
.mobile-compact {
    transition: padding 0.3s ease;
}

/* Primary color variable */
:root {
    --primary-color: #7B1E22;
    --primary-dark: #A52A2A;
    --primary-light: #8B2635;
    --accent-color: #D4AF37;
    --accent-hover: #B8941F;
}

/* Hover effects for social icons */
.hover-effect {
    transition: transform 0.3s, color 0.3s;
}

.hover-effect:hover {
    transform: scale(1.2);
    color: var(--primary-color) !important;
}

/* Responsive logo sizing */
.responsive-logo {
    height: 85px;
    width: auto;
    transition: height 0.3s ease;
}

/* Responsive text sizing */
.responsive-title {
    font-size: 1.75rem; /* fs-3 equivalent */
    transition: font-size 0.3s ease;
}

.responsive-tagline {
    font-size: 0.9rem;
    transition: font-size 0.3s ease;
}

/* Contact info styles */
.contact-info i {
    color: var(--primary-color);
}

.mobile-contact {
    font-size: 0.8rem;
}

.contact-section {
    gap: 0.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: rgba(123, 30, 34, 0.1);
}

.social-link {
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Additional mobile height reduction */
@media (max-width: 768px) {
    .mobile-compact .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-compact .row {
        margin: 0;
    }
    
    .mobile-compact .col-lg-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .mobile-compact .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .mobile-compact .d-flex.align-items-center {
        gap: 0.3rem;
    }
}

@media (max-width: 375px) {
    .mobile-compact .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .mobile-compact .d-flex.align-items-center {
        gap: 0.2rem;
    }
}

/* Media queries for different screen sizes */
@media (max-width: 992px) {
    header .row {
        text-align: center;
    }

    header .justify-content-lg-end {
        justify-content: center !important;
    }
    
    .mobile-compact {
        padding: 0.75rem 0;
    }
}

@media (max-width: 768px) {
    .mobile-compact {
        padding: 0.5rem 0;
    }
    
    .responsive-logo {
        height: 50px;
    }

    .responsive-title {
        font-size: 1.3rem;
    }

    .responsive-tagline {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .contact-section {
        gap: 0.2rem;
        margin-bottom: 0.3rem !important;
    }
    
    .contact-info {
        font-size: 0.8rem;
    }
    
    .social-icons a {
        width: 30px !important;
        height: 30px !important;
        margin: 0 0.2rem;
    }
    
    .social-icons .hover-effect {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .mobile-compact {
        padding: 0.4rem 0;
    }
    
    .responsive-logo {
        height: 40px;
    }

    .responsive-title {
        font-size: 1.1rem;
        margin-bottom: 0.1rem !important;
    }

    .responsive-tagline {
        font-size: 0.65rem;
        max-width: 160px;
        white-space: normal;
        line-height: 1.0;
    }
    
    .contact-info {
        font-size: 0.7rem;
    }
    
    .mobile-contact {
        font-size: 0.65rem;
    }
    
    .social-icons a {
        width: 26px !important;
        height: 26px !important;
        margin: 0 0.15rem;
    }
    
    .social-icons .hover-effect {
        font-size: 0.8rem !important;
    }
    
    .contact-section {
        flex-direction: row !important;
        gap: 0.3rem;
        margin-bottom: 0.2rem !important;
    }
    
    .col-lg-6.col-md-12.mb-3.mb-lg-0.mb-md-2 {
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 375px) {
    .mobile-compact {
        padding: 0.3rem 0;
    }
    
    .responsive-logo {
        height: 35px;
    }

    .responsive-title {
        font-size: 1rem;
        margin-bottom: 0.05rem !important;
    }

    .responsive-tagline {
        font-size: 0.6rem;
        max-width: 140px;
        line-height: 0.9;
    }
    
    .contact-info {
        font-size: 0.65rem;
    }
    
    .mobile-contact {
        font-size: 0.6rem;
    }
    
    .social-icons a {
        width: 24px !important;
        height: 24px !important;
        margin: 0 0.1rem;
    }
    
    .social-icons .hover-effect {
        font-size: 0.75rem !important;
    }
    
    .contact-section {
        margin-bottom: 0.15rem !important;
    }
}

/* Ultra small screens */
@media (max-width: 320px) {
    .mobile-compact {
        padding: 0.25rem 0;
    }
    
    .responsive-logo {
        height: 30px;
    }

    .responsive-title {
        font-size: 0.9rem;
        margin-bottom: 0.05rem !important;
    }

    .responsive-tagline {
        font-size: 0.55rem;
        max-width: 120px;
        line-height: 0.85;
    }
    
    .contact-info {
        font-size: 0.6rem;
    }
    
    .social-icons a {
        width: 22px !important;
        height: 22px !important;
        margin: 0 0.08rem;
    }
    
    .social-icons .hover-effect {
        font-size: 0.7rem !important;
    }
    
    .contact-section {
        margin-bottom: 0.1rem !important;
        gap: 0.2rem;
    }
}