/* Modern Quilosa-inspired styles */
:root {
    --primary-color: #c80000; /* Quilosa red color */
    --secondary-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--secondary-color);
    padding-top: 100px; /* Accommodate fixed header */
}

/* Modern header styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-logo img {
    max-height: 60px;
}

.navbar-main {
    padding: 0;
}

.navbar-main .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 15px;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

.navbar-main .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero section styles */
.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    margin-top: -100px; /* Counteract body padding */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-search {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.hero-search input {
    height: 60px;
    border-radius: 30px;
    padding-left: 25px;
    font-size: 18px;
}

.hero-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: var(--primary-color);
    border: none;
}

/* Product category styles */
.product-category {
    padding: 70px 0;
}

.category-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    color: var(--secondary-color);
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: auto;
}

.category-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
}

.category-card .card-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.category-card .card-content p {
    margin: 10px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Button styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #a70000;
    border-color: #a70000;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Product card styles */
.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    margin-bottom: 25px;
    background: white;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card .card-body {
    padding: 20px;
}

.product-card .product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: 44px;
    overflow: hidden;
}

.product-card .product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.product-card .product-features {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.product-card .product-features li {
    padding: 2px 0;
    font-size: 0.9rem;
    color: #666;
}

.product-card .product-features i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Footer styles */
.footer {
    background-color: var(--secondary-color);
    color: #ccc;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: #ccc;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer .social-icons {
    display: flex;
}

.footer .social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.footer .social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .navbar-main .nav-link {
        padding: 10px 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .hero-section {
        min-height: 400px;
        margin-top: -80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-search input {
        height: 50px;
        font-size: 16px;
    }
    
    .hero-search button {
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* Client Section */
#seccionclientes {
    padding: 60px 0;
    background-color: #f8f9fa;
    display: block !important;
}

#seccionclientes .section-title {
    text-align: center;
    margin-bottom: 40px;
}

#seccionclientes .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

/* Client Slider - Updated for new image naming */
.slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block !important;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide-track {
    animation: scroll 60s linear infinite;
    display: flex;
    width: calc(250px * 28); /* Updated for 28 client images */
}

.slider .slide {
    height: 100px;
    width: 250px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .slide img {
    max-width: 100%;
    max-height: 95px;
    filter: grayscale(40%);
    opacity: 0.9;
    transition: all 0.3s ease;
    object-fit: contain;
}

.slider .slide:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 14)); /* Half of the total slides */
    }
}

/* Footer spacing */
#piepagina {
    margin-top: 0;
    display: block !important;
}

/* Make sure all sections are displayed */
.section-footer, 
#seccionclientes, 
.angular-cards-container {
    display: block !important;
}

/* Ensure proper spacing between sections */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-white {
    background-color: #fff !important;
}

/* Instagram Section Styles */
.instagram-section {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.instagram-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instagram-logo {
    width: 81px;
    height: auto;
    margin-bottom: 1rem;
}

.instagram-handle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #262626;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-handle:hover {
    color: #ed940e;
}

.instagram-follow-btn {
    background-color: #ed940e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.instagram-follow-btn:hover {
    background-color: #d68200;
    transform: translateY(-2px);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.instagram-post {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-icon {
    color: #fff;
    font-size: 1.5rem;
}

/* Media Queries for Instagram Section */
@media (max-width: 1199px) {
    .instagram-grid {
        gap: 10px;
    }
}

@media (max-width: 991px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .instagram-section {
        padding: 3rem 0;
    }
    
    .instagram-handle {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .instagram-section {
        padding: 2.5rem 0;
    }
    
    .instagram-handle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .instagram-follow-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .instagram-logo {
        width: 68px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 280px;
    }
    
    .instagram-section {
        padding: 2rem 0;
    }
    
    .instagram-handle {
        font-size: 1.1rem;
    }
    
    .instagram-post {
        max-width: 100%;
        margin: 0 auto;
    }
} 