/**
 * CrownateStudio - Bold & Elegant Design System
 * Enhancing global aesthetics and footer architecture.
 */

:root {
    --elegant-navy: #030712;
    --elegant-blue: #0f172a;
    --elegant-gold: #ffd700;
    --elegant-border: rgba(255, 255, 255, 0.1);
    --elegant-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Bold Styling */
body {
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    letter-spacing: -0.02em;
}

.sitename {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 26px;
    transition: var(--elegant-transition);
}


@media (max-width: 992px) {
    .sitename {
        font-size: 20px;
        letter-spacing: 1px;
    }
}

@media (max-width: 575px) {
    .sitename {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
}

/* Elegant Button Enhancements */
.cta-btn, .btn-primary {
    transition: var(--elegant-transition) !important;
    border-width: 2px !important;
}

.cta-btn:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Premium Action Buttons */
.btn-get-started {
    background: var(--accent-color);
    color: #ffffff !important;
    border: 2px solid var(--accent-color);
    transition: var(--elegant-transition) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-get-started:hover {
    background: transparent;
    color: var(--accent-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 74, 23, 0.4);
}

.btn-outline-light {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent;
    transition: var(--elegant-transition) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #030712 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Forensic View Service Buttons */
.btn-outline-primary {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: transparent !important;
    font-weight: 600 !important;
    transition: var(--elegant-transition) !important;
}

.btn-outline-primary:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 74, 23, 0.3);
}

.btn-outline-primary:active {
    transform: translateY(1px) scale(0.95) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* HIGH-SPECIFICITY FORENSIC BUTTONS */
.view-service-btn {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: transparent !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 25px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-block !important;
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.view-service-btn:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 10px 20px rgba(255, 74, 23, 0.4) !important;
    text-decoration: none !important;
}

.view-service-btn:active {
    transform: translateY(0) scale(0.92) !important;
}



/* --- RESTRUCTURED FOOTER --- */
/* --- TURNER STYLE FOOTER --- */
.footer {
    background-color: #004a99 !important; /* Slightly deeper blue for premium feel */
    color: #ffffff !important;
    padding: 80px 0 40px 0 !important; /* Added bottom padding to contain internal margins */
    margin-bottom: 0 !important;
    border: none !important;
}

.footer h4 {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
    opacity: 0.9;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--elegant-transition);
}

.social-links a:hover {
    background: #ffffff !important;
    color: #004a99 !important;
    transform: translateY(-3px);
}

.copyright {
    padding: 40px 0;
    padding-top: 50px;
    background-color: rgba(0, 0, 0, 0.1); /* Subtle dark contrast for copyright bar */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.copyright p, .credits {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.credits a {
    color: #ffffff !important;
    font-weight: 600;
}

/* Footer gap protection: ensures the bottom scroll area matches the footer color */
html {
    background-color: #004a99 !important;
}

body {
    background-color: var(--background-color);
}


/* Hero Animation System */
@keyframes heroZoomOut {
    0% {
        transform: scale(1.15);
        filter: blur(5px) brightness(0.7);
    }
    100% {
        transform: scale(1);
        filter: blur(0) brightness(0.8);
    }
}

.hero-animate-zoom {
    animation: heroZoomOut 3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    will-change: transform, filter;
}

/* Responsive Overrides for Hero */
@media (max-width: 768px) {
    .hero {
        min-height: 50vh !important;
    }
    .hero-animate-zoom {
        animation-duration: 2s; /* Faster on mobile for better perceived performance */
    }
}
/* --- SHARED INTERACTIVITY UTILITIES --- */
.hover-shadow {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.transition {
    transition: all 0.3s ease;
}
