/* Custom Styling for Ghamam Al-Badr Heavy Equipment & Contracting */

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
    --primary-color: #f4b41a;
    --primary-hover: #d99a07;
    --primary-dark: #7b5800;
    --bg-dark: #121417;
    --surface-dark: #1e2228;
    --surface-card-dark: #282d36;
}

body {
    font-family: 'Tajawal', 'Almarai', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #111827;
}
::-webkit-scrollbar-thumb {
    background: #f4b41a;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d99a07;
}

/* Pulse ring animation for WhatsApp button */
@keyframes pulse-ring {
    0% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.85);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.pulse-btn {
    animation: pulse-ring 2.2s infinite ease-in-out;
}

/* Float animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0px); }
}
.float-btn {
    animation: float 3s ease-in-out infinite;
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.dark .glass-nav {
    background: rgba(26, 30, 36, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Shimmer Golden Gradient Text */
.gold-gradient-text {
    background: linear-gradient(135deg, #fcd34d 0%, #f4b41a 50%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Hover Elevation */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    items-center: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-right: 5px solid #25d366;
    animation: slideInLeft 0.3s ease-out forwards;
    min-width: 300px;
}

.dark .toast {
    background: #1f2937;
    color: #f9fafb;
}

.toast.toast-error {
    border-right-color: #ef4444;
}

/* Logo Display Custom Sizing */
.site-header-logo {
    height: 82px;
    max-height: 88px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    .site-header-logo {
        height: 64px;
        max-height: 70px;
        max-width: 240px;
    }
}

.site-footer-logo {
    height: 56px;
    max-height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* Service Card High-Contrast & Enlarged Typography */
.service-desc-text {
    font-size: 1.12rem !important; /* ~18px */
    line-height: 1.7 !important;
    font-weight: 800 !important;
    color: #111827 !important;
}
.dark .service-desc-text {
    color: #ffffff !important; /* Pure white high-contrast text in dark mode */
}

.service-feature-item {
    font-size: 1.08rem !important; /* ~17.3px */
    line-height: 1.6 !important;
    font-weight: 800 !important;
    color: #111827 !important;
}
.dark .service-feature-item {
    color: #ffffff !important; /* Pure white high-contrast text in dark mode */
}

@media (max-width: 640px) {
    .service-desc-text {
        font-size: 1.02rem !important; /* ~16.3px */
    }
    .service-feature-item {
        font-size: 0.98rem !important; /* ~15.7px */
    }
}
