/* Custom Styles for Marzok Transport */

/* Header Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Responsive Logo Styles */
@media (max-width: 768px) {
    .header-logo {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 35px;
        max-width: 120px;
    }
}

/* Custom Gold Colors */
.text-gold-50 { color: #fefdf8; }
.text-gold-100 { color: #fef7cd; }
.text-gold-200 { color: #fef08a; }
.text-gold-300 { color: #fde047; }
.text-gold-400 { color: #facc15; }
.text-gold-500 { color: #eab308; }
.text-gold-600 { color: #d4af37; }
.text-gold-700 { color: #b8941f; }
.text-gold-800 { color: #92741a; }
.text-gold-900 { color: #78601c; }

.bg-gold-50 { background-color: #fefdf8; }
.bg-gold-100 { background-color: #fef7cd; }
.bg-gold-200 { background-color: #fef08a; }
.bg-gold-300 { background-color: #fde047; }
.bg-gold-400 { background-color: #facc15; }
.bg-gold-500 { background-color: #eab308; }
.bg-gold-600 { background-color: #d4af37; }
.bg-gold-700 { background-color: #b8941f; }
.bg-gold-800 { background-color: #92741a; }
.bg-gold-900 { background-color: #78601c; }

.border-gold-50 { border-color: #fefdf8; }
.border-gold-100 { border-color: #fef7cd; }
.border-gold-200 { border-color: #fef08a; }
.border-gold-300 { border-color: #fde047; }
.border-gold-400 { border-color: #facc15; }
.border-gold-500 { border-color: #eab308; }
.border-gold-600 { border-color: #d4af37; }
.border-gold-700 { border-color: #b8941f; }
.border-gold-800 { border-color: #92741a; }
.border-gold-900 { border-color: #78601c; }

.hover\:text-gold-400:hover { color: #facc15; }
.hover\:text-gold-500:hover { color: #eab308; }
.hover\:text-gold-600:hover { color: #d4af37; }
.hover\:text-gold-700:hover { color: #b8941f; }

.hover\:bg-gold-400:hover { background-color: #facc15; }
.hover\:bg-gold-500:hover { background-color: #eab308; }
.hover\:bg-gold-600:hover { background-color: #d4af37; }
.hover\:bg-gold-700:hover { background-color: #b8941f; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Hero section background pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Service cards hover effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Team cards hover effect */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d97706;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Company name styling in hero section */
.company-name {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .company-name {
        font-size: 5rem !important;
    }
}

@media (min-width: 1280px) {
    .company-name {
        font-size: 6rem !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* 3D Icon Effects */
.icon-3d {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    display: inline-block;
}

.icon-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.1));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.icon-3d:hover {
    transform: translateY(-8px) rotateX(15deg) rotateY(5deg) scale(1.1);
    filter: drop-shadow(0 15px 25px rgba(212, 175, 55, 0.4));
}

.icon-3d:hover::before {
    opacity: 1;
}

/* Icon container with 3D effect */
.icon-container {
    background: linear-gradient(145deg, #f8f6f0, #e8e4d8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.icon-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.icon-container:hover {
    transform: translateY(-10px) rotateX(10deg) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(212, 175, 55, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.7),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.icon-container:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.icon-float {
    animation: float 3s ease-in-out infinite;
}

.icon-float:nth-child(2) {
    animation-delay: 0.5s;
}

.icon-float:nth-child(3) {
    animation-delay: 1s;
}

.icon-float:nth-child(4) {
    animation-delay: 1.5s;
}

/* Pulse effect for icons */
@keyframes iconPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.icon-pulse:hover {
    animation: iconPulse 1.5s infinite;
}

/* Rotate effect for specific icons */
.icon-rotate {
    transition: transform 0.5s ease;
}

.icon-rotate:hover {
    transform: rotate(360deg) scale(1.1);
}

/* Bounce effect */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -8px, 0);
    }
    90% {
        transform: translate3d(0, -3px, 0);
    }
}

.icon-bounce:hover {
    animation: bounce 1s ease;
}

/* Glow effect */
.icon-glow:hover {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Truck moving animation */
@keyframes truckMove {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(100px);
    }
}

.truck-animation {
    animation: truckMove 3s ease-in-out infinite alternate;
}

/* Shake effect */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.icon-shake:hover {
    animation: shake 0.5s ease-in-out;
}

/* FAQ accordion styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active {
    background-color: #fef3c7;
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.3s ease;
}

/* Contact form success/error messages */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 500;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-pattern {
        background-size: 200px 200px;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .team-card:hover {
        transform: none;
    }
}