/*
Theme Name: Tanbutiken
Description: En anpassad WordPress-tema för Tanbutiken melanotan 2 butik med WooCommerce-integration
Version: 1.0
Author: Tanbutiken
Text Domain: tanbutiken
Domain Path: /languages
*/

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(180deg, #4A90A4 0%, #6BA3B5 30%, #8BB6C6 60%, #ABC9D7 80%, #D4B896 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header Styles */
.site-header {
    background: transparent;
    padding: 2rem 0;
    text-align: center;
}

.site-logo {
    max-width: 400px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.site-title {
    font-family: 'Brush Script MT', cursive;
    font-size: 3.5rem;
    color: #F5E6D3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.site-description {
    font-size: 1.2rem;
    color: #F5E6D3;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Main Content */
.site-main {
    padding: 2rem 0;
}

/* Product Bundle Section */
.product-bundles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.product-bundle {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-bundle:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.bundle-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.bundle-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 1rem 0;
    border-radius: 10px;
}

.bundle-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1rem 0;
}

.bundle-select-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin-top: 1rem;
}

.bundle-select-btn:hover {
    background: #229954;
    transform: scale(1.05);
}

.bundle-select-btn:nth-child(2n) {
    background: #3498db;
}

.bundle-select-btn:nth-child(2n):hover {
    background: #2980b9;
}

.bundle-select-btn:nth-child(3n) {
    background: #e67e22;
}

.bundle-select-btn:nth-child(3n):hover {
    background: #d35400;
}

/* Information Cards */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #34495e;
    text-align: center;
}

.info-card.warning {
    border-left: 5px solid #e74c3c;
}

.info-card.warning h2 {
    color: #e74c3c;
}

/* Checkout Button */
.checkout-section {
    text-align: center;
    margin: 3rem 0;
}

.main-checkout-btn {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(142, 68, 173, 0.4);
}

.main-checkout-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* WooCommerce Styles */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.woocommerce-message {
    border-left: 5px solid #27ae60;
    color: #27ae60;
}

.woocommerce-info {
    border-left: 5px solid #3498db;
    color: #3498db;
}

.woocommerce-error {
    border-left: 5px solid #e74c3c;
    color: #e74c3c;
}

/* Cart Widget */
.cart-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.cart-count {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Footer */
.site-footer {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .product-bundles {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .bundle-price {
        font-size: 2rem;
    }
    
    .main-checkout-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .cart-widget {
        position: relative;
        top: auto;
        right: auto;
        margin: 1rem auto;
        display: block;
        width: fit-content;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .product-bundle {
        padding: 1.5rem;
    }
    
    .bundle-price {
        font-size: 1.8rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

