/* Custom Styles for Hamburg Transfers */

:root {
    --primary-color: #0066cc;
    --secondary-color: #003366;
    --accent-color: #0099ff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand .logo-img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.language-toggle .btn {
    margin-left: 0.25rem;
    transition: all 0.3s ease;
}

.language-toggle .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Hero Section - Premium Design */
.hero-section {
    position: relative;
    padding: 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #2d3748 100%);
    overflow: hidden;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    z-index: 0;
    pointer-events: none;
}

.hero-content-row {
    min-height: 95vh;
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.hero-text-col {
    display: flex;
    align-items: center;
    padding: 3rem 2rem;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.5);
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
}

.btn-hero-primary:active {
    transform: translateY(-1px) scale(1);
}

.btn-hero-outline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badge-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    width: 24px;
    text-align: center;
}

.hero-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-main-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

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

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-content-row {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-text-col {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-image-col {
        padding: 2rem 1rem;
        order: -1;
    }
    
    .hero-trust-badges {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }
    
    .hero-content-row {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .trust-badge-item {
        font-size: 0.875rem;
    }
}

/* Trust Block */
.trust-block {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.trust-icon {
    transition: transform 0.3s ease;
}

.trust-icon:hover {
    transform: translateY(-5px);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* Fleet Cards */
.fleet-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.fleet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fleet-card:hover img {
    transform: scale(1.05);
}

.fleet-card ul li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-table {
    border-radius: 12px;
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Step Cards */
.step-card {
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.step-number {
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 500;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-card i {
    transition: transform 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.1);
}

/* Footer */
footer {
    border-top: 3px solid var(--primary-color);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Modal */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Image Placeholders */
img[src*="placeholder"] {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Loading Animation for Images */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

img {
    animation: fadeIn 0.5s ease-in;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.floating-whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.floating-whatsapp-label {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    max-width: 200px;
    text-align: right;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-whatsapp:hover .floating-whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-whatsapp-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .floating-whatsapp-label {
        max-width: 150px;
        font-size: 0.75rem;
    }
}

/* Google Places Autocomplete - Ensure dropdown appears above Bootstrap modal */
.pac-container {
    z-index: 2000 !important;
}

/* Print Styles */
@media print {

    header,
    footer,
    .btn,
    .modal,
    .floating-whatsapp {
        display: none;
    }
}