/* ============================================
   MAVEKS MARINE - Bootstrap 5 Modern Design
   ============================================ */

/* Modern Color Palette */
:root {
    --primary-blue: #0066cc;
    --primary-blue-dark: #004499;
    --accent-gold: #ffb700;
    --accent-gold-light: #ffd54f;
    --dark-navy: #0a1929;
    --light-gray: #f5f7fa;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --gradient-gold: linear-gradient(135deg, #ffb700 0%, #ffd54f 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

/* Modern Header */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    background: var(--white) !important;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand img {
    max-height: 70px;
    transition: var(--transition);
    height: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-navy) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
}

.navbar-toggler {
    border-color: var(--dark-navy);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 12px 24px;
    transition: var(--transition);
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 28px;
}

/* Top Bar */
.top-bar {
    background: var(--dark-navy);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-gold);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px;
    margin-right: 15px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--accent-gold);
    color: var(--dark-navy);
}

/* Hero Slider */
#heroCarousel {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
}

#heroCarousel .carousel-item {
    min-height: 90vh;
    position: relative;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slider-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(10, 25, 41, 0.85) 100%);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.slider-content {
    animation: fadeInUp 1s ease;
}

.slider-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    margin: 0 5px;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--dark-navy);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-navy);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--gradient-primary);
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark-navy);
}

.service-card h3 a {
    color: var(--dark-navy);
    text-decoration: none;
    transition: var(--transition);
}

.service-card h3 a:hover {
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.service-card-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card-link:hover {
    gap: 12px;
    color: var(--accent-gold);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Title */
.page-title {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 183, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Contact Info */
.contact-info-box {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-info-box h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-box ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info-box ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-box ul li strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
}

/* Map */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 16px;
}

.custom-marker {
    background: transparent;
    border: none;
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav ul li {
    margin-bottom: 8px;
}

.sidebar-nav ul li a {
    display: block;
    padding: 14px 20px;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li.active a {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 28px;
}

/* Service Content */
.service-content img {
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.service-content h2 {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent-gold);
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        gap: 10px;
    }
    
    .navbar-brand img {
        max-height: 50px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    #heroCarousel {
        min-height: 70vh;
    }
    
    #heroCarousel .carousel-item {
        min-height: 70vh;
    }
    
    .carousel-caption {
        display: block !important;
        padding: 20px;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-text {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .page-title {
        padding: 80px 0 50px;
    }
    
    .service-card-img {
        height: 200px;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-modern {
    box-shadow: var(--shadow-md);
}

.rounded-modern {
    border-radius: 16px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

