

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* header */
header {
    background: #2c1810;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 55px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    color: #f5e6d3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d4a373;
}

.menu-toggle {
    display: none;
    color: #f5e6d3;
    font-size: 24px;
    cursor: pointer;
}

/* hero */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    width: 100%;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.btn {
    display: inline-block;
    background: #d4a373;
    color: #2c1810;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.05rem;
}

.btn:hover {
    background: #c4956a;
    transform: scale(1.05);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* sections */
section {
    padding: 70px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c1810;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4a373;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 35px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid #d4a373;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-card i {
    font-size: 48px;
    color: #d4a373;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: #2c1810;
}

/* portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid #fff;
}

.portfolio-item:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border-color: #d4a373;
}

/* contact */
.contact-info {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    background: #f5ede8;
    padding: 20px;
    border-radius: 15px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info i {
    color: #d4a373;
    width: 30px;
}

/* ======== قسم المنتجات ======== */
.products-section {
    background: #f5ede8;
    padding: 12px 15px;
    border-radius: 10px;
    margin: 5px 0;
}

.products-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c1810;
    margin-bottom: 10px;
    text-align: center;
}

.products-label i {
    color: #d4a373;
    margin-left: 6px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.product-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 4px 8px;
    border-radius: 5px;
    border: 1.5px solid #e0d6ce;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 28px;
}

.product-checkbox:hover {
    border-color: #d4a373;
    background: #fcfaf9;
}

.product-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    cursor: pointer;
    accent-color: #d4a373;
    flex-shrink: 0;
    margin: 0;
}

.product-checkbox input[type="checkbox"]:checked + span {
    color: #2c1810;
    font-weight: 600;
}

.product-checkbox:has(input:checked) {
    border-color: #d4a373;
    background: #f5ede8;
}

.product-checkbox span {
    font-size: 0.75rem;
    color: #333;
    line-height: 1.2;
    flex: 1;
    padding: 1px 0;
}

/* ======== استجابة المنتجات ======== */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
   
    .product-checkbox {
        padding: 5px 10px;
        min-height: 30px;
    }
   
    .product-checkbox input[type="checkbox"] {
        width: 15px;
        height: 15px;
        min-width: 15px;
        min-height: 15px;
    }
   
    .product-checkbox span {
        font-size: 0.78rem;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
   
    .product-checkbox {
        padding: 6px 10px;
        min-height: 32px;
    }
   
    .product-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
    }
   
    .product-checkbox span {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
   
    .product-checkbox {
        padding: 6px 12px;
        min-height: 34px;
    }
   
    .product-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }
   
    .product-checkbox span {
        font-size: 0.85rem;
    }
}

/* ======== تنسيق جميع حقول الإدخال (لابتوب + جوال) ======== */

/* تنسيق عام لجميع حقول الإدخال */
.contact form input[type="text"],
.contact form input[type="email"],
.contact form input[type="tel"],
.contact form textarea,
.contact form select:not(.country-phone-group select) {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0d6ce;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background: #fcfaf9;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* تأثير التركيز (عند النقر على الحقل) */
.contact form input[type="text"]:focus,
.contact form input[type="email"]:focus,
.contact form input[type="tel"]:focus,
.contact form textarea:focus,
.contact form select:not(.country-phone-group select):focus {
    border-color: #d4a373;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
    background: #ffffff;
}

/* تنسيق خاص للـ textarea (الرسالة) */
.contact form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* تنسيق الـ placeholder */
.contact form input::placeholder,
.contact form textarea::placeholder {
    color: #999;
    font-size: 0.95rem;
}

/* تنسيق القوائم المنسدلة (الولاية، الدولة) */
.contact form select:not(.country-phone-group select) {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 40px;
    cursor: pointer;
}

/* ======== تنسيق حقل الدولة ورقم الجوال ======== */
.country-phone-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.country-phone-group select {
    flex: 0 0 180px;
    padding: 14px 10px;
    border: 2px solid #e0d6ce;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background: #fcfaf9;
    color: #333;
    cursor: pointer;
    direction: ltr;
}

.country-phone-group select:focus {
    border-color: #d4a373;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.country-phone-group select option {
    padding: 8px;
    direction: ltr;
}

.country-phone-group input[type="tel"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e0d6ce;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background: #fcfaf9;
    direction: ltr;
}

.country-phone-group input[type="tel"]:focus {
    border-color: #d4a373;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

/* ======== روابط التواصل الاجتماعي ======== */
.social {
    text-align: center;
    margin-top: 20px;
}

.social a {
    color: #2c1810;
    background: #eee;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 8px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none;
    font-size: 1.2rem;
}

.social a:hover {
    background: #d4a373;
    color: #fff;
    transform: translateY(-3px);
}

/* footer */
footer {
    background: #2c1810;
    color: #c4b5a8;
    text-align: center;
    padding: 25px 0;
    font-size: 0.95rem;
}

/* ======== تحسينات للجوال ======== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        background: #2c1810;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid #4a3228;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li {
        margin: 12px 0;
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .hero-content p {
        font-size: 1.15rem;
    }
    h2 {
        font-size: 2rem;
    }
    .contact-info {
        font-size: 1rem;
        padding: 15px;
    }

    .contact form input[type="text"],
    .contact form input[type="email"],
    .contact form input[type="tel"],
    .contact form textarea,
    .contact form select:not(.country-phone-group select) {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .country-phone-group {
        flex-direction: column;
        gap: 10px;
    }

    .country-phone-group select {
        flex: 1;
        width: 100%;
        padding: 12px 10px;
    }

    .country-phone-group input[type="tel"] {
        width: 100%;
        padding: 12px 14px;
    }
}



