/* Main Variables */
:root {
    --primary-dark: #132440;
    --secondary-blue: #16476A;
    --accent-red: #BF092F;
    --accent-teal: #3B9797;
    --text-light: #f7f9f9;
    --text-muted: #b0b8c4;
    --glass-bg: rgba(22, 71, 106, 0.4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --backdrop-blur: blur(12px);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(191, 9, 47, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 151, 151, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

p,
li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Modern Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-red), #d91c45);
    color: white;
    box-shadow: 0 4px 15px rgba(191, 9, 47, 0.4);
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-teal), #2a7a7a);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn.primary:hover::before {
    opacity: 1;
}

.btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 151, 151, 0.5);
}

.btn.primary:active {
    transform: scale(0.95);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 42px;
    color: transparent;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-red), var(--accent-teal));
    border-radius: 0;
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(19, 36, 64, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(19, 36, 64, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 140px;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    opacity: 0.8;
}

nav ul li a:hover,
nav ul li a.active {
    opacity: 1;
    color: var(--accent-teal);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-red), var(--accent-teal));
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-slide {
    position: relative;
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-slide-content h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-slide-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.hero-nav:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--accent-teal);
    width: 30px;
    border-radius: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(19, 36, 64, 0.2), rgba(19, 36, 64, 0.4));
    z-index: 5;
    pointer-events: none;
}

/* About Section */
.about-section {
    background: transparent;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(22, 71, 106, 0.3);
    padding: 50px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-circle {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(59, 151, 151, 0.3));
    animation: float 6s ease-in-out infinite;
}

.about-text {
    flex: 1.5;
    text-align: left;
}

.about-text h3 {
    font-size: 28px;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    background: transparent;
}

.services-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    width: max-content;
    animation: scroll 30s linear infinite;
    overflow: visible;
}

.services-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 3 - 90px));
    }
}

.service-card {
    flex: 0 0 350px;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(145deg, rgba(22, 71, 106, 0.6), rgba(19, 36, 64, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: linear-gradient(145deg, rgba(191, 9, 47, 0.1), rgba(19, 36, 64, 0.9));
    border-color: var(--accent-red);
    transform: translateY(-10px);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 20px;
}

.service-card h3 {
    color: var(--text-light);
    font-size: 22px;
    margin-bottom: 15px;
}

/* Grids */
.vehicle-grid,
.property-grid,
.mobiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 10px;
}

/* Cards */
.vehicle-card,
.property-card,
.mobile-card {
    background: linear-gradient(180deg, rgba(22, 71, 106, 0.7) 0%, rgba(19, 36, 64, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vehicle-card:hover,
.property-card:hover,
.mobile-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-teal);
}

.vehicle-card:hover .vehicle-image img,
.property-card:hover .property-image img,
.mobile-card:hover .mobile-image img {
    transform: scale(1.1);
}

.vehicle-image,
.property-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.mobile-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image img,
.property-image img,
.mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mobile-image img {
    object-fit: contain;
}

.vehicle-details,
.property-details,
.mobile-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-details h3,
.property-details h3,
.mobile-details h3 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.vehicle-specs,
.property-specs,
.mobile-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-specs span,
.property-specs span,
.mobile-specs span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 0;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.vehicle-specs i,
.property-specs i,
.mobile-specs i {
    color: var(--accent-teal);
    margin-right: 5px;
}

.vehicle-price,
.property-price,
.mobile-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.property-location {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.property-location i {
    color: var(--accent-red);
    margin-right: 8px;
}

/* Contact Section */
.contact {
    background: rgba(22, 71, 106, 0.2);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(59, 151, 151, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-teal);
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-item a {
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-red);
}

.whatsapp-qr {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
}

.whatsapp-qr img {
    max-width: 200px;
    margin: 0 auto 15px;
    border-radius: 0;
}

.whatsapp-qr p {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: rgba(19, 36, 64, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-teal);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-teal);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: var(--accent-teal);
    margin-right: 10px;
    width: 20px;
}

.footer-contact a {
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.footer-bottom a {
    color: var(--accent-teal);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--accent-red);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-teal), #2a7a7a);
    color: white;
    padding: 20px 30px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: bottom 0.5s ease;
}

.toast.show {
    bottom: 30px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-content i {
    font-size: 24px;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0;
    overflow: hidden;
}

.toast-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: white;
    animation: progress 3s linear;
}

@keyframes progress {
    to {
        width: 100%;
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(19, 36, 64, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        font-size: 24px;
    }

    .hero-slide-content h1 {
        font-size: 36px;
    }

    .hero-slide-content p {
        font-size: 16px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vehicle-grid,
    .property-grid,
    .mobiles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-slide-content h1 {
        font-size: 28px;
    }

    .hero-slide-content p {
        font-size: 14px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }
}

/* Service Icons */
.service-icon i {
    font-size: 50px;
    color: var(--accent-teal);
}