/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.accent {
    color: #4A90E2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357ABD, #2C5F8F);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-secondary:hover {
    background-color: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.nav-logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2D3748;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4A5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4A90E2;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #4A90E2;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #2D3748;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2D3748;
}

.hero-subtitle {
    font-size: 20px;
    color: #718096;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-weight: 500;
}

.feature-item i {
    color: #4A90E2;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Category Filter */
.category-filter {
    padding: 60px 0 40px;
    background-color: #F7FAFC;
}

.filter-header {
    text-align: center;
    margin-bottom: 40px;
}

.filter-header h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2D3748;
}

.filter-header p {
    color: #718096;
    font-size: 16px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #E2E8F0;
    background-color: white;
    color: #718096;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #4A90E2;
    background-color: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2D3748;
}

.section-subtitle {
    font-size: 18px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Catalog Section */
.catalog {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #F7FAFC;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.new {
    background-color: #48BB78;
    color: white;
}

.bestseller {
    background-color: #ED8936;
    color: white;
}

.limited {
    background-color: #9F7AEA;
    color: white;
}

.sale {
    background-color: #F56565;
    color: white;
}

.vintage {
    background-color: #38B2AC;
    color: white;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background-color: white;
    color: #2D3748;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-quick-view:hover {
    background-color: #4A90E2;
    color: white;
}

.product-info {
    padding: 24px;
}

.product-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2D3748;
}

.product-description {
    color: #718096;
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 14px;
}

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

.stars {
    display: flex;
    gap: 2px;
}

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

.rating-text {
    font-size: 12px;
    color: #718096;
}

.product-sizes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.size-label {
    font-size: 14px;
    color: #4A5568;
    font-weight: 500;
}

.size-options {
    display: flex;
    gap: 8px;
}

.size {
    padding: 4px 8px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 12px;
    color: #4A5568;
    background-color: #F7FAFC;
}

.product-price {
    margin-bottom: 20px;
}

.product-price .sale-price {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
}

.product-price .original-price {
    font-size: 16px;
    color: #A0AEC0;
    text-decoration: line-through;
    margin-right: 8px;
}

.product-price:not(:has(.sale-price)) {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
}

.product-btn {
    width: 100%;
    justify-content: center;
}

/* Size Guide Section */
.size-guide {
    padding: 100px 0;
    background-color: #F7FAFC;
}

.size-guide-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.size-chart h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #2D3748;
}

.table-responsive {
    overflow-x: auto;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.size-table th,
.size-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.size-table th {
    background-color: #4A90E2;
    color: white;
    font-weight: 600;
}

.size-table td {
    color: #4A5568;
}

.size-table tr:hover {
    background-color: #F7FAFC;
}

.size-tips h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #2D3748;
}

.tips-grid {
    display: grid;
    gap: 24px;
}

.tip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tip-item i {
    color: #4A90E2;
    font-size: 24px;
    margin-top: 4px;
}

.tip-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2D3748;
}

.tip-item p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: #F7FAFC;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2D3748;
}

.feature-description {
    color: #718096;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: #F7FAFC;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content .stars {
    margin-bottom: 16px;
}

.testimonial-content p {
    color: #718096;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 4px;
}

.author-info span {
    color: #718096;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #2D3748;
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #4A90E2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-details p {
    color: #CBD5E0;
    margin-bottom: 12px;
}

.contact-link {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-cta {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.contact-cta p {
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #1A202C;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #CBD5E0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #4A5568;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #4A90E2;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4A90E2;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 20px;
    text-align: center;
    color: #CBD5E0;
    font-size: 14px;
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    color: #718096;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #F7FAFC;
    color: #4A90E2;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
}

.modal-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.modal-info h3 {
    font-size: 28px;
    color: #2D3748;
    font-weight: 600;
}

.modal-info p {
    color: #718096;
    line-height: 1.6;
}

.modal-price {
    font-size: 32px;
    font-weight: 700;
    color: #4A90E2;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-features {
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .size-guide-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 60px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-img {
        height: 250px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .contact-cta {
        padding: 32px 24px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .size-table {
        font-size: 12px;
    }
    
    .size-table th,
    .size-table td {
        padding: 8px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Product Filter Animation */
.product-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.product-card.visible {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.success {
    background-color: #48BB78;
}

.notification.error {
    background-color: #F56565;
}

.notification.info {
    background-color: #4A90E2;
}

.notification.show {
    transform: translateX(0);
}