/* Import base styles and extend for Halloween theme */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    min-height: 100vh;
}

/* Header Styles - Same as main site */
.top-banner {
    background: #000000;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.prime-link {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.prime-link:hover {
    color: #0056b3;
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar {
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #2d3436;
    letter-spacing: 3px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo h1:hover {
    color: #ff6b35;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #636e72;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: #ff6b35;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #ff6b35;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #636e72;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #ff6b35;
    padding-left: 25px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 12px 45px 12px 18px;
    border: 2px solid #ddd;
    border-radius: 25px;
    width: 320px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-container i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #636e72;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.search-container i:hover {
    color: #ff6b35;
}

/* Extra Cash Button */
.extra-cash-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.extra-cash-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #636e72;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

/* Halloween Main Content */
.halloween-main {
    background: #fff;
    min-height: 100vh;
    position: relative;
}

.halloween-main::before {
    content: none;
}

/* Halloween Hero Section */
.halloween-hero {
    background: #111;
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 54px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    animation: spookyGlow 3s ease-in-out infinite alternate;
}

@keyframes spookyGlow {
    from {
        text-shadow: 3px 3px 6px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.1);
    }
    to {
        text-shadow: 3px 3px 6px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.3);
    }
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Back to Home Button */
.back-home-container {
    padding: 30px 20px;
    position: relative;
    z-index: 2;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b35;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.back-home-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff8e53;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

/* Halloween Container */
.halloween-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    position: relative;
    z-index: 2;
}

/* Halloween Section Styles */
.halloween-section {
    margin-bottom: 80px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid rgba(255, 107, 53, 0.08);
    transition: all 0.3s ease;
}

.halloween-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.section-title {
    font-size: 32px;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-title i {
    font-size: 28px;
    color: #ff8e53;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Product Card Styles */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 107, 53, 0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    filter: brightness(0.95) contrast(1.05);
    max-width: 100%;
    max-height: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.6);
    }
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: none;
}

.product-description {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.4;
    font-style: italic;
}

.product-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.buy-now-btn, .check-related-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-now-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.check-related-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b35;
    border: 2px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
}

.check-related-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff8e53;
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

/* Footer Styles */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

.footer-link:hover {
    color: #ff6b35;
    background-color: rgba(255, 107, 53, 0.1);
}

.extra-cash-link {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white !important;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.extra-cash-link:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.footer-disclaimer {
    border-top: 1px solid #333333;
    padding-top: 20px;
    margin-top: 10px;
}

.footer-disclaimer p {
    color: #cccccc;
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .search-input {
        width: 280px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 2;
    }
    
    .nav-actions {
        order: 3;
        gap: 15px;
    }
    
    .nav-links {
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        display: none;
        background: white;
        padding: 20px 0;
        border-top: 1px solid #eee;
        margin-top: 15px;
    }
    
    .nav-links.mobile-active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
    }
    
    /* Mobile dropdown styles */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        justify-content: center;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: #f8f9fa;
        margin-top: 0;
        display: none;
    }
    
    .dropdown.mobile-active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 10px 20px;
        background: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        background: #e9ecef;
        padding-left: 20px;
    }
    
    .search-input {
        width: 200px;
        font-size: 13px;
    }
    
    .extra-cash-btn {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .halloween-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .halloween-section {
        padding: 30px 20px;
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .product-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .buy-now-btn, .check-related-btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .top-banner {
        font-size: 12px;
        padding: 10px 5px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .search-input {
        width: 150px;
        padding: 10px 35px 10px 15px;
    }
    
    .extra-cash-btn {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .halloween-hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .halloween-container {
        padding: 0 15px 60px;
    }
    
    .halloween-section {
        padding: 25px 15px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        font-size: 18px;
    }
    
    .buy-now-btn, .check-related-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}
