/* Custom styles for Statipnery */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;  
    transition: top 0.3s ease-in-out;
    z-index: 9999;
    left: 15;
    right: 0;
    margin: 0 auto;
    padding: 0 5%;
    background-color: #2c3e50;
    color: #ffffff;     
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
    height: 60px;
    
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #007bff; 
    text-decoration: none;


}



/* Hero section */
.hero-section {
    background-color: #f8f9fa;
    margin-bottom: 2rem;
    padding: 4rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.hero-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Category cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Carousel styles */
.carousel {
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-item {
    height: 600px;
    background-color: #000;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: brightness(0.8);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 20%;
    text-align: center;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    padding: 2rem;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff;
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: #f8f9fa;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.7);
    border: 2px solid rgba(255,255,255,0.7);
}

.carousel-indicators button.active {
    background-color: #fff;
    border-color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    height: 50px;
    width: 50px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 0 10%;
        bottom: 50%;
        transform: translateY(50%);
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        margin: 0 1rem;
        height: 40px;
        width: 40px;
    }
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: 3rem;
    background-color: #2c3e50;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #007bff !important;
}

/* Shopping cart */
.badge {
    position: relative;
    top: -8px;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}
