:root {
    --primary: #ed7345;
    --secondary: #007bff;
    --dark: #333;
    --light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 15px 0;*/
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    width: 180px;
    height: auto;
}

.logo span {
    color: var(--secondary);
}

.main-slider{
    background: linear-gradient(135deg, rgba(237, 115, 69, 0.1), rgba(0, 123, 255, 0.1));
    padding-top: 40px;
}

.main-slider img{
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(237, 115, 69, 0.1), rgba(0, 123, 255, 0.1));
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.discount-badge {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 24px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(237, 115, 69, 0.3);
}

.cta-button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    background-color: #0069d9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Timer */
.timer {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timer-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.timer-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-block {
    text-align: center;
}

.timer-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(237, 115, 69, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 70px;
}

.timer-label {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Products */
.products {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 420px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-right: 10px;
}

.old-price {
    font-size: 16px;
    color: #777;
    text-decoration: line-through;
}

.product-button {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-button:hover {
    background-color: #0069d9;
}

/* Features */
.features {
    padding: 60px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--light);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-text {
    color: #777;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-button.white {
    background-color: white;
    color: var(--secondary);
}

.cta-button.white:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 14px;
}

/* New Sections */
.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--white);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px 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 {
    border-color: var(--secondary);
    outline: none;
}

.form-submit {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 600;
}

.form-submit:hover {
    background-color: #0069d9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.contact-info{
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

.contact-info li{
    margin-bottom: 10px;
}

.contact-info a{
    text-decoration: none;
    color: var(--primary);
}

/* Enhanced Stock Progress Bar */
.stock-progress {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(237, 115, 69, 0.15);
    border: 1px solid rgba(237, 115, 69, 0.2);
    position: relative;
    overflow: hidden;
}

.stock-progress::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.progress-title {
    font-size: 22px;
    margin: 0;
    color: var(--dark);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-subtitle {
    text-align: center;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.progress-container {
    width: 100%;
    margin: 20px 0;
}

.progress-bar {
    height: 18px;
    background-color: #f8f8f8;
    border-radius: 10px;
    position: relative;
    overflow: visible;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff8c66);
    border-radius: 10px;
    position: relative;
    transition: width 0.5s ease;
    box-shadow: 0 3px 10px rgba(237, 115, 69, 0.4);
}

.progress-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    animation: pulse 2s infinite;
}

.progress-thumb {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 30px;
    height: 30px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.thumb-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    padding: 0 5px;
}

.remaining-text {
    color: var(--primary);
    font-weight: 700;
}

.progress-note {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background-color: rgba(237, 115, 69, 0.1);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-check{
    display: block;
    margin-bottom: 20px;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.2; }
    100% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 768px) {
    .progress-title {
        font-size: 18px;
    }
    .progress-subtitle {
        font-size: 16px;
    }
    .progress-bar {
        height: 14px;
    }
    .progress-thumb {
        width: 25px;
        height: 25px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .timer-container {
        gap: 10px;
    }

    .timer-value {
        font-size: 24px;
        min-width: 50px;
        padding: 8px 10px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 20px;
    }
}