

/* ====== BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== HEADER STYLES ====== */
.header {
    background-color: #232f3e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.logo i {
    color: #ff9900;
    font-size: 28px;
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    background-color: #e68900;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-container {
    position: relative;
}

.cart-icon {
    font-size: 22px;
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cart-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff9900;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ====== NAVBAR STYLES ====== */
.navbar {
    background-color: #37475a;
    padding: 0 5%;
}

.navbar ul {
    display: flex;
    flex-wrap: wrap;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.navbar a:hover {
    background-color: #485769;
}

.navbar a.active {
    background-color: #ff9900;
    color: white;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 100;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #ff9900;
}

.dropdown-content a i {
    width: 20px;
    color: #666;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ====== MAIN CONTENT ====== */
.main-content {
    min-height: calc(100vh - 400px);
}

/* ====== FOOTER STYLES ====== */
.footer {
    background-color: #232f3e;
    color: white;
    padding: 50px 5% 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-logo i {
    color: #ff9900;
    font-size: 24px;
}

.footer-logo h3 {
    font-weight: 600;
}

.footer-description {
    color: #aaa;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #37475a;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #ff9900;
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ff9900;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ff9900;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ddd;
    font-size: 14px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover {
    color: #ff9900;
    padding-left: 5px;
}

.footer-section ul li i {
    width: 20px;
    color: #ff9900;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #37475a;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

/* ====== CART MODAL ====== */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: flex-end;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cart-modal-content {
    background-color: white;
    width: 100%;
    max-width: 450px;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background-color: #232f3e;
    color: white;
}

.cart-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.close-cart {
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    padding: 0 5px;
}

.close-cart:hover {
    color: #ff9900;
}

.cart-modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-cart i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.empty-cart p {
    color: #888;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.4;
}

.cart-item-price {
    font-size: 16px;
    color: #ff9900;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #cc0000;
}

.cart-modal-footer {
    padding: 20px;
    border-top: 2px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.total-amount {
    color: #ff9900;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background-color: #e68900;
}

/* ====== UTILITY CLASSES ====== */
.section-title {
    font-size: 32px;
    color: #232f3e;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.section-subtitle {
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.page-header {
    text-align: center;
    padding: 60px 5%;
    background: linear-gradient(135deg, #232f3e 0%, #37475a 100%);
    color: white;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====== NOTIFICATION ====== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 350px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    font-size: 20px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        width: 100%;
        justify-content: center;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin: 10px 0 0 0;
        max-width: 100%;
    }

    .header-actions {
        position: absolute;
        top: 15px;
        right: 5%;
    }

    .navbar ul {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .cart-modal-content {
        max-width: 100%;
    }

    .footer-section {
        min-width: 100%;
    }

    .page-header {
        padding: 40px 5%;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 18px;
    }

    .logo i {
        font-size: 24px;
    }

    .search-box input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .search-box button {
        padding: 0 15px;
    }

    .navbar a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .dropdown-content {
        min-width: 180px;
    }

    .cart-modal-header h3 {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }
}

