:root {
    --primary-color: #c2c1c7;
    --secondary-color: #a59f9f;
    --accent-color: #6e6464;
    --text-dark: #1a0600;
    --text-light: #6e6464;
    --white: #ffffff;
    --cream: #f8f6f3;
    --glass-bg: rgba(248, 246, 243, 0.95);
    --glass-border: rgba(194, 193, 199, 0.2);
    --shadow-premium: 0 40px 80px rgba(26, 6, 0, 0.08);
    --shadow-form: 0 60px 120px rgba(26, 6, 0, 0.12);
}

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700;800;900&family=Dancing+Script:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: "Playfair Display", serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--cream);
}

/* Hero section */
.hero-section {
    min-height: 100vh;
    background-image: url("vdint.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 8rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(248, 246, 243, 0.85) 0%,
        rgba(194, 193, 199, 0.75) 25%,
        rgba(169, 159, 159, 0.8) 50%,
        rgba(194, 193, 199, 0.75) 75%,
        rgba(248, 246, 243, 0.85) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    z-index: 1;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 100;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-shadow: 0 4px 8px rgba(26, 6, 0, 0.1);
    position: relative;
}

.hero-title::before {
    content: "🦷";
    position: absolute;
    top: -20px;
    left: 20%;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0.7;
}

.hero-title::after {
    content: "🛫";
    position: absolute;
    bottom: -20px;
    right: 20%;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite reverse;
    opacity: 0.6;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(194, 193, 199, 0.3) 1px, transparent 1px),
      radial-gradient(circle at 80% 80%, rgba(169, 159, 159, 0.2) 1px, transparent 1px),
      radial-gradient(circle at 40% 60%, rgba(110, 100, 100, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: particleFloat 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

/* Form container */
.form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-form), 0 0 60px rgba(194, 193, 199, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    animation: none !important;
    transform: none !important;
}

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary-color),
      var(--accent-color),
      var(--primary-color),
      transparent
    );
    background-size: 200% 100%;
    opacity: 0.8;
}

.form-container::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(194, 193, 199, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Form header */
.form-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.form-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.form-description {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Form inputs */
.travel-form {
    position: relative;
    z-index: 2;
}

.travel-form .form-floating {
    margin-bottom: 1.5rem;
}

.travel-form .form-control,
.travel-form .form-select {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(194, 193, 199, 0.2);
    border-radius: 16px;
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 400;
    padding: 1.5rem 1.25rem;
    height: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Playfair Display", serif;
    transform: none !important;
}

.travel-form .form-control:focus,
.travel-form .form-select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(110, 100, 100, 0.15);
    outline: none;
    transform: none !important;
}

.travel-form .form-floating > label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    padding: 1rem 1.25rem;
    font-family: "Playfair Display", serif;
}

.travel-form .form-floating > .form-control:focus ~ label,
.travel-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.travel-form .form-floating > .form-select ~ label {
    color: var(--accent-color);
    font-weight: 500;
}

/* Button */
.submit-btn {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0f0400 100%);
    border: none;
    border-radius: 16px;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    font-family: "Playfair Display", serif;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: none !important;
    will-change: auto;
    margin-top: 1rem;
}

.submit-btn::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.6s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0f0400 0%, var(--text-dark) 100%);
    transform: none !important;
    box-shadow: 0 8px 32px rgba(110, 100, 100, 0.15);
}

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

.submit-btn:active {
    transform: none !important;
}

/* Modal */
.modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: var(--shadow-premium);
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.modal-header {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0f0400 100%);
    color: var(--white);
    border-radius: 24px 24px 0 0;
    padding: 2rem;
}

.modal-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2.5rem;
    font-family: "Playfair Display", serif;
}

.modal-body h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.modal-body p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.6;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }

    .form-container {
        padding: 2.5rem 2rem;
        margin: 1rem;
        border-radius: 24px;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 5rem);
        margin-bottom: 1.5rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .form-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 2rem 1.5rem;
    }

    .travel-form .form-control,
    .travel-form .form-select {
        font-size: 1rem;
        padding: 1.25rem 1rem;
    }

    .submit-btn {
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
    }
}

/* Animations solo para fondo y decoraciones (no para form) */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(-10px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}
