/* General Styles */
body {
    font-family: 'Barlow', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #181818;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navbar */
.navbar {
    background-color: #333;
    padding: 0.5rem 1rem;
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    height: 30px;
    vertical-align: middle;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.navbar-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.navbar-menu a:hover {
    color: #66aaff;
}

.navbar-search {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.navbar-search input {
    padding: 0.5rem;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.navbar-search button {
    padding: 0.5rem;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.navbar-search button:hover {
    background-color: #0056b3;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    flex-direction: column;
    border-radius: 5px;
    margin-top: 1rem;
}

.dropdown-content a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #575757;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

/* Responsive Styles */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .navbar-menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-menu ul.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-search {
        display: none;
    }
}

/* Hero Section */
.hero {
    background-image: url('imagenes/Fondos/fondo_2.png');
    background-size: cover;
    background-position: center;
    padding: 10rem 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin: 0;
}

.hero-subtitle {
    font-size: 2rem;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.5rem;
    margin-top: 1rem;
    max-width: 600px;
}

.hero-button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: #0056b3;
}

/* Seguridad Section */
.security {
    background-color: #fff;
    color: #000;
    padding: 5rem 1rem;
    text-align: center;
}

.security-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.security-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.text-content,
.image-slider {
    flex: 1;
    border: 1px solid #000;
    padding: 1rem;
    border-radius: 5px;
}

.text-content p {
    margin: 0 0 1rem 0;
}

.image-slider {
    position: relative;
}

.slider-container {
    display: flex;
    overflow: hidden;
    border-radius: 5px;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Blog Section *//* Blog Section */
.blog {
    background-image: url('imagenes/Fondos/fondo_2.png'); /* Mismo fondo que la Home */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-carousel {
    display: flex;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
}

.blog-item {
    min-width: 300px;
    flex: 0 0 300px;
    margin-right: 2rem;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente para destacar el contenido */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.blog-item:hover {
    transform: scale(1.05);
}

.blog-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-item p {
    font-size: 1rem;
    color: #000;
}

.blog .prev, .blog .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.blog .prev:hover, .blog .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.blog .prev {
    left: 10px;
}

.blog .next {
    right: 10px;
}

/* Round buttons below the carousel */
.blog-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.blog-buttons .prev, .blog-buttons .next {
    position: static;
    top: auto;
    transform: none;
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, border-color 0.3s;
}

.blog-buttons .prev:hover, .blog-buttons .next:hover {
    background-color: #000;
    color: #fff;
    border-color: #fff;
}
/* Dónde Comprar Section */
.buy-section {
    background-image: url('imagenes/Fondos/fondo_2.png'); /* Mismo fondo que la Home */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
}

.buy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.buy-carousel {
    display: flex;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
}

.buy-item {
    min-width: 300px;
    flex: 0 0 300px;
    margin-right: 2rem;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente para destacar el contenido */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.buy-item:hover {
    transform: scale(1.05);
}

.buy-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.buy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.buy-item p {
    font-size: 1rem;
    color: #000;
}

/* Round buttons below the carousel */
.buy-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.buy-buttons .prev, .buy-buttons .next {
    position: static;
    top: auto;
    transform: none;
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, border-color 0.3s;
}

.buy-buttons .prev:hover, .buy-buttons .next:hover {
    background-color: #000;
    color: #fff;
    border-color: #fff;
}
/* Soporte Section */
.support-section {
    background-color: #fff;
    background-size: cover;
    background-position: center;
    color: #000;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
}

.support-creators {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
}

.creator {
    text-align: center;
}

.creator-photo {
    width: 260px;
    height: 260px;
    border-radius: 100%;
    border: 2px solid #000;
    margin-bottom: 1rem;
}

.support-contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-item img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 0.5px solid #000;

}

.contact-item p {
    margin: 2;
    color: #000;
}

.contact-item:hover {
    transform: scale(1.1);
}
/* Footer Section */
.footer {
    background-color: #000;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container p {
    margin: 0.5rem 0;
}

.footer-menu {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #007bff;
}
/* Automatización Section */
.automation {
    background-color: #f9f9f9;
    color: #000;
    padding: 5rem 1rem;
    text-align: center;
}

.automation-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.automation-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    max-width: 300px;
    flex: 1 1 calc(50% - 2rem);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.automation-item img {
    max-width: 100%;
    border-radius: 8px;
}

.automation-item h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.automation-item p {
    font-size: 1rem;
    color: #666;
}

.automation-item button {
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.automation-item button:hover {
    background-color: #0056b3;
}