@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.top-nav {
    background: rgba(42, 57, 69, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.home-button {
    background: linear-gradient(135deg, #F9B233 0%, #e5a028 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(249, 178, 51, 0.2);
    position: relative;
    overflow: hidden;
    width: 50px;
    height: 50px;
    padding: 0;
}

.home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.home-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 178, 51, 0.3);
}

.home-button:hover::before {
    left: 100%;
}

.home-button i {
    font-size: 1.4rem;
}

.commande-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.commande-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.commande-header h1 {
    color: #2A3945;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.commande-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.commande-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
    width: 100%;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
}

.form-group {
    flex: 1;
    min-width: 280px;
    padding: 0 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.form-group label {
    color: #F9B233 !important;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
    display: block;
}

.form-control {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    text-align: center;
    margin: 0 auto;
}

.form-control:focus {
    border-color: #F9B233;
    box-shadow: 0 0 0 4px rgba(249, 178, 51, 0.1);
    outline: none;
}

.text-danger {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #F9B233 0%, #e5a028 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(249, 178, 51, 0.2);
    width: auto;
    min-width: 200px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 178, 51, 0.3);
}

.btn-primary i {
    font-size: 1.2rem;
}

.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 1rem;
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .home-button {
        width: 45px;
        height: 45px;
    }

    .home-button i {
        font-size: 1.2rem;
    }

    .commande-header h1 {
        font-size: 2.5rem;
    }
    
    .commande-header p {
        font-size: 1.1rem;
    }
    
    .form-group {
        min-width: 100%;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
} 