/* CSS Variables for Design System */
:root {
    --primary-color: #eb1a4e;
    --secondary-color: #c4c4c4;
    --background-color: #f0f0f0;
    --text-color: #1a1a1a;
    --card-background: #fcfcfc;
    --border-radius: 0.8rem;
    --spacing-unit: 0.25rem;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
}

/* Navigation */
.navbar {
    background: var(--card-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4);
}

.nav-brand h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 8);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
}

.cart-count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    font-size: 0.8rem;
    margin-left: calc(var(--spacing-unit) * 1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--card-background) 0%, var(--background-color) 100%);
    padding: calc(var(--spacing-unit) * 20) 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 16);
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 6);
    line-height: 1.2;
}

.price {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 8);
    color: var(--text-color);
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
}

.btn {
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 8);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #d1154a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 26, 78, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-showcase {
    width: 400px;
    height: 300px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.placeholder-image {
    width: 400px;
    height: 300px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: calc(var(--spacing-unit) * 20) 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 8);
}

.service-card {
    background: var(--card-background);
    padding: calc(var(--spacing-unit) * 12);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-weight: 600;
}

/* Why Choose Section */
.why-choose {
    background: var(--card-background);
    padding: calc(var(--spacing-unit) * 20) 0;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 8);
}

.feature {
    text-align: center;
    padding: calc(var(--spacing-unit) * 6);
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--primary-color);
    font-weight: 600;
}

/* Showcase Section */
.showcase-section {
    padding: calc(var(--spacing-unit) * 20) 0;
    background: var(--card-background);
}

.showcase-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    font-weight: 600;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 8);
}

.showcase-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.showcase-item:hover .showcase-img {
    transform: scale(1.05);
}

/* Stats Section */
.stats-section {
    padding: calc(var(--spacing-unit) * 20) 0;
    background: var(--primary-color);
    color: white;
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    font-weight: 600;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 8);
    text-align: center;
}

.stat-item {
    padding: calc(var(--spacing-unit) * 4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Process Section */
.process-section {
    padding: calc(var(--spacing-unit) * 20) 0;
    background: var(--card-background);
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-weight: 600;
}

.process-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    color: var(--secondary-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 8);
}

.process-step {
    text-align: center;
    padding: calc(var(--spacing-unit) * 6);
    border-radius: var(--border-radius);
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto calc(var(--spacing-unit) * 4);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--primary-color);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: calc(var(--spacing-unit) * 20) 0;
    background: var(--background-color);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 8);
}

.testimonial-card {
    background: white;
    padding: calc(var(--spacing-unit) * 8);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.testimonial-content p {
    font-style: italic;
    color: var(--secondary-color);
    line-height: 1.6;
}

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

.author-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.author-company {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Categories Section */
.categories-section {
    padding: calc(var(--spacing-unit) * 20) 0;
    background: var(--card-background);
}

.categories-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 12);
    font-weight: 600;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 6);
}

.category-card {
    background: white;
    padding: calc(var(--spacing-unit) * 6);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--primary-color);
    font-weight: 600;
}

.category-count {
    margin-top: calc(var(--spacing-unit) * 3);
    color: var(--secondary-color);
    font-weight: 500;
}

.categories-cta {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 12);
}

/* CTA Section */
.cta-section {
    padding: calc(var(--spacing-unit) * 20) 0;
    background: linear-gradient(135deg, var(--primary-color), #c41a3e);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 6);
    font-weight: 600;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 8);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 8);
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: calc(var(--spacing-unit) * 16) 0 calc(var(--spacing-unit) * 8) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 12);
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--primary-color);
}

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

.footer-section ul li {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 8);
    border-top: 1px solid var(--secondary-color);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-background);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: calc(var(--spacing-unit) * 8);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-showcase {
        width: 300px;
        height: 200px;
    }
    
    .placeholder-image {
        width: 300px;
        height: 200px;
    }
    
    .services h2,
    .why-choose h2,
    .showcase-section h2 {
        font-size: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: calc(var(--spacing-unit) * 6);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-showcase {
        width: 250px;
        height: 180px;
    }
    
    .placeholder-image {
        width: 250px;
        height: 180px;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: calc(var(--spacing-unit) * 4);
    }
    
    .showcase-img {
        height: 150px;
    }
}