@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@500;700&family=Nunito+Sans:wght@400;600&display=swap');

/* Main styles */
body {
    background-color: #F8F6F1;
    font-family: 'Nunito Sans', sans-serif;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #ECE8E3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1rem 0;
}

/* Sticky header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    text-decoration: none;
}

.brand-text {
    color: #53B8F5;
}

.brand-suffix {
    color: #333;
    font-weight: 500;
    font-size: 1.5rem;
}

/* Menu items alignment */
.menu-items {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
}

.menu-items .nav-item {
    flex: 1;
    text-align: center;
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 0.5rem !important;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: #53B8F5 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #53B8F5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Search form */
.search-form {
    width: 300px;
}

.search-form .form-control {
    border-radius: 20px 0 0 20px;
    border: 2px solid #ECE8E3;
    padding: 0.5rem 1rem;
}

.search-form .btn {
    border-radius: 0 20px 20px 0;
    border: 2px solid #ECE8E3;
    border-left: none;
    color: #53B8F5;
}

.search-form .btn:hover {
    background: #53B8F5;
    color: white;
    border-color: #53B8F5;
}

/* Buttons */
.btn-link {
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #53B8F5;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: #53B8F5;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

/* Shopping cart elements */
.snipcart-checkout {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.snipcart-items-count {
    background: #FF6B6B;
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}
/* Hero Section */
.hero-section {
    margin-top: -1rem;
}

.carousel-item {
    height: 400px;
    background-color: #F8F6F1;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.category-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #53B8F5, #4A90E2, #53B8F5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(83, 184, 245, 0.15),
        0 8px 16px rgba(0,0,0,0.1);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card img {
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card .card-body {
    padding: 2rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.category-card .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #53B8F5;
    background: transparent;
    color: #53B8F5;
    align-self: flex-start;
}

.category-card .btn:hover {
    background: linear-gradient(135deg, #53B8F5, #4A90E2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 184, 245, 0.4);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #53B8F5, #4A90E2, #53B8F5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(83, 184, 245, 0.15),
        0 8px 16px rgba(0,0,0,0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card .card-img-top {
    height: 280px;
    object-fit: contain;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
    padding: 1rem;
}

.product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white;
    position: relative;
}

.product-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}

.product-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    width: 100%;
}

.product-card h3 a:hover {
    color: #53B8F5;
}

.product-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #53B8F5;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #53B8F5, #4A90E2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #53B8F5;
    background: linear-gradient(135deg, #53B8F5, #4A90E2);
    color: white;
    box-shadow: 0 4px 15px rgba(83, 184, 245, 0.3);
}

.product-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 184, 245, 0.4);
    border-color: #4A90E2;
}

.product-card .btn:hover::before {
    left: 100%;
}

.product-card .btn:active {
    transform: translateY(0);
}

/* Product card badges */
.product-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Product card loading animation */
.product-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.product-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #53B8F5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Product grid improvements */
.products-section .row {
    margin: 0 -15px;
}

.products-section .col-md-4 {
    padding: 0 15px;
    margin-bottom: 2rem;
}

/* Enhanced product card interactions */
.product-card {
    cursor: pointer;
}

.product-card:focus-within {
    outline: 2px solid #53B8F5;
    outline-offset: 4px;
}

/* Product card image overlay effect */
.product-card .card-img-top {
    position: relative;
    overflow: hidden;
}

.product-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(83, 184, 245, 0.1), rgba(74, 144, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .card-img-top::after {
    opacity: 1;
}

/* Product card price animation */
.product-card .price {
    position: relative;
    overflow: hidden;
}

.product-card .price::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.product-card:hover .price::after {
    left: 100%;
}

/* Staggered animation for product cards */
.products-section .col-md-4:nth-child(1) .product-card {
    animation-delay: 0.1s;
}

.products-section .col-md-4:nth-child(2) .product-card {
    animation-delay: 0.2s;
}

.products-section .col-md-4:nth-child(3) .product-card {
    animation-delay: 0.3s;
}

.products-section .col-md-4:nth-child(4) .product-card {
    animation-delay: 0.4s;
}

.products-section .col-md-4:nth-child(5) .product-card {
    animation-delay: 0.5s;
}

.products-section .col-md-4:nth-child(6) .product-card {
    animation-delay: 0.6s;
}

/* Fade in animation for product cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Services Section */
.service-card {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

/* Contact Section */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: #53B8F5;
}

/* Footer styles */
.footer {
    background-color: #ECE8E3;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-heading {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
    color: #53B8F5;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.company-info .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

.company-info .info-item i {
    color: #53B8F5;
    width: 20px;
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #53B8F5;
    text-decoration: none;
}

.cookie-consent {
    background-color: rgba(51, 51, 51, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Contact Page Styles */
.contact-form-wrapper {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper .card {
    border: none;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f8f6f1);
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
}

.contact-info .info-item i {
    color: #53B8F5;
    font-size: 1.3rem;
    width: 24px;
}

.map-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: #53B8F5;
    color: white;
}

.accordion-button:focus {
    border-color: #53B8F5;
    box-shadow: 0 0 0 0.25rem rgba(83, 184, 245, 0.25);
}

.accordion-button::after {
    background-color: #53B8F5;
    border-radius: 50%;
}

/* Responsive menu */
@media (max-width: 991.98px) {
    .menu-items {
        flex-direction: column;
        width: 100%;
    }
    
    .menu-items .nav-item {
        flex: none;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-link {
        min-height: 45px;
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 768px) {
    .search-form {
        width: 250px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .brand-suffix {
        font-size: 1.25rem;
    }
    
    /* Mobile carousel */
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 1rem;
        max-width: 90%;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    /* Mobile product cards */
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-card .card-img-top {
        height: 220px;
        padding: 1rem;
    }
    
    .product-card .card-body {
        padding: 1.25rem;
    }
    
    .product-card h3 {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    
    .product-card .price {
        font-size: 1.25rem;
    }
    
    .product-card .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Mobile category cards */
    .category-card .card-body {
        padding: 1.5rem;
    }
    
    .category-card h2 {
        font-size: 1.25rem;
    }
    
    .category-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .product-card .card-img-top {
        height: 200px;
        padding: 0.75rem;
    }
    
    .product-card .card-body {
        padding: 1rem;
    }
    
    .product-card h3 {
        font-size: 0.95rem;
        min-height: 2.2rem;
    }
    
    .product-card .price {
        font-size: 1.1rem;
    }
    
    .product-card .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
