* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
}

.skip-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.skip-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    color: white;
    text-decoration: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: white;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn:hover {
    background: #f0f7ff;
    border-color: #1976d2;
    color: #1976d2;
}

.lang-btn.active {
    background: #1976d2;
    border-color: #1976d2;
    color: white;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section {
    margin-bottom: 20px;
}

.logo {
    height: 80px;
    margin-bottom: 5px;
}

.tagline {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.title {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Category Navigation */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-btn {
    background: white;
    border: 2px solid #1976d2;
    color: #1976d2;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.category-btn.active {
    background: #1976d2;
    color: white;
}

.category-btn i {
    font-size: 16px;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px 0;
}

.item-card {
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-2px);
}

.item-circle {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    padding: 15px;
    position: relative;
}

.item-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 6px 0;
    box-shadow: none;
    border: none;
}

.emoji-icon {
    font-size: 28px;
    line-height: 1;
}

.item-name {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.1;
}

.item-volume {
    font-size: 10px;
    color: #888;
    margin-bottom: 0;
    line-height: 1.2;
}

.quantity-selector {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(211, 47, 47, 0.2);
    border: 2px solid #d32f2f;
    padding: 3px 8px;
    gap: 6px;
}

.quantity-btn {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #d32f2f;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #b71c1c;
    transform: scale(1.1);
}

.quantity-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.quantity-display {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    color: #d32f2f;
    font-size: 14px;
    background: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d32f2f;
}

/* Calculation Summary */
.calculation-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.total-volume h3 {
    color: #1976d2;
    margin-bottom: 10px;
    font-size: 18px;
}

.volume-display {
    font-size: 24px;
    font-weight: 600;
    color: #d32f2f;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.calculate-btn {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.reset-btn {
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(117, 117, 117, 0.3);
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
    background: linear-gradient(135deg, #616161 0%, #424242 100%);
}

/* Storage Units */
.storage-units {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.storage-unit {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.storage-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.storage-unit.recommended {
    border-color: #1976d2;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
}

.storage-unit.recommended::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #1976d2;
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 12px;
    font-weight: 600;
}

.unit-icon {
    font-size: 40px;
    color: #1976d2;
    margin-bottom: 15px;
}

.unit-size {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.unit-volume {
    font-size: 28px;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 5px;
}

.unit-volume-ft {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.unit-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.utilization {
    margin-top: 10px;
}

.utilization-text {
    color: #4caf50;
    font-weight: 600;
}

.utilization-text.over-capacity {
    color: #f44336;
}

.utilization-text.near-capacity {
    color: #ff9800;
}

.unit-book-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
}

.unit-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 900px) {
    .items-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-btn {
        min-width: auto;
    }
    
    .items-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .calculation-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .storage-units {
        grid-template-columns: 1fr;
    }
    
    .title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .item-circle {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    
    .emoji-icon {
        font-size: 24px;
    }
    
    .item-name {
        font-size: 10px;
    }
    
    .item-volume {
        font-size: 8px;
    }
}

/* Book Now Section */
.book-now-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
}

.book-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
    color: white;
    text-decoration: none;
}

.book-now-btn i {
    font-size: 20px;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.item-card {
    animation: fadeIn 0.3s ease-out;
}

.book-now-section {
    animation: slideIn 0.5s ease-out;
}

/* Hide items initially */
.item-card.hidden {
    display: none;
}
