@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #7da0ca;
    color: #1d1d1f;
    text-align: center;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background:#224299;
    backdrop-filter: blur(10px);
    display: flex;
    padding: 0 40px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100px;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header.scrolled {
    background: #3623a3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 150px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-left: auto;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-list li a:hover {
    color: #ffcc00;
}

.hero {
    height: 100vh;
    background: url('img/Collage.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.subtext {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: #0071e3;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background: #005bb5;
    transform: scale(1.05);
}

.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 100px auto;
    max-width: 1100px;
}

.info-card {
    width: 400px;
    height: 400px;
    padding: 60px 40px;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.info-card1 {
    background-image: url('img/perrito.jpeg');
}

.info-card2 {
    background-image: url('img/perrito2.jpeg');
}

.info-card3 {
    background-image: url('img/perrito 3.jpeg');
}

.info-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(255, 255, 255, 0.1);
    justify-content: center;
    margin: 0 auto;
}

video {
    width: 100%;
    height: auto;
    display: block;
}

.custom-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.custom-controls:hover {
    background: rgba(255, 255, 255, 0.5);
}

.custom-controls img {
    width: 20px;
    height: 20px;
}

footer {
    margin-top: 50px;
    padding: 20px;
    font-size: 14px;
    color: #242323;
}

/* -------------------------------
   MEDIA QUERIES PARA RESPONSIVE
-------------------------------- */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
    }

    .logo {
        width: 120px;
        margin-bottom: 10px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .subtext {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .info {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 60px 20px;
    }

    .info-card {
        width: 90%;
        height: 300px;
        padding: 30px 20px;
        font-size: 1.2rem;
    }
}