/* ========================================
   Amesterdam - Main Stylesheet
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    --primary-blue: #1a2b3c;
    --accent-gold: #d48d3f;
    --accent-gold-hover: #b07436;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --slate-800: #1e293b;
    --footer-bg: #0f1a24;
}

/* ========== Base Styles ========== */
.bg-primary {
    background-color: var(--primary-blue);
}

.text-accent {
    color: var(--accent-gold);
}

.bg-accent {
    background-color: var(--accent-gold);
}

.hover-gold:hover {
    background-color: var(--accent-gold-hover);
}

[x-cloak] {
    display: none !important;
}

/* ========== Scrollbar Styles ========== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ========== Carousel Styles ========== */
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ========== Navigation Arrow Buttons ========== */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    border: none;
    cursor: pointer;
}

.carousel-nav-btn:hover {
    background: var(--accent-gold);
}

.carousel-nav-btn.prev {
    left: 1rem;
}

.carousel-nav-btn.next {
    right: 1rem;
}

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

/* ========== Animation Enhancements ========== */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Card Hover Effects ========== */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* ========== Product Card Overlay ========== */
.product-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

/* ========== Product Image Optimization ========== */
.product-image {
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* ========== Partner Icons ========== */
.partner-icon {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-icon:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========== Client Cards ========== */
.client-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.client-card:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ========== Social Links ========== */
.social-link {
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

/* ========== Contact Section ========== */
.contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== Footer Styles ========== */
.footer-heading {
    border-bottom: 1px solid rgba(212, 141, 63, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
}

/* ========== RTL Support ========== */
[dir="rtl"] .border-l-4 {
    border-left: 0;
    border-right: 4px solid var(--accent-gold);
    padding-left: 0;
    padding-right: 1rem;
}

[dir="rtl"] .carousel-nav-btn.prev {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .carousel-nav-btn.next {
    right: auto;
    left: 1rem;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .carousel-indicators {
        bottom: 1.5rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-nav-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}
