/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f1419;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ostrzeżenie wieku */
.warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Nagłówek */
header {
    background-color: #1a1f2e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid #2d3748;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.subtitle {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #cbd5e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.cart-icon {
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.cart-icon:hover {
    background: rgba(102, 126, 234, 0.1);
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    padding: 4rem 0;
    border-bottom: 1px solid #2d3748;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #a0aec0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vape-device {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Produkty */
.products {
    padding: 5rem 0;
    background: #0f1419;
}

.products h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #a0aec0;
    margin-bottom: 3rem;
}

.nicotine-warning {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #e74c3c;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #1a1f2e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 1.5rem;
    border: 1px solid #2d3748;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-image {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.product-card h3 {
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-size: 1.3rem;
}

.flavor-description {
    margin-bottom: 1.5rem;
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.prices {
    margin-bottom: 1.5rem;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: rgba(45, 55, 72, 0.5);
    border-radius: 8px;
    transition: background 0.3s;
}

.price-option:hover {
    background: rgba(45, 55, 72, 0.8);
}

.size {
    font-weight: bold;
    color: #e2e8f0;
}

.price-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #718096;
    font-size: 0.9rem;
}

.new-price {
    font-weight: bold;
    color: #48bb78;
    font-size: 1.1rem;
}

.add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 1rem;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* O nas */
.about {
    padding: 4rem 0;
    background: #1a1f2e;
    border-top: 1px solid #2d3748;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #cbd5e0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature span {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Modal koszyka */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1a1f2e;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #2d3748;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close {
    color: #a0aec0;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #e2e8f0;
}

#cart-items {
    margin: 2rem 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(45, 55, 72, 0.5);
    border-radius: 8px;
    border: 1px solid #2d3748;
}

.cart-item h4 {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.remove-item {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.remove-item:hover {
    background: #c53030;
}

.cart-total {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #2d3748;
    font-size: 1.3rem;
    color: #e2e8f0;
}

.checkout-btn {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Stopka */
footer {
    background: #0a0e14;
    color: #718096;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #2d3748;
}

.footer-warning {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #e74c3c;
    font-weight: bold;
}

/* Style dla formularzy auth */
.auth-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-form {
    background: #1a1f2e;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #2d3748;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.auth-form h2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.auth-subtitle {
    color: #a0aec0;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #cbd5e0;
}

.checkbox input {
    width: auto;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e74c3c;
    border-radius: 2px;
    width: 0%;
    transition: all 0.3s;
}

.strength-text {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 0.2rem;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: #a0aec0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #4a5568;
}

.auth-divider span {
    background: #1a1f2e;
    padding: 0 1rem;
    position: relative;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #2d3748;
    border: 1px solid #4a5568;
}

.social-btn:hover {
    background: #4a5568;
    transform: none;
}

.google-btn:hover {
    background: #dd4b39;
    border-color: #dd4b39;
}

.facebook-btn:hover {
    background: #3b5998;
    border-color: #3b5998;
}

.auth-switch {
    text-align: center;
    color: #a0aec0;
}

.auth-switch a {
    color: #667eea;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-graphic {
    text-align: center;
    color: #e2e8f0;
}

.vape-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.auth-graphic h3 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefits-list {
    list-style: none;
    text-align: left;
    margin-top: 2rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: #cbd5e0;
}

.link {
    color: #667eea;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Style dla przycisków w nav */
.login-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid #667eea;
}

.register-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.login-btn, .register-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.login-btn:hover, .register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn.secondary {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid #667eea;
}

.btn.secondary:hover {
    background: rgba(102, 126, 234, 0.2);
}

/* Responsywność */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .vape-device {
        font-size: 5rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    .login-btn, .register-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Style dla przycisku zamówienia */
.checkout-btn {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.checkout-btn:disabled {
    background: #a0aec0 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

/* Loading state */
.checkout-btn.loading {
    background: #a0aec0 !important;
    cursor: wait !important;
}

/* Logo strony */
.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.header-content {
    display: flex;
    align-items: center;
}

/* Logo strony - USUŃ TE STYLE */
.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.header-content {
    display: flex;
    align-items: center;
}

/* Responsywność logo - USUŃ TE STYLE */
@media (max-width: 768px) {
    .site-logo {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
}
