/* Modern Stunning Design for TikTok Ads - Moroccan Market */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #FF1493;
    --secondary: #8B00FF;
    --accent: #FFD700;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('backgroundpic1.png') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--dark);
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
}

/* Fix background for mobile devices */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
    }
    
    /* Alternative: Si l'image est toujours floue, utilisez contain */
    @supports (-webkit-touch-callout: none) {
        /* iOS Safari */
        body {
            background-size: contain;
            background-position: top center;
        }
    }
}

/* Pour les très petits écrans */
@media (max-width: 576px) {
    body {
        background-size: auto 100%;
        background-position: center top;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brand Header - Sexy Transparent Style */
.brand-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 30px 0;
}

.brand-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.brand-name {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 15px;
    background: linear-gradient(45deg, #FFD700 0%, #FFF 25%, #FFD700 50%, #FFF 75%, #FFD700 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin: 0;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.4))
            drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6))
                drop-shadow(0 0 40px rgba(255, 215, 0, 0.4))
                drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8))
                drop-shadow(0 0 60px rgba(255, 215, 0, 0.6))
                drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    }
}

.brand-name::before {
    content: 'WIDYANE';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    background-size: 50% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.brand-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 10px 0 0 0;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    margin-top: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    animation: pulse-bg 3s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #fff, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Product Section */
.product-section {
    padding: 100px 0;
    background: transparent;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-image-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.product-img {
    width: 100%;
    max-width: 250px;
    height: 300px;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: #764ba2;
    margin-bottom: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

.qty-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    border: 2px solid #667eea;
    border-radius: 10px;
    background: #f8f9ff;
}

.add-to-selection {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.add-to-selection:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Cart Summary */
.cart-summary {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    min-width: 320px;
    max-width: 400px;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.3s ease;
}

.cart-summary.active {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.cart-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.cart-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cart-items {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-name {
    font-weight: 600;
    color: var(--dark);
}

.cart-item-qty {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 700;
    color: #764ba2;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 2px solid #f0f0f0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
}

.total-price {
    color: #764ba2;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: transparent;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card cite {
    font-weight: 600;
    color: #764ba2;
}

/* Checkout Page */
.checkout-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2000;
    overflow-y: auto;
    display: none;
    padding: 40px 20px;
}

.checkout-page.active {
    display: block;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.back-btn {
    background: white;
    color: var(--dark);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.checkout-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.order-summary {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.order-summary h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item-name {
    font-weight: 600;
    color: var(--dark);
}

.summary-item-details {
    color: #666;
    font-size: 0.9rem;
}

.summary-item-price {
    font-weight: 700;
    color: #764ba2;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1.1rem;
}

.free-badge {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

.total-row {
    border-top: 2px solid #f0f0f0;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.total-row span:last-child {
    color: #764ba2;
}

.customer-form {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.customer-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-order-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark);
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 10px;
}

.submit-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.success-modal.active {
    display: flex;
}

.success-content {
    background: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease 0.3s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.success-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.close-success {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive Design - Mobile Optimized */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Brand Header */
    .brand-header {
        padding: 15px 0;
    }

    .brand-container {
        padding: 0 20px;
    }

    .brand-name {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .brand-tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    /* Hero Section */
    .hero-section {
        height: 80vh;
        margin-top: 80px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 20px;
    }

    /* Product Section */
    .product-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .product-card {
        padding: 20px;
        border-radius: 20px;
    }

    .product-img {
        max-width: 200px;
        height: 250px;
    }

    .product-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .product-price {
        font-size: 1.6rem;
    }

    .qty-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .qty-input {
        width: 50px;
        height: 35px;
        font-size: 1.1rem;
    }

    .add-to-selection {
        padding: 12px;
        font-size: 0.95rem;
    }

    /* Cart Summary */
    .cart-summary {
        bottom: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        padding: 20px;
        border-radius: 20px;
    }

    .cart-header h3 {
        font-size: 1.1rem;
    }

    .cart-count {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .cart-items {
        max-height: 150px;
    }

    .cart-item {
        padding: 8px 0;
    }

    .cart-item-name {
        font-size: 0.95rem;
    }

    .cart-item-qty {
        font-size: 0.85rem;
    }

    .cart-item-price {
        font-size: 0.95rem;
    }

    .cart-total {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .checkout-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .benefit-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .benefit-card h3 {
        font-size: 1.3rem;
    }

    .benefit-card p {
        font-size: 0.95rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px;
        border-radius: 20px;
    }

    .stars {
        font-size: 1.2rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    /* Checkout Page */
    .checkout-page {
        padding: 20px 10px;
    }

    .back-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .checkout-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .order-summary {
        padding: 20px;
        border-radius: 20px;
    }

    .order-summary h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .summary-item {
        padding: 12px 0;
    }

    .summary-item-name {
        font-size: 0.95rem;
    }

    .summary-item-details {
        font-size: 0.85rem;
    }

    .summary-item-price {
        font-size: 0.95rem;
    }

    .summary-row {
        font-size: 0.95rem;
    }

    .free-badge {
        padding: 4px 12px;
        font-size: 0.85rem;
    }

    .total-row {
        font-size: 1.2rem;
    }

    .customer-form {
        padding: 20px;
        border-radius: 20px;
    }

    .customer-form h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .submit-order-btn {
        padding: 15px;
        font-size: 1rem;
        border-radius: 12px;
    }

    /* Success Modal */
    .success-content {
        padding: 30px 20px;
        border-radius: 20px;
        max-width: 90%;
        margin: 0 15px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .success-content h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .success-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .close-success {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 576px) {
    .brand-name {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .product-card {
        padding: 15px;
    }

    .product-img {
        max-width: 180px;
        height: 220px;
    }

    .checkout-title {
        font-size: 1.5rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .checkout-page {
        padding: 20px 10px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}
