/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

.navbar-brand {
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: var(--bs-navbar-brand-margin-end);
    font-size: var(--bs-navbar-brand-font-size);
    color: #ff8f00 !important;
    text-decoration: none;
    white-space: nowrap;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0;
    background-color: white;
    backdrop-filter: blur(10px);
    margin-bottom: 60px;
    border-radius: 20px;
    margin-top: 20px;
}

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

.brand-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: #f16506;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-title i {
    color: #f16506;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: black;
    font-weight: 500;
    margin-bottom: 0;
    font-weight: 600;
}

/* Products Section */
.products-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: black;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-header p {
    font-size: 1.1rem;
    color: black;
    font-weight: 300;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    justify-items: center;
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Card Header */
.card-header {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

/* Product Image Container */
.product-image-container {
    position: relative;
    width: 200px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

/* Image Overlay (fallback icon) */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-overlay i {
    font-size: 2.5rem;
    color: #fff;
}

.product-image-container:hover .image-overlay {
    opacity: 0.8;
}

.product-image:not([src]),
.product-image[src=""],
.product-image:not([src*="."])+.image-overlay {
    opacity: 1;
}

.product-card:hover .product-image-container {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

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

/* Price Tag */
.price-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 10;
}

/* Card Content */
.card-content {
    text-align: center;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.product-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.feature-list li i {
    color: #667eea;
    margin-right: 12px;
    width: 16px;
    font-size: 0.85rem;
}

.feature-list li:hover {
    color: #667eea;
    transform: translateX(5px);
}

/* Buttons */
.btn-primary,
.btn-hero {
    background: linear-gradient(135deg, #0056b3 40%, white 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover,
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, Blue, Orange);
}

/* Hero Card Styles */
.product-card.hero {
    grid-column: 2 / span 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    position: relative;
    border: 2px solid #ffd700;
    animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 215, 0, 0.3);
    }

    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 40px rgba(255, 215, 0, 0.5);
    }
}

.hero-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    z-index: 10;
}

.hero-badge i {
    margin-right: 8px;
    margin-top: 10px;
    color: #ff6b6b;
}

/* Hero Image Styles */
.hero-image-container {
    width: 250px;
    height: 200px;
    background: #ff8f00;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.hero-image-container .image-overlay {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 237, 78, 0.9));
}

.hero-image-container .image-overlay i {
    font-size: 3rem;
    color: #2c3e50;
}

.hero-price {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    font-size: 1.1rem;
}

.hero-name {
    font-size: 1.8rem;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-hero {
    background: linear-gradient(135deg, Orange 40%, white 100%);
    color: white;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 15px 40px;
}

.btn-hero:hover {
    background: linear-gradient(135deg, Blue, Orange);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #ff8f00;
    font-size: 1.25rem;
    font-weight: 500;
    background: linear-gradient(135deg, #0056b3 40%, white 100%)
}

/* Image Loading States */
.product-image {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.product-image:not([src]),
.product-image[src=""] {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .product-card.hero {
        grid-column: span 1;
    }

    .hero-image-container {
        width: 200px;
        height: 160px;
    }

    .brand-title {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .brand-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        padding: 25px;
    }

    .product-image-container {
        width: 180px;
        height: 140px;
    }

    .hero-image-container {
        width: 200px;
        height: 160px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 10px;
    }

    .product-card {
        padding: 15px;
    }

    .product-image-container {
        width: 150px;
        height: 120px;
    }

    .hero-image-container {
        width: 180px;
        height: 140px;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .hero-name {
        font-size: 1.4rem;
    }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* Hover Effects for Features */
.feature-list li:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #ffd700;
}

/* Gradient Text Effect */
.hero .feature-list li:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Image Error Handling */
.product-image:error {
    display: none;
}

/* Loading Animation for Images */
@keyframes imageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.product-image {
    animation: imageLoad 0.3s ease-in;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff8f00 0%, #ff5100 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 143, 0, 0.3);
    z-index: 10;
    letter-spacing: 0.5px;
}