:root {
    --color-dark: #1a1a1a;        /* خلفية داكنة */
    --color-text-light: #eec682;  /* نص أبيض */
    --color-accent: #d3ba67;      /* لون ذهبي/بيج كلاسيكي للمسة الفخامة */
    --color-secondary-dark: #2c2c2c; /* لون داكن ثانوي */
    --font-serif: 'Georgia', serif; /* Replace Times New Roman */
    --font-serif: 'Stencil Std', serif /* Replace Arial */
}

/* إعادة تعيين الأنماط الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-light);
    background-color: var(--color-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--color-accent);
    margin-bottom: 0.5em;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--color-text-light);
}

/* شريط التنقل (Header/Nav) */
header {
    background-color: rgba(0, 0, 0, 0.7); /* شفافية بسيطة على الخلفية الداكنة */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid var(--color-secondary-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img {
    display: block;
    max-height: 55px; /* adjust height as needed */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-transform: uppercase;
    font-size: 01.2em;
}

/* الأزرار (Buttons) */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    text-transform: uppercase;
    border: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e0d0a0;
    color: var(--color-dark);
}

/* أقسام المحتوى العامة */
.content-section {
    padding: 80px 5%;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.dark-bg {
    background-color: var(--color-secondary-dark);
}

/* شرائح الصور المتحركة (Hero Slider) */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none; /* يتم التحكم بها بواسطة JavaScript */
    transition: opacity 1.5s ease-in-out; /* تأثير الشفافية والانتقال */
    opacity: 0; /* تبدأ مخفية */
}

.slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1; /* تظهر بالكامل */
}

.hero-content {
    background-color: rgba(26, 26, 26, 0.6); /* خلفية نصف شفافة للنص */
    padding: 30px 50px;
    text-align: center;
    border: 1px solid var(--color-accent); /* إطار كلاسيكي */
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5em;
    color: var(--color-text-light);
}

/* قسم الخدمات */
.service-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    flex-basis: 30%;
    padding: 30px;
    border: 1px solid var(--color-secondary-dark);
    background-color: var(--color-secondary-dark);
    text-align: left;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.service-item h3 {
    font-size: 1.8em;
}

/* معرض الصور */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-accent);
    transition: opacity 0.3s;
}

.gallery-item:hover {
    opacity: 0.8;
}

/* قسم التواصل (Contact) */
address {
    font-style: normal;
    font-size: 1.8em;
    margin-top: 20px;
    color: var(--color-text-light);
}

/* التذييل (Footer) */
footer {
    background-color: #0d0d0d;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 1px solid var(--color-secondary-dark);
}

/* --- جدول الأسعار (Price List Styling) --- */

.price-list-container {
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 30px;
    border: 1px solid var(--color-accent);
    /* إطار ذهبي كلاسيكي (Classic golden border) */
}

.price-list-container h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--color-accent);
}

.price-table {
    display: flex;
    flex-direction: column;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed var(--color-secondary-dark);
    font-size: 1.1em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.price-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.6s ease-out forwards;
}

.price-item.animate-out {
    opacity: 0;
    transform: translateY(20px);
    animation: slideDown 0.6s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.price-item:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: bold;
    color: var(--color-text-light);
}

.price {
    color: var(--color-accent);
    font-family: var(--font-serif);
    font-weight: bold;
}

.accent-price {
    color: #ff4d4d;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: -1px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
}

.nav-menu.active ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
}

.nav-menu.active ul li {
    margin: 10px 0;
    text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    /* Additional mobile styles */
    header {
        padding: 15px 2%;
    }
    
    .content-section {
        padding: 60px 5%;
    }
    
    .content-section h2 {
        font-size: 1.7em;
    }
    
    .hero-slider {
        height: 60vh;
    }
    
    .hero-content {
        padding: 20px 30px;
    }
    
    .hero-content h1 {
        font-size: 2.1em;
    }
    
    .hero-content p {
        font-size: 1.2em;
    }
    
    .service-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-item {
        flex-basis: 100%;
        padding: 20px;
    }
    
    .service-item h3 {
        font-size: 1.5em;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .price-list-container {
        padding: 20px;
        margin-top: 40px;
    }
    
    .price-list-container h3 {
        font-size: 1.5em;
    }
    
    .price-item {
        font-size: 1em;
        padding: 10px 0;
    }
    
    address {
        font-size: 1.4em;
    }
}


