/* Complete redesign with modern styles matching reference site */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Blob - Orange Gradient */
.hero-blob {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4500 100%);
    border-radius: 43% 57% 48% 52% / 55% 48% 52% 45%;
    animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid #ff6b35;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 300px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    max-height: 400px;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.9375rem;
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #111827 0%, #000000 100%);
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: #1f2937;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.9375rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Stat Cards */
.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Solution Tabs */
.solution-tab {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.solution-tab.active {
    background: white;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.solution-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.solution-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
    transform: translateY(-3px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-arrow {
    font-size: 1.5rem;
    color: #ff6b35;
    font-weight: bold;
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-arrow {
    opacity: 1;
}

.feature-detail {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0 0 1.25rem 1.25rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.feature-card.expanded {
    border-radius: 1.25rem 1.25rem 0 0;
}

.feature-card.expanded .feature-detail {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Badge */
.badge-orange {
    display: inline-block;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    color: #ea580c;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Destination Cards */
.destination-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.destination-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.destination-image img {
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-content {
    padding: 2rem;
}

.destination-card.flipped {
    animation: cardFlip 0.6s ease;
}

@keyframes cardFlip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

/* Team Members */
.team-member {
    text-align: center;
}

.team-photo {
    overflow: hidden;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.team-photo img {
    transition: transform 0.3s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

/* Contact Icons */
.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #ff6b35;
    transition: all 0.3s ease;
}

.group:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #374151;
    border-radius: 0.75rem;
    background: #1f2937;
    color: white;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

/* Partner Logos */
.partner-logo {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.125rem;
    color: #1f2937;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Fade-in Animation */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Form Error State */
input.border-red-500,
textarea.border-red-500 {
    border-color: #ef4444 !important;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f9fafb;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff4500 100%);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Print Styles */
@media print {
    header, footer, .cookie-popup {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-blob {
        width: 400px !important;
        height: 400px !important;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-arrow {
        display: none;
    }
}
