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

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.logo span {
    color: #2563eb;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    color: #4b5563;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: #2563eb;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2563eb;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #4b5563;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background-image: url('https://plus.unsplash.com/premium_photo-1664202526559-e21e9c0fb46a?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem  0;
}

.hero-content {
    max-width: 48rem;
}

.hero h1 {
    color:#020911;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #020911;
}

.hero-about {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-about h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-about p {
    font-size: 1.25rem;
    color: #dbeafe;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 0;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: #d1d5db;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-white {
    background: white;
    color: #2563eb;
}

.btn-white:hover {
    background: #f3f4f6;
}

.btn-block {
    width: 100%;
}

/* Features Section */
.features {
    background: #f9fafb;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    color: #2563eb;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

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

.product-image {
    position: relative;
    width: 100%;
    padding-top: 133%;
    overflow: hidden;
    background: #f3f4f6;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-info {
    padding: 1rem;
}

.product-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.star {
    color: #fbbf24;
    font-size: 1rem;
}

.star.empty {
    color: #d1d5db;
}

.reviews-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.add-to-cart-btn {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #1d4ed8;
}

/* Product Controls */
.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-count {
    color: #6b7280;
}

.products-count span {
    font-weight: 600;
    color: #1f2937;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.breadcrumb a {
    color: #2563eb;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #6b7280;
    margin: 0 0.5rem;
}

/* Product Detail */
.product-detail-section {
    padding: 3rem 0;
}

.product-detail {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.product-detail-image {
    width: 100%;
    padding-top: 133%;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-detail-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.product-description {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.size-selector,
.color-selector {
    margin-bottom: 1.5rem;
}

.size-selector label,
.color-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-option,
.color-option {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    font-weight: 500;
}

.size-option:hover,
.color-option:hover {
    border-color: #2563eb;
}

.size-option.selected,
.color-option.selected {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #f3f4f6;
}

.quantity-value {
    font-size: 1.25rem;
    font-weight: 600;
    min-width: 3rem;
    text-align: center;
}

.product-features {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.product-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.product-features svg {
    color: #2563eb;
    flex-shrink: 0;
}

/* Cart Section */
.cart-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.cart-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart svg {
    margin: 0 auto 1.5rem;
    color: #9ca3af;
}

.empty-cart h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.cart-item-image {
    width: 100px;
    height: 130px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-details h3 a {
    color: #1f2937;
}

.cart-item-details h3 a:hover {
    color: #2563eb;
}

.cart-item-size {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    background: white;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #f3f4f6;
}

.qty-value {
    font-weight: 600;
    min-width: 2rem;
    text-align: center;
}

.remove-btn {
    color: #dc2626;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.remove-btn:hover {
    color: #b91c1c;
}

.cart-summary {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.5rem;
    height: fit-content;
}

.cart-summary h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #2563eb;
    font-weight: 500;
    margin-top: 1rem;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.free-shipping-notice {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #1e3a8a;
}

/* CTA Section */
.cta-section {
    background: #1f2937;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
}

.banner-section {
    background: #2563eb;
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 2rem;
}

.banner-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.banner-section p {
    font-size: 1.25rem;
    color: #dbeafe;
    margin-bottom: 1.5rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.text-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Values Section */
.values-section {
    background: white;
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon svg {
    color: #2563eb;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.value-card p {
    color: #6b7280;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-member h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-member p {
    color: #6b7280;
}

/* Legal Section */
.legal-section {
    padding: 3rem 0;
}

.legal-content {
    max-width: 56rem;
    margin: 0 auto;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 3rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.update-date {
    color: #6b7280;
    margin-bottom: 2rem;
}

.legal-text section {
    margin-bottom: 2rem;
}

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.legal-text p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: #6b7280;
    line-height: 1.8;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: #3b82f6;
}

.footer-col p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.text-center {
    text-align: center;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-content {
        grid-template-columns: 2fr 1fr;
    }

    .cart-item {
        grid-template-columns: 120px 1fr;
    }

    .cart-item-image {
        width: 120px;
        height: 160px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.hidden {
    display: none;
}
