/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

.loader {
    text-align: center;
}

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 76px;
    color: #2c3e50;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(241, 248, 238, 0.9) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 8px;
}

.navbar-brand h1 {
    font-weight: 700;
    letter-spacing: 2px;
    color: #3a7563;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
    color: #3a7563 !important;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/velas.jpeg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-content .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
    border-width: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 14px;
    opacity: 0.8;
    z-index: 1;
}

.scroll-indicator i {
    display: block;
    font-size: 24px;
    margin-top: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: white;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(58, 117, 99, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

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

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

.product-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.product-info h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #3a7563;
}

.product-info p {
    color: #666;
    margin-bottom: 0;
}

/* Featured Section */
.featured-section {
    overflow: hidden;
    background-color: #f8f9fa;
}

.featured-section img {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.feature-item i {
    color: #3a7563;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Contact Form */
.form-floating .form-control {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    background: transparent;
}

.form-floating .form-control:focus {
    box-shadow: none;
    border-color: #3a7563;
}

.form-floating label {
    color: #666;
}

/* Buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-dark {
    background-color: #3a7563;
    border-color: #3a7563;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #3a7563;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-outline-light:hover {
    color: #000;
    border-color: #fff;
}

/* Footer */
.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    color: #3a7563 !important;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .col-lg-6 {
        padding: 2rem;
    }
    
    .navbar {
        background-color: rgba(255, 255, 255, 0.95) !important;
    }

    .product-image {
        aspect-ratio: 1;
    }

    .scroll-indicator {
        bottom: 80px;
    }
}

/* Product Description */
.product-description {
    padding: 2rem;
    background: rgba(58, 117, 99, 0.05);
    border-radius: 15px;
    margin-top: 2rem;
}

.product-description h3 {
    color: #3a7563;
    font-weight: 600;
}

.product-description .lead {
    color: #666;
    font-size: 1.1rem;
}

.benefits .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background-color: #3a7563 !important;
}

/* Chapstick Section Specific */
#chapstick .product-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#chapstick .product-card:hover {
    transform: translateY(-10px) scale(1.02);
}

#chapstick .product-image {
    aspect-ratio: 1;
    position: relative;
}

#chapstick .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#chapstick .product-card:hover .product-image img {
    transform: scale(1.15);
}

#chapstick .product-overlay {
    background: rgba(58, 117, 99, 0.8);
}

/* Cart Styles */
.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

#cartBadge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    display: none;
}

.nav-item .nav-link i {
    font-size: 1.2rem;
}

.cart-link {
    position: relative;
}

/* Toast Styles */
.toast-container {
    z-index: 1056;
}

/* Checkout Styles */
.checkout-form label {
    font-weight: 500;
    color: #555;
}

.checkout-form .form-control {
    border-radius: 8px;
    padding: 0.75rem;
}

.checkout-form .form-control:focus {
    border-color: #3a7563;
    box-shadow: 0 0 0 0.2rem rgba(58, 117, 99, 0.25);
}

.checkout-form .card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.checkout-form .card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.checkout-form .btn-primary {
    background-color: #3a7563;
    border-color: #3a7563;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

.checkout-form .btn-primary:hover {
    background-color: #2c5a4b;
    border-color: #2c5a4b;
}

#orderItems {
    max-height: 300px;
    overflow-y: auto;
} 