/* ====================================
   نمط فاخر ملكي احترافي
   مؤسسة الاعمار والاسكان للمقاولات والتصميم الداخلي
   ==================================== */

:root {
    --gold-primary: #C9A961;
    --gold-secondary: #A0826D;
    --bronze: #8B6F47;
    --dark-luxury: #1a1a1a;
    --charcoal: #2C2C2C;
    --cream: #F8F6F3;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #F8F6F3 0%, #ffffff 50%, #F8F6F3 100%);
    color: #2C2C2C;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* خلفية فاخرة متحركة */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(160, 130, 109, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 111, 71, 0.02) 0%, transparent 50%);
    z-index: -1;
    animation: luxuryFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes luxuryFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ====================================
   Header - تصميم ملكي فاخر
   ==================================== */

header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2C2C2C 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    animation: luxuryGradient 15s ease infinite;
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 60px rgba(201, 169, 97, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes luxuryGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #C9A961 0%, #A0826D 50%, #8B6F47 100%);
    background-size: 200% 200%;
    animation: goldShine 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
    filter: drop-shadow(0 2px 4px rgba(201, 169, 97, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes goldShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo i {
    font-size: 36px;
    color: #C9A961;
    filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    padding: 8px 16px;
    letter-spacing: 0.5px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A961, #A0826D);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #C9A961;
    text-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

nav a:hover::before {
    width: 100%;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.contact-info a:hover {
    background: rgba(201, 169, 97, 0.2);
    color: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.contact-info a i {
    transition: transform 0.3s ease;
}

.contact-info a:hover i {
    transform: rotate(12deg) scale(1.1);
}

/* ====================================
   Page Header - رأس الصفحة الفاخر
   ==================================== */

.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2C2C2C 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    animation: luxuryGradient 15s ease infinite;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(160, 130, 109, 0.1) 0%, transparent 50%);
    animation: headerShine 10s ease-in-out infinite;
}

@keyframes headerShine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.page-header h1 {
    font-size: 52px;
    margin-bottom: 15px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #C9A961 50%, #ffffff 100%);
    background-size: 200% 200%;
    animation: goldShine 4s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ====================================
   الأقسام - Sections
   ==================================== */

section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    font-weight: 900;
    background: linear-gradient(135deg, #2C2C2C 0%, #C9A961 50%, #2C2C2C 100%);
    background-size: 200% 200%;
    animation: goldShine 4s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #C9A961, transparent);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ====================================
   البطاقات - Cards
   ==================================== */

.project-card,
.service-card,
.rental-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.project-card::before,
.service-card::before,
.rental-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C9A961, #A0826D, #8B6F47);
    background-size: 200% 100%;
    animation: borderShine 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

@keyframes borderShine {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.project-card:hover::before,
.service-card:hover::before,
.rental-card:hover::before {
    opacity: 1;
}

.project-card:hover,
.service-card:hover,
.rental-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image,
.service-card:hover .card-image,
.rental-card:hover .card-image {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2C2C2C;
    font-weight: 800;
}

.card-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ====================================
   الأزرار الفاخرة - Luxury Buttons
   ==================================== */

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #C9A961 0%, #A0826D 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #C9A961;
    border: 2px solid #C9A961;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

.btn-secondary::before {
    background: linear-gradient(135deg, #C9A961 0%, #A0826D 100%);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #C9A961 0%, #A0826D 100%);
    color: white;
    border-color: transparent;
}

/* ====================================
   Footer - تذييل فاخر
   ==================================== */

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2C2C2C 100%);
    color: white;
    padding: 60px 20px 20px;
    margin-top: 80px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    border-top: 2px solid rgba(201, 169, 97, 0.3);
}

footer h3 {
    color: #C9A961;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 800;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #C9A961;
    transform: translateX(-5px);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 50%;
    margin: 0 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

footer .social-links a:hover {
    background: linear-gradient(135deg, #C9A961, #A0826D);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 768px) {
    .logo {
        font-size: 22px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

/* ====================================
   Forms - نماذج فاخرة احترافية
   ==================================== */

.form-container {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #C9A961, #A0826D, #8B6F47);
    background-size: 200% 100%;
    animation: borderShine 3s ease infinite;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #2C2C2C;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(201, 169, 97, 0.2);
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(248, 246, 243, 0.5);
    font-family: 'Tajawal', sans-serif;
    color: #2C2C2C;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #C9A961;
    background: white;
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1), 0 4px 15px rgba(201, 169, 97, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 35px;
}

.success-message {
    background: linear-gradient(135deg, #C9A961 0%, #A0826D 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
    animation: slideInDown 0.5s ease;
}

.error-message {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   Job Cards & Special Elements
   ==================================== */

.job-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C9A961, #A0826D, #8B6F47);
    background-size: 200% 100%;
    animation: borderShine 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.15);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card h3 {
    color: #2C2C2C;
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 800;
}

.job-card .job-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.job-card .job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 15px;
}

.job-card .job-meta i {
    color: #C9A961;
}

/* ====================================
   Swiper Slider Enhancements
   ==================================== */

.swiper-button-next,
.swiper-button-prev {
    color: #C9A961;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, #C9A961, #A0826D);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #C9A961;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(135deg, #C9A961, #A0826D);
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.5);
}

/* ====================================
   Info Cards & Stats
   ==================================== */

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #F8F6F3 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(201, 169, 97, 0.1);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.3);
}

.info-card i {
    font-size: 50px;
    background: linear-gradient(135deg, #C9A961, #A0826D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.info-card h3 {
    color: #2C2C2C;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 800;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}
