/* ====================================================================
   eduKID Shopware Theme - Central Styles
   Version: 1.0
   ==================================================================== */

/* ====== RESET & BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* ====== HEADER STYLES ====== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 999;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    transition: all 0.3s ease;
    background: white;
    padding: 10px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.logo-container.scrolled {
    top: 10px;
    padding: 5px 20px;
}

.logo {
    transition: all 0.3s ease;
    max-width: 250px;
    height: auto;
    display: block;
}

.logo-container.scrolled .logo {
    max-width: 120px;
}

.logo-placeholder {
    width: 250px;
    height: 120px;
    visibility: hidden;
}

.header-icons {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #052c5e;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-icon:hover {
    color: #FF6B35;
    transform: translateY(-2px);
}

.header-icon i {
    font-size: 24px;
    margin-bottom: 5px;
}

.header-icon span {
    font-size: 12px;
    font-weight: 400;
}

.icon-wrapper {
    position: relative;
}

.header-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FDB813;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.hamburger, .appointment-icon-mobile, .mobile-right-icons {
    display: none;
}

/* ====== NAVIGATION ====== */
nav {
    background: #052c5e;
    padding: 15px 0;
    margin-top: 20px;
    width: 100%;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:nth-child(1):after { background: #FF6B35; }
.nav-link:nth-child(2):after { background: #FDB813; }
.nav-link:nth-child(3):after { background: #7B3FA0; }
.nav-link:nth-child(4):after { background: #4CAF50; }
.nav-link:nth-child(5):after { background: #FF6B35; }

/* ====== BREADCRUMB ====== */
.breadcrumb {
    background: white;
    padding: 15px 40px;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FF6B35;
}

.breadcrumb span {
    color: #999;
}

.breadcrumb .current {
    color: #FF6B35;
    font-weight: 600;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
}

.btn-primary {
    background: #052c5e;
    color: white;
}

.btn-primary:hover {
    background: #073d7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 44, 94, 0.3);
}

.btn-secondary {
    background: #FF6B35;
    color: white;
}

.btn-secondary:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-accent {
    background: #FDB813;
    color: white;
}

.btn-accent:hover {
    background: #e5a711;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 184, 19, 0.3);
}

/* ====== FORMS ====== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    color: #052c5e;
    font-size: 14px;
}

.form-input, .form-select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* ====== CARDS ====== */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ====== PRODUCT CARDS ====== */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #FDB813 0%, #FFE082 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-wishlist {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.product-wishlist:hover {
    background: #FF6B35;
    color: white;
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4CAF50;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: #FF6B35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #052c5e;
    margin-bottom: 10px;
    min-height: 50px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stars {
    color: #FDB813;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: #999;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #052c5e;
    margin-bottom: 15px;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.product-button {
    width: 100%;
    background: #FF6B35;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-button:hover {
    background: #ff5722;
}

/* ====== BADGES ====== */
.badge-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new {
    background: #4CAF50;
    color: white;
}

.badge-sale {
    background: #FF6B35;
    color: white;
}

.badge-bestseller {
    background: #FDB813;
    color: white;
}

/* ====== ALERTS ====== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4CAF50;
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #FF6B35;
}

.alert-info {
    background: #e3f2fd;
    color: #01579b;
    border-left: 4px solid #052c5e;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* ====== FOOTER ====== */
footer {
    background: #052c5e;
    color: white;
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FDB813;
}

.footer-column a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-column a:hover {
    opacity: 1;
    color: #FDB813;
    padding-left: 5px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: #FDB813;
    font-size: 18px;
    width: 25px;
}

.contact-info strong {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
    display: none;
}

/* ====== RESPONSIVE MOBILE ====== */
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
    }

    .logo-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .logo {
        max-width: 150px !important;
    }

    .logo-container.scrolled .logo {
        max-width: 150px !important;
    }

    .logo-placeholder {
        display: none;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        align-items: center;
    }

    .header-icons, nav {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
        background: none;
        border: none;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: #052c5e;
        border-radius: 2px;
    }

    .mobile-right-icons {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .appointment-icon-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: #FF6B35;
        color: white;
        border-radius: 50%;
        font-size: 20px;
        text-decoration: none;
    }

    .whatsapp-float {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background: #25D366;
        color: white;
        border-radius: 50%;
        font-size: 32px;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
        z-index: 1000;
        text-decoration: none;
        align-items: center;
        justify-content: center;
    }

    .breadcrumb {
        padding: 15px 20px;
        margin-top: 70px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ====== PAGINATION ====== */
.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #052c5e;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-item:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

.pagination-item.active {
    background: #FF6B35;
    border-color: #FF6B35;
    color: white;
}

/* ====== QUANTITY CONTROLS ====== */
.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #FF6B35;
    color: white;
}

.quantity-input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
}
