/* 
   Marrakech Transport Tours - Premium Luxury Black & Gold Theme
*/

:root {
    /* Luxury Palette */
    --bg-color: #050505;
    --card-bg: #121212;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;

    --primary-color: #D4AF37;
    --secondary-color: #FFFFFF;
    --accent-color: #F4C430;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #D4AF37 0%, #AA8020 100%);
    --secondary-gradient: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    --accent-gradient: linear-gradient(135deg, #F4C430 0%, #D4AF37 100%);
    --gold-text-gradient: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);

    /* Glassmorphism & Shadows */
    --glass-bg: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(212, 175, 55, 0.15);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-3d: 0 20px 50px rgba(0, 0, 0, 0.8);

    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.8;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-gradient);
    padding: 12px 30px !important;
    border-radius: 0;
    color: #000 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 1001;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid var(--primary-color);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero_slider/hero_vehicle.png') no-repeat center center/cover;
    background-color: #050505;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 20px;
}

#hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(20%);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.service-info {
    padding: 35px 25px;
    text-align: center;
}

.service-info h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 50px 20px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: #151515;
}

.feature-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-item:hover .icon {
    transform: scale(1.1);
    color: #fff;
}

.feature-item h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    box-shadow: var(--shadow-3d);
    filter: sepia(10%);
    transition: var(--transition);
}

.about-image:hover img {
    filter: sepia(0%);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    z-index: -1;
    transition: transform 0.4s ease;
}

.about-image:hover::before {
    transform: translate(10px, 10px);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #fff;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
    filter: grayscale(30%);
    border: 1px solid transparent;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
    border-color: var(--primary-color);
    z-index: 2;
    box-shadow: var(--shadow-3d);
}

/* Contact Section */
.contact-wrapper {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--primary-color);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 40px;
    background: #0a0a0a;
    transition: var(--transition);
    min-width: 320px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-method.primary {
    background: linear-gradient(135deg, #151515 0%, #0a0a0a 100%);
    border: 1px solid var(--primary-color);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-method span {
    color: var(--text-muted);
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-method strong {
    color: #fff;
    display: block;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Blog Grid Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-color);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
    gap: 12px;
}

.blog-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero_slider/hero_vehicle.png') no-repeat center center/cover;
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-header p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

/* Blog Article Styles */
.article-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 992px) {
    #hero h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    #hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    #hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-grid img {
        height: 250px;
    }

    .contact-method {
        width: 100%;
        min-width: auto;
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .contact-wrapper {
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .article-container {
        margin-top: 100px;
    }

    .article-image {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    #hero h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    #hero p {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .section-header h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .service-info h3 {
        font-size: 1.1rem;
    }

    .service-info p {
        font-size: 0.85rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .feature-item .icon {
        font-size: 2rem;
    }

    .contact-method i {
        font-size: 2rem;
    }

    .contact-method strong {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.7rem;
        padding: 12px 20px;
    }
}