:root {
    --brand-red: #C41E3A;
    --brand-gold: #D4AF37;
    --brand-white: #FFFFFF;
    --brand-cream: #FFFDD0;
}

body {
    background-color: var(--brand-white);
    font-family: 'Garamond', serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, .luxury-text {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.luxury-nav .nav-link {
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
}
.luxury-nav .nav-link:hover, .luxury-nav .nav-link.active {
    color: var(--brand-red) !important;
}
@media (min-width: 992px) {
    .luxury-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--brand-red);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    .luxury-nav .nav-link:hover::after, .luxury-nav .nav-link.active::after {
        width: 100%;
    }
    .border-end-lg {
        border-right: 1px solid #dee2e6 !important;
    }
}
.luxury-tracking-bar {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.8) 0%, rgba(212, 175, 55, 0.4) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--brand-white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
}

/* 3D Carousel */
.carousel-3d-container {
    perspective: 2000px;
}

.carousel-3d {
    transform: rotateY(-15deg) rotateX(10deg);
    border: 10px solid var(--brand-gold);
    box-shadow: 0 50px 100px rgba(196, 30, 58, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-3d:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
}

.cta-luxury {
    background: linear-gradient(45deg, var(--brand-red), var(--brand-gold));
    color: white;
    padding: 20px 50px;
    font-size: 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

.cta-luxury:hover {
    transform: scale(1.1);
    color: var(--brand-cream);
}

.service-tabs-wrapper {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}
.service-tab-item {
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    color: #003366; 
    border-bottom: 4px solid transparent;
}
.service-tab-item:hover {
    background: #f8f9fa;
}
.service-tab-item.active-red {
    border-bottom: 4px solid var(--brand-red);
}
.service-tab-item.active-blue-diagonal {
    background: repeating-linear-gradient(
        45deg,
        #004a99,
        #004a99 10px,
        #003366 10px,
        #003366 20px
    );
    color: #fff;
}
.service-tab-item h5 {
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.service-pane {
    padding: 20px;
}

.glass-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.luxury-gradient-text {
    background: linear-gradient(45deg, var(--brand-red), var(--brand-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
.hover-lift {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-lift:hover {
    transform: translateY(-20px);
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Page Specific Styles */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(196, 30, 58, 0.7), rgba(0,0,0,0.7)), url('assets/images/about/company_overview_luxury_logistics_visual.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}
.section-luxury { padding: 100px 0; position: relative; }
.bg-cream { background-color: var(--brand-cream); }
.luxury-border-left { border-left: 5px solid var(--brand-gold); padding-left: 30px; }
.luxury-border-right { border-right: 5px solid var(--brand-red); padding-right: 30px; }
.section-title { color: var(--brand-red); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; font-size: 2.5rem; }
.luxury-card { border: none; background: white; box-shadow: 0 20px 40px rgba(0,0,0,0.05); transition: all 0.4s ease; border-radius: 15px; height: 100%; }
.luxury-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(196, 30, 58, 0.1); }
.img-luxury { border: 8px solid white; box-shadow: 0 15px 45px rgba(0,0,0,0.1); border-radius: 20px; transition: transform 0.5s ease; }
/* 3D Effects for Services */
.perspective-container {
    perspective: 1500px;
    padding: 50px 0;
}

.card-3d-wrap {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d-wrap:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

.glass-card-luxury {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(196, 30, 58, 0.15);
    transform-style: preserve-3d;
}

.floating-icon-3d {
    font-size: 4rem;
    background: linear-gradient(45deg, var(--brand-red), var(--brand-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
    transform: translateZ(50px);
}

.text-depth {
    transform: translateZ(30px);
}

.luxury-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    transform: translateZ(40px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-section {
        height: auto;
        padding: 100px 0;
    }
    .carousel-3d-container {
        margin-top: 50px;
    }
    .service-tab-item {
        padding: 20px 10px;
    }
    .display-2 {
        font-size: 3rem;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .cta-luxury {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
    .section-luxury {
        padding: 60px 0;
    }
    .luxury-card, .luxury-card-light, .luxury-outline-card {
        padding: 25px;
    }
    .footer-social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }
    .lead {
        font-size: 1.1rem !important;
    }
    .d-flex.gap-4 {
        flex-direction: column;
        gap: 1rem !important;
    }
    .cta-luxury {
        width: 100%;
        text-align: center;
    }
}
