@font-face {
    font-family: 'Gantari';
    src: url('fonts/Gantari-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Gantari', 'Arial', sans-serif;
    font-weight: bold;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60vh;
    
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 3;
    max-width: 240px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-bottom: 10%;
}

.visit-button {
    background: #00963E;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Gantari', 'Arial', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 150, 62, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
}

.visit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(43, 44, 50, 0.6);
    background: rgb(43, 44, 50);
}

.visit-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        top: 20px;
        left: 20px;
        max-width: 200px;
    }

    .video-container {
        padding-top: 60vh;
    }

    .visit-button {
        padding: 15px 30px;
        font-size: 16px;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .logo {
        top: 15px;
        left: 15px;
        max-width: 150px;
    }

    .video-container {
        padding-top: 60vh;
    }

    .visit-button {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 160px;
    }
}

/* Para dispositivos muy pequeños */
@media (max-width: 320px) {
    .logo {
        top: 10px;
        left: 10px;
        max-width: 120px;
    }

    .video-container {
        padding-top: 60vh;
    }

    .visit-button {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 140px;
    }
}

/* Ajustes para orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .logo {
        top: 10px;
        left: 15px;
        max-width: 120px;
    }

    .video-container {
        padding-top: 55vh;
    }

    .visit-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Fallback para navegadores que no soportan video */
.video-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00963E 0%, rgb(43, 44, 50) 100%);
    z-index: -2;
}