/* 
   Premium Design System 
   Theme: Modern, Trustworthy, Professional
*/

:root {
    /* Brand Colors */
    --brand-primary: #F4A037;
    /* Orange - Actions/Highlights */
    --brand-secondary: #2A4A6B;
    /* Light Blue - Background */

    /* Color Palette Mappings */
    --primary-dark: #0f172a;
    --primary-light: var(--brand-secondary);
    /* Light Blue Background */
    --accent-blue: #60a5fa;
    /* Lighter blue for better contrast on dark */
    --accent-gold: var(--brand-primary);

    --text-main: #f1f5f9;
    /* White-ish text */
    --text-muted: #94a3b8;
    /* Lighter clean gray */
    --white: #ffffff;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #162a3f 0%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, var(--brand-primary) 0%, #d97706 100%);
    --gradient-gold: linear-gradient(135deg, var(--brand-primary) 0%, #d97706 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-glow: 0 0 20px rgba(244, 160, 55, 0.4);

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--primary-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--white);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Text Gradient */
.text-gradient-animated {
    background: linear-gradient(-45deg, #F4A037, #fbbf24, #f59e0b, #F4A037);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 6s ease infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Components */
.btn-primary {
    background: var(--brand-primary);
    color: #1e293b;
    /* Dark text on orange button for readability */
    font-weight: 700;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: #fbbf24;
}

.card-glass {
    background: rgba(30, 41, 59, 0.6);
    /* Darker glass */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.2);
    border-color: rgba(244, 160, 55, 0.3);
}

/* 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-content {
    transform: translateZ(20px);
}

/* Navbar */
.nav-blur {
    background: rgba(42, 74, 107, 0.9);
    /* Light Blue with opacity */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    position: relative;
    color: #cbd5e1;
    /* Light Slate */
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--brand-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-bg {
    background: var(--primary-light);
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(244, 160, 55, 0.05), transparent 60%);
    pointer-events: none;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered Delays for Reveal */
.reveal-delay-100 {
    transition-delay: 100ms;
}

.reveal-delay-200 {
    transition-delay: 200ms;
}

.reveal-delay-300 {
    transition-delay: 300ms;
}

/* Service Cards */
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 160, 55, 0.1);
    border: 1px solid rgba(244, 160, 55, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1.5rem;
    color: var(--brand-primary);
}

/* Form Styles */
.form-input {
    background: rgba(15, 23, 42, 0.5);
    /* Dark input */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition-base);
}

.form-input:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(244, 160, 55, 0.1);
    outline: none;
}

/* Footer */
.footer-gradient {
    background: var(--gradient-hero);
}

/* Custom Utilities */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Mobile Menu Animations */
.hamburger-line {
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    background-color: var(--brand-primary);
    /* Orange hamburger */
}

.hamburger-active .line-1 {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-active .line-2 {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-active .line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-link {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-open .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-open .mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-open .mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-open .mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}