* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header Styles */
.sticky-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

.main-nav a:hover {
    color: #ffd700;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

.main-content > .hero-carousel:first-child {
    margin-top: -20px;
    padding-top: 0;
}

/* Homepage Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    overflow: hidden;
    background: white;
    margin-top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    position: absolute;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    padding: 30px;
    border-radius: 10px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.carousel-nav:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reviews-slider {
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 32px;
    text-align: center;
}

.section p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.section-content {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Footer Styles */
.site-footer {
    background: #1e3c72;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #ffd700;
}

.footer-column p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Shop Page Styles */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 30px;
}

.shop-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.shop-sidebar h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e3c72;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: #333;
    text-decoration: none;
    padding: 8px;
    display: block;
    border-radius: 5px;
    transition: background 0.3s;
}

.category-list a:hover {
    background: #f0f0f0;
    color: #1e3c72;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-size: 24px;
    color: #1e3c72;
    font-weight: bold;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #1e3c72;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #2a5298;
}

.shop-info-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.shop-info-sidebar h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e3c72;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload:hover {
    border-color: #1e3c72;
}

.file-upload input[type="file"] {
    display: none;
}

.btn {
    padding: 12px 30px;
    background: #1e3c72;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #2a5298;
}

.btn-secondary {
    background: #666;
}

.btn-secondary:hover {
    background: #777;
}

/* Contact Page */
.contact-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-info h2 {
    color: #ffd700;
    margin-bottom: 30px;
}

.contact-info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: start;
    gap: 15px;
}

.contact-info-item i {
    font-size: 24px;
    color: #ffd700;
    margin-top: 5px;
}

/* Account Page */
.account-menu {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

.account-tab {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.account-tab.active {
    color: #1e3c72;
    border-bottom-color: #1e3c72;
}

.account-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    min-height: 400px;
}

.account-tab-content {
    position: relative;
    width: 100%;
}

.account-tab-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Multi-step Form */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
}

.step.active {
    background: #1e3c72;
    color: white;
}

.step.completed {
    background: #28a745;
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .shop-container {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar,
    .shop-info-sidebar {
        position: static;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .reviews-carousel-container {
        padding: 0 50px;
    }
    
    .review-card {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

.reviews-carousel-nav:hover {
    background: rgba(30, 60, 114, 1) !important;
}

@media (max-width: 1200px) and (min-width: 769px) {
    .reviews-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

