/* 
 * Guide Explorateur - Classic Design Styles
 */

/* Micro-animations */
.hover-scale {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.group:hover .hover-scale {
    transform: scale(1.08);
}

/* Fix for Custom Logo - Overlapping Effect */
.site-branding {
    position: relative;
    z-index: 1050; /* Keep it above other elements */
}

.custom-logo {
    max-height: 150px; /* Significantly increased size */
    width: auto;
    max-width: none;
    margin-bottom: -80px; /* Creates the "half in, half out" overlap effect */
    position: relative;
    z-index: 1050;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); /* Adds a nice shadow to make it pop over the content below */
}

@media (max-width: 991.98px) {
    .custom-logo {
        max-height: 60px !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
    }
}

.hover-translate-y {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-translate-y:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.tracking-wide {
    letter-spacing: 0.15em;
}

/* Base Text Colors & Typography */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-dark { color: var(--color-dark) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-accent { background-color: var(--color-accent) !important; }
.bg-light { background-color: var(--color-light) !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

body, p {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.7;
}

/* Link Resets */
.nav a {
    color: var(--color-dark);
}
.nav a:hover {
    color: var(--color-accent);
}
.hover-text-accent:hover {
    color: var(--color-accent) !important;
}

/* Gradient Overlay */
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0, 35, 149, 0.8) 0%, rgba(0,0,0,0.1) 100%);
}

/* Sticky Header Transition */
.site-header {
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    padding: 0.25rem 0 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Button Styling */
.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn-accent:hover {
    background-color: #e07419;
    border-color: #e07419;
    color: white;
}
.btn-primary-custom {
    background-color: var(--color-primary);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}
.btn-primary-custom:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Clean Structured Containers */
.card {
    border-color: rgba(0,0,0,0.05);
}

/* Icons */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(237, 41, 57, 0.1); /* Secondary light */
    color: var(--color-secondary);
    font-size: 1.5rem;
}

/* Responsive Font Sizes */
@media (max-width: 767.98px) {
    .display-2 { font-size: 2.75rem; }
    .display-3 { font-size: 2.25rem; }
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
    .display-6 { font-size: 1.35rem; }
}

/* Mobile Offcanvas Menu Fixes */
#mobileMenu .nav a,
#mobileMenu .sub-menu a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
    transition: all 0.3s ease;
}
#mobileMenu .nav a:hover,
#mobileMenu .sub-menu a:hover {
    color: var(--color-accent) !important;
}
#mobileMenu .sub-menu {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
#mobileMenu .sub-menu a {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7) !important;
}
