/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--obsidian-night);
    color: var(--arctic-frost);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -64px; /* Pull up to start at top of viewport */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(31, 37, 43, 0.85) 0%,
        rgba(205, 83, 1, 0.2) 40%,
        rgba(31, 37, 43, 0.85) 100%
    );
    z-index: 1;
}

.hero__background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 2s ease-out;
}

.hero__background.active {
    opacity: 1;
    transform: scale(1);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px var(--spacing-md) 0; /* Add top padding to account for logo overlap */
    width: 100%;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    max-width: 800px;
    
    /* Sophisticated gradient text styling */
    background: linear-gradient(135deg, 
        var(--arctic-frost) 0%, 
        var(--silver-mist) 25%, 
        var(--golden-dawn) 50%, 
        var(--arctic-frost) 75%, 
        var(--blazing-ember) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Enhanced typography */
    letter-spacing: -0.02em;
    text-shadow: 
        0 0 30px rgba(255, 184, 0, 0.3),
        0 0 60px rgba(205, 83, 1, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.4);
    
    /* Subtle animation for gradient movement */
    animation: fadeInUp 0.8s ease-out forwards, gradientShift 15s ease-in-out infinite;
    
    /* Enhanced hover effect */
    transition: all 0.3s ease;
    cursor: default;
}

.hero__title:hover {
    transform: translateY(-2px);
    text-shadow: 
        0 0 40px rgba(255, 184, 0, 0.5),
        0 0 80px rgba(205, 83, 1, 0.3),
        0 6px 25px rgba(0, 0, 0, 0.5);
}

/* Enhanced gradient animation */
@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: brightness(1);
    }
    25% { 
        background-position: 100% 50%; 
        filter: brightness(1.1);
    }
    50% { 
        background-position: 200% 50%; 
        filter: brightness(1.05);
    }
    75% { 
        background-position: 300% 50%; 
        filter: brightness(1.1);
    }
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    max-width: 600px;
}

.hero__cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    max-width: 600px;
}

.hero__cta .btn {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--blazing-ember);
    color: var(--arctic-frost);
    white-space: nowrap;
    min-width: 220px;
}

.hero__cta .btn:hover {
    background-color: #b8470a;
    color: var(--arctic-frost);
}

.hero__cta .btn .material-icons:first-child {
    font-size: 1.2rem;
    margin-right: var(--spacing-xs);
}

.hero__cta .btn .material-icons:last-child {
    font-size: 1.2rem;
    margin-left: auto;
    transition: transform var(--transition-fast);
}

.hero__cta .btn:hover .material-icons:last-child {
    transform: translateX(4px);
}

/* Featured Products Section */
.featured-products {
    padding: var(--spacing-xl) 0;
    background-color: var(--arctic-frost);
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(31, 37, 43, 0.99) 0%,
        rgba(205, 83, 1, 0.2) 40%,
        rgba(31, 37, 43, 0.98) 100%
    );
    z-index: 1;
    opacity: 0.4;
}

.featured-products__background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-products__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 2s ease-out;
}

.featured-products__background.active {
    opacity: 0.4;
    transform: scale(1);
}

.featured-products__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.featured-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card__image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.product-card__image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #f5f5f5;
}

.product-card__image-link:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__content {
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--obsidian-night);
}

.product-card__description {
    color: #666;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.5;
}

.product-card__price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--blazing-ember);
    margin-bottom: var(--spacing-md);
}

.product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.product-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.product-card__btn:first-child {
    background-color: var(--obsidian-night);
    color: var(--arctic-frost);
}

.product-card__btn:first-child:hover {
    background-color: var(--blazing-ember);
}

.product-card__btn:last-child {
    background-color: #5DC878;
    color: var(--arctic-frost);
}

.product-card__btn:last-child:hover {
    background-color: var(--blazing-ember);
}

.product-card__btn .material-icons {
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1.3rem;
    }

    .trust-indicators__title {
        font-size: 2rem;
    }

    .trust-indicators__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }

    .trust-indicator__icon {
        width: 70px;
        height: 70px;
    }

    .trust-indicator__icon .material-icons {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero__cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .featured-products__grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .product-card__actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .product-card__btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
        min-height: 48px;
    }

    .trust-indicators {
        padding: var(--spacing-lg) 0;
    }

    .trust-indicators__title {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-lg);
    }

    .trust-indicators__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .trust-indicator {
        padding: var(--spacing-md);
    }

    .trust-indicator__icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-sm);
    }

    .trust-indicator__icon .material-icons {
        font-size: 1.8rem;
    }

    .trust-indicator__title {
        font-size: 1.2rem;
    }

    .trust-indicator__description {
        font-size: 0.9rem;
    }
}

.footer-logo {
    display: block;
    width: 220px; /* Increased from 160px */
    height: 82px; /* Increased proportionally from 60px */
    object-fit: contain;
    object-position: left center;
    margin-bottom: var(--spacing-md);
}

.footer-section {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section:first-child {
    min-width: 250px; /* Give more space for the logo section */
}

.site-footer {
    background-color: var(--obsidian-night);
    color: var(--arctic-frost);
    padding: var(--spacing-xl) 0 var(--spacing-md); /* Reduced bottom padding */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    color: var(--arctic-frost);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.social-link:hover {
    color: var(--blazing-ember);
}

.footer-section h3 {
    font-size: 1rem; /* Reduced from 1.2rem */
    margin-bottom: var(--spacing-sm); /* Reduced from spacing-md */
    color: var(--blazing-ember);
}

.footer-section a {
    color: var(--arctic-frost);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-fast);
    font-size: 0.9rem; /* Added smaller font size */
}

.footer-section a:hover {
    color: var(--blazing-ember);
}

.footer-bottom {
    max-width: 1200px;
    margin: var(--spacing-lg) auto 0; /* Reduced top margin */
    padding: var(--spacing-sm) var(--spacing-md); /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem; /* Reduced from 0.9rem */
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-section {
        min-width: 100%;
    }
    
    .footer-logo {
        margin: 0 auto var(--spacing-md);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Trust Indicators Section */
.trust-indicators {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
    background: linear-gradient(135deg, 
        var(--obsidian-night) 0%, 
        #2a2e33 25%, 
        #3a3741 50%, 
        var(--obsidian-night) 75%, 
        var(--obsidian-night) 100%);
    background-size: 400% 400%;
    animation: subtleGradientShift 20s ease infinite;
    position: relative;
    overflow: hidden;
}

.trust-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(205, 83, 1, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 184, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

@keyframes subtleGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.trust-indicators__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.trust-indicators__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--arctic-frost);
    background: linear-gradient(135deg, 
        var(--arctic-frost) 0%, 
        var(--silver-mist) 25%, 
        var(--golden-dawn) 50%, 
        var(--arctic-frost) 75%, 
        var(--blazing-ember) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradientShift 12s ease-in-out infinite;
    letter-spacing: -0.01em;
}

@keyframes titleGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.trust-indicators__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch;
}

.trust-indicator {
    background: linear-gradient(135deg, 
        rgba(245, 245, 245, 0.08) 0%, 
        rgba(245, 245, 245, 0.04) 50%, 
        rgba(245, 245, 245, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 245, 0.1);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.trust-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 140, 0, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
    z-index: 1;
}

.trust-indicator:hover::before {
    left: 100%;
}

.trust-indicator:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 140, 0, 0.3);
    background: linear-gradient(135deg, 
        rgba(245, 245, 245, 0.12) 0%, 
        rgba(255, 140, 0, 0.08) 50%, 
        rgba(245, 245, 245, 0.06) 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(255, 140, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trust-indicator__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, 
        var(--blazing-ember) 0%, 
        var(--golden-dawn) 50%, 
        var(--blazing-ember) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 25px rgba(255, 140, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.trust-indicator:hover .trust-indicator__icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 
        0 15px 35px rgba(255, 140, 0, 0.4),
        0 5px 15px rgba(205, 83, 1, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.trust-indicator__icon .material-icons {
    font-size: 2.5rem;
    color: var(--arctic-frost);
    transition: all 0.3s ease;
}

.trust-indicator:hover .trust-indicator__icon .material-icons {
    color: var(--arctic-frost);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.trust-indicator__title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--arctic-frost);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.trust-indicator:hover .trust-indicator__title {
    color: var(--golden-dawn);
}

.trust-indicator__description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--silver-mist);
    margin: 0;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.trust-indicator:hover .trust-indicator__description {
    color: var(--arctic-frost);
}

/* Animation keyframes for enhanced effects */
@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 
            0 8px 25px rgba(255, 140, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 12px 30px rgba(255, 140, 0, 0.4),
            0 4px 12px rgba(205, 83, 1, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.trust-indicator__icon {
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stock indicator styles */
.stock-available {
    color: #4CAF50;
    font-weight: 500;
    font-size: 0.8rem;
    margin: 4px 0 0 0;
}

.stock-out {
    color: #f44336;
    font-weight: 500;
    font-size: 0.8rem;
    margin: 4px 0 0 0;
}

.stock-icon {
    font-size: 0.8rem;
    vertical-align: middle;
    margin-right: 2px;
}

/* Buy now button styles */
.product-card__buy-now-btn {
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.product-card__buy-now-btn--available {
    background-color: #5DC878;
    color: white;
    box-shadow: 0 2px 4px rgba(93, 200, 120, 0.2);
}

.product-card__buy-now-btn--available:hover {
    background-color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(93, 200, 120, 0.3);
}

.product-card__buy-now-btn--disabled {
    background-color: #9e9e9e;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: 0 2px 4px rgba(158, 158, 158, 0.2);
    opacity: 0.7;
}

.buy-now-icon {
    font-size: 1.2rem;
}

/* Product card image styles */
.product-card__image {
    width: 300px;
    height: 300px;
    object-fit: cover;
} 