@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

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

html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #1e1e1e;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: transparent;
    font-family: 'Nunito', sans-serif;
    color: #d4d8e8;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    letter-spacing: 0.02em;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

#background-video-container {
    position: fixed;
    top: -2px;
    left: -2px;
    width: calc(100vw + 4px);
    height: calc(100vh + 4px);
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    will-change: filter;
}

body::before {
    content: '';
    position: fixed;
    top: -2px;
    left: -2px;
    width: calc(100vw + 4px);
    height: calc(100vh + 4px);
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.2) 0%, transparent 50%);
    opacity: 0.7;
    z-index: -1;
    animation: auroraGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auroraGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    background: transparent;
    position: relative;
    z-index: 1;
}

header {
    background: rgba(20, 25, 40, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(20, 25, 40, 0.7);
    color: #ffffff;
    padding: 1rem 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #facc15;
    transition: width 0.3s ease;
}

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

nav a:hover {
    color: #facc15;
}

.book-button {
    background: rgba(250, 204, 21, 0.9);
    color: #1e1e1e;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.book-button:hover {
    background: rgba(234, 179, 8, 0.9);
    transform: translateY(-2px);
}

.hero {
    background: transparent;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.hero .container {
    background: rgba(30, 35, 50, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(30, 35, 50, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.hero p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #d4d8e8;
    letter-spacing: 0.02em;
}

.social-section {
    background: transparent;
    padding: 2rem 0;
    z-index: 1;
}

.services {
    background: transparent;
    padding: 2rem 0;
    z-index: 1;
}

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #d4d8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0.5rem;
    position: relative;
    perspective: 1000px;
    height: 320px;
    will-change: transform;
}

.taxi-service-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #d4d8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0;
    position: relative;
    perspective: 1000px;
    width: 500px;
    height: 400px;
    will-change: transform;
}

.service-card:hover, .taxi-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.service-card:hover .flip-inner,
.taxi-service-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.service-card .flip-inner.flipped,
.taxi-service-card .flip-inner.flipped {
    transform: rotateY(180deg);
}

.service-card .flip-inner, .taxi-service-card .flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card .flip-front,
.service-card .flip-back,
.taxi-service-card .flip-front,
.taxi-service-card .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1px;
    border-radius: 12px;
    overflow: hidden;
}

.service-card .flip-front,
.taxi-service-card .flip-front {
    justify-content: flex-start;
}

.service-card .flip-back {
    transform: rotateY(180deg);
    background: rgba(31, 41, 55, 0.9);
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 1rem;
}

.taxi-service-card .flip-back {
    transform: rotateY(180deg);
    background: rgb(31, 41, 55);
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 1rem;
}

.service-card .service-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0;
}

.taxi-service-card .service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0;
}

.service-card h2,
.taxi-service-card h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.service-card p,
.taxi-service-card p {
    font-family: 'Nunito', sans-serif;
    color: #b0b8d0;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0.5rem 0;
}

.service-card .book-button,
.taxi-service-card .book-button {
    background: rgba(250, 204, 21, 0.9);
    color: #1e1e1e;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    z-index: 3;
    position: relative;
    pointer-events: auto;
    margin-top: 1rem;
}

.service-card .book-button:hover,
.taxi-service-card .book-button:hover {
    background: rgba(234, 179, 8, 0.9);
    transform: translateY(-2px);
}

.social-cards-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem;
    width: 100%;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    max-width: 300px;
    flex: 1;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(31, 41, 55, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: #d4d8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0.5rem;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.social-card i {
    font-size: 2rem;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

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

.social-card .card-text h3 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.social-card .card-text p {
    margin: 0.5rem 0 0;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #b0b8d0;
    letter-spacing: 0.02em;
}

.social-card.instagram:hover { 
    background: radial-gradient(circle at 30% 107%, rgba(253, 244, 151, 0.85) 0%, rgba(253, 89, 73, 0.85) 45%, rgba(214, 36, 159, 0.85) 60%, rgba(40, 90, 235, 0.85) 90%); 
    color: #ffffff; 
}

.social-card.instagram:hover .card-text p { 
    color: #ffffff; 
}

.social-card.facebook:hover { 
    background: rgba(59, 89, 152, 0.85); 
    color: #ffffff; 
}

.social-card.facebook:hover .card-text p { 
    color: #ffffff; 
}

.social-card.x:hover { 
    background: rgba(0, 0, 0, 0.85); 
    color: #ffffff; 
}

.social-card.x:hover .card-text p { 
    color: #ffffff; 
}

.social-card.whatsapp:hover { 
    background: rgba(37, 211, 102, 0.85); 
    color: #ffffff; 
}

.social-card.whatsapp:hover .card-text p { 
    color: #ffffff; 
}

footer {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(17, 24, 39, 0.7);
    color: #d4d8e8;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

footer .container {
    padding: 0 1rem;
}

footer a {
    color: #facc15;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    letter-spacing: 0.03em;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

footer p:last-child {
    margin-bottom: 0;
}

.cards-container {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    z-index: 1;
}

.cards-container.taxi-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: flex-start;
}

.cards-container.taxi-section .taxi-service-card {
    flex: 0 0 500px;
    max-width: 500px;
    margin: 0;
}

.cards-container h2 {
    background: rgba(30, 35, 50, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(30, 35, 50, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.03em;
}

.cardpadre {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0.5rem 0;
}

.card {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(31, 41, 55, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.card img {
    width: 280px;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 1.25rem;
    flex: 1;
}

.card-content h3 {
    margin: 0 0 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.card-content p {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: #b0b8d0;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo {
        display: none;
    }

    nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    nav a {
        font-size: 1.1rem;
    }

    .book-button {
        font-size: 1rem;
    }

    .hero {
        padding: 2rem 0 1.5rem;
        margin-top: 3.5rem;
        min-height: 15vh;
        margin-bottom: 2rem;
        width: 100vw;
    }

    .hero .container {
        padding: 1rem;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .social-section {
        padding: 1.5rem 0;
    }

    .services .container {
        gap: 1.25rem;
    }

    .service-card {
        margin: 0.3rem;
        padding: 0.4rem;
        height: 300px;
    }

    .taxi-service-card {
        margin: 0.3rem;
        padding: 0.4rem;
        width: 100%;
        max-width: 95%;
        height: 360px;
    }

    .service-card .flip-front,
    .service-card .flip-back,
    .taxi-service-card .flip-front,
    .taxi-service-card .flip-back {
        padding: 1px;
    }

    .service-card .flip-front,
    .taxi-service-card .flip-front {
        justify-content: flex-start;
    }

    .service-card .service-img {
        height: 220px;
        margin: 0;
    }

    .taxi-service-card .service-img {
        height: 260px;
        margin: 0;
    }

    .service-card h2,
    .taxi-service-card h2 {
        font-size: 1.4rem;
        margin-top: 1.2rem;
    }

    .service-card p,
    .taxi-service-card p {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .service-card .book-button,
    .taxi-service-card .book-button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
        margin-top: 0.8rem;
    }

    .social-cards-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        gap: 1rem;
        padding: 0 0.5rem;
        width: 100%;
        margin: 0 auto;
    }

    .social-card {
        max-width: none;
        width: 100%;
        margin: 0.3rem;
        padding: 1rem;
    }

    .social-card i {
        font-size: 1.75rem;
        margin-right: 0.5rem;
    }

    .social-card .card-text h3 {
        font-size: 1rem;
    }

    .social-card .card-text p {
        font-size: 0.85rem;
    }

    .cards-container {
        gap: 1.25rem;
    }

    .cards-container.taxi-section {
        flex-direction: column;
        align-items: center;
    }

    .cards-container.taxi-section .taxi-service-card {
        flex: none;
        width: 100%;
        max-width: 95%;
        margin: 0.3rem 0;
    }

    .cards-container h2 {
        padding: 0.5rem 1rem;
        font-size: 1.6rem;
    }

    .cardpadre {
        max-width: 95%;
        margin: 0.3rem 0;
    }

    .card {
        flex-direction: column;
        max-width: 100%;
    }

    .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.4rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    ::-webkit-scrollbar {
        width: 8px;
    }
}

@media (max-width: 480px) {
    .hero .container {
        padding: 0.75rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .social-cards-container {
        gap: 0.75rem;
    }

    .social-card {
        padding: 0.75rem;
    }

    .social-card i {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }

    .social-card .card-text h3 {
        font-size: 0.95rem;
    }

    .social-card .card-text p {
        font-size: 0.8rem;
    }

    .service-card {
        height: 280px;
    }

    .taxi-service-card {
        height: 340px;
    }

    .service-card .flip-front,
    .service-card .flip-back,
    .taxi-service-card .flip-front,
    .taxi-service-card .flip-back {
        padding: 1px;
    }

    .service-card .flip-front,
    .taxi-service-card .flip-front {
        justify-content: flex-start;
    }

    .service-card .service-img {
        height: 200px;
        margin: 0;
    }

    .taxi-service-card .service-img {
        height: 240px;
        margin: 0;
    }

    .service-card h2,
    .taxi-service-card h2 {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    .service-card p,
    .taxi-service-card p {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }

    .service-card .book-button,
    .taxi-service-card .book-button {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        margin-top: 0.6rem;
    }

    footer .container {
        padding: 0 0.5rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}