/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 220px 0 0 0;
    background-color: white;
    color: #333;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, #001220, #34b0a8, white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
}

.logo {
    width: 70%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.nav-button {
    background-color: #81ef99;
    color: #001220;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid #001220;
}

.nav-button:last-child {
    border-right: none;
}

.nav-button:hover {
    background-color: #6cd486;
}

/* Contenedor principal */
.container {
    display: flex;
    min-height: calc(100vh - 250px);
}

/* Sidebar */
.sidebar {
    width: 200px;
    background-color: #001220;
    padding: 15px 0;
    flex-shrink: 0;
}

.brand-button {
    background-color: #001220;
    color: white;
    padding: 12px;
    margin: 5px 0;
    cursor: pointer;
    text-align: center;
    border-left: 4px solid #34b0a8;
    transition: all 0.3s ease;
}

.brand-button:hover {
    background-color: #34b0a8;
}

.models-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #001220;
}

.models-container.show {
    max-height: 1000px;
}

.model-button {
    background-color: #34b0a8;
    color: white;
    padding: 10px;
    margin: 3px 0;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.model-button:hover {
    background-color: #2a8e86;
}

/* Contenido principal */
.content {
    flex-grow: 1;
    padding: 15px;
    margin-top: 15px;
}

.model-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.model-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin-bottom: 20px;
}

.model-title {
    color: #001220;
    margin-bottom: 10px;
}

.model-description {
    margin-bottom: 20px;
    text-align: center;
    max-width: 600px;
}

.order-button {
    background-color: #34b0a8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.order-button:hover {
    background-color: #2a8e86;
}

.placeholder {
    text-align: center;
    color: #666;
    margin-top: 50px;
}

/* Footer */
footer {
    background-color: #001220;
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 20%;
    height: auto;
    max-width: 150px;
    margin-bottom: 15px;
}

.back-to-top {
    background-color: #34b0a8;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: #2a8e86;
}
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 220px 0 0 0;
    background-color: white;
    color: #333;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, #001220, #34b0a8, white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
}

.logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.nav-button {
    background-color: #81ef99;
    color: #001220;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid #001220;
}

.nav-button:last-child {
    border-right: none;
}

.nav-button:hover {
    background-color: #6cd486;
}

/* Barra de búsqueda */
.search-container {
    display: flex;
    width: 40%;
    margin-right: 20px;
}

.brand-list {
    width: 30%;
    background-color: #001220;
    padding: 15px;
    border-radius: 8px;
    margin-right: 10px;
}

.brand-list h3 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.brand-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-list li {
    color: white;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.brand-list li:hover {
    background-color: #34b0a8;
}

.search-section {
    width: 70%;
}

#model-search {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
}

.search-results {
    max-height: 500px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.search-result-item {
    padding: 10px;
    margin: 5px 0;
    background-color: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background-color: #34b0a8;
    color: white;
}

/* Estilos para index.html */
.main-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-box {
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.image-container img {
    max-width: 30%;
    height: auto;
    border-radius: 10px;
}

/* Estilos para windows.html, office.html y cajas.html */
.windows-container, 
.office-container, 
.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.windows-row,
.office-row,
.tools-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

.windows-item,
.office-item,
.tools-item {
    flex: 1;
    padding: 15px;
    text-align: center;
}

.windows-image,
.office-image,
.tools-image {
    flex: 1;
    text-align: center;
}

.windows-image img,
.office-image img,
.tools-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

.windows-button,
.office-button,
.tools-button {
    background-color: #34b0a8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.windows-button:hover,
.office-button:hover,
.tools-button:hover {
    background-color: #2a8e86;
}

/* Footer */
footer {
    background-color: #001220;
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 20%;
    height: auto;
    max-width: 150px;
    margin-bottom: 15px;
}

.back-to-top {
    background-color: #34b0a8;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: #2a8e86;
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .windows-row,
    .office-row,
    .tools-row {
        flex-direction: column;
    }
    
    .windows-item,
    .office-item,
    .tools-item,
    .windows-image,
    .office-image,
    .tools-image {
        margin-bottom: 15px;
    }
    
    .nav-buttons {
        flex-wrap: wrap;
    }
    
    .nav-button {
        margin: 5px;
    }
        .container {
        flex-direction: column;
    }
    
    .search-container {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .brand-list {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .search-section {
        width: 100%;
    }
    
    .model-display {
        padding: 10px;
    }

 
}