/* Estilos adicionales para la página de proyectos */
.page-title {
    font-size: 32px;
    margin-bottom: 5px;
    margin-top: -10px;
    color: #0078d7;
}

.project-intro {
    margin-bottom: 10px;
    margin-top: -5px;
}

.project-intro h2 {
    font-size: 24px;
    color: #333;
}

/* Cambiando a un enfoque basado en flexbox en lugar de grid */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 40px;
}

.project-item {
    flex: 0 0 calc(25% - 10px);
    margin: 0 5px 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-item img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

/* Custom class for app icons to maintain 80x80 size */
.app-icon-fixed {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    margin: 20px auto;
    display: block;
}

/* Custom class for Measure Map AR icon to make it wider */
.ar-icon {
    width: 140px !important;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.project-info p {
    margin-bottom: 15px;
    color: #666;
}

/* App Store and Google Play buttons */
.app-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
    justify-content: center;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #fff;
}

.app-store {
    background-color: #000;
}

.google-play {
    background-color: #01875f;
}

.web-app {
    background-color: #4285f4;
}

.web-app-container {
    margin-top: 5px;
}

.app-btn i {
    margin-right: 5px;
    font-size: 16px;
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Media queries para la página de proyectos */
@media (max-width: 1200px) {
    .project-item {
        flex: 0 0 calc(33.333% - 30px);
    }
}

@media (max-width: 992px) {
    .project-item {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .project-item {
        flex: 0 0 calc(100% - 30px);
    }
}

/* Estilos para la página de clientes */
.section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #0078d7;
    padding-bottom: 10px;
    display: inline-block;
}

.client-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.client-list-section {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.clients-list ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.clients-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.clients-list li:hover {
    transform: translateX(5px);
}

.clients-list li:before {
    content: '>';
    position: absolute;
    left: 0;
    color: #0078d7;
    font-weight: bold;
}

.clients-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.clients-list li a:hover {
    color: #0078d7;
}

.be-client-section {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.be-client-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.client-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.client-image img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.client-image img:hover {
    transform: scale(1.03);
}

.client-text h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.respected-clients {
    margin-top: 60px;
    margin-bottom: 40px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.client-logo {
    max-width: 180px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Media queries for client page responsiveness */
@media (max-width: 992px) {
    .client-sections {
        flex-direction: column;
    }
    
    .client-logo {
        max-width: 150px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .clients-list ul {
        grid-template-columns: 1fr;
    }
    
    .client-logos {
        gap: 15px;
    }
    
    .client-logo {
        max-width: 130px;
        height: 90px;
        padding: 15px;
    }
}

/* Estilos para la página de resultados de búsqueda */
.search-results-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 40px;
}

#search-term-display h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    padding: 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    position: relative;
}

.search-result-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.search-result-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.search-result-item p {
    color: #666;
    margin-bottom: 0;
}

.result-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #0078d7;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: 30px 0;
}

.no-results p:first-child {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.no-results p:last-child {
    color: #666;
}

@media (max-width: 768px) {
    .search-results-container {
        padding: 15px;
    }
    
    .search-result-item {
        padding: 12px;
    }
    
    .result-type {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
    }
}

/* Estilos para la página de contacto */
.contact-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-details {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-details p {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-alt {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-alt:hover {
    background-color: #e5e5e5;
    color: #333;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
}

.form-status.error {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

/* Media queries adicionales */
@media (max-width: 576px) {
    .clients-list ul {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        max-width: 120px;
    }
}

/* Notification styles for contact form */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 350px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.success .fa-check-circle {
    color: #4CAF50;
    font-size: 20px;
}

.notification.error .fa-exclamation-circle {
    color: #F44336;
    font-size: 20px;
}

.notification p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.close-notification {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 10px;
}

.close-notification:hover {
    color: #666;
}

@media (max-width: 576px) {
    .notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@import url('apps.css');
