:root {
--gold: #d4a373;
--dark: #2b2b2b;
--white: #ffffff;
--light: #ffffff;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { 
font-family: 'Playfair Display', serif; 
background: var(--light); 
color: var(--dark); 
line-height: 1.6; 
overflow-x: hidden;
width: 100%;
}
h1, h2, h3 { font-family: 'Cinzel', serif; }

/* Header ثابت */
header {
position: fixed;
top: 0; left: 0; right: 0;
height: 90px;
background: var(--white);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5%;
z-index: 1000;
box-shadow: 0 2px 20px rgba(0,0,0,0.1);
width: 100%;
}
.header-logo img { height: 60px; transition: 0.3s; }
.header-logo img:hover { transform: scale(1.05); }

/* Hamburger زر مربع */
.hamburger {
position: relative;
width: 60px; height: 60px;
background: var(--gold);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: 0.4s;
z-index: 1001;
margin: 0;
}
.hamburger span, 
.hamburger span::before, 
.hamburger span::after {
width: 28px; height: 3px; background: white; display: block; position: absolute; border-radius: 3px; transition: 0.4s;
}
.hamburger span::before { content:''; top: -10px; }
.hamburger span::after { content:''; top: 10px; }
.hamburger.active span { background: transparent; }
.hamburger.active span::before { transform: rotate(45deg); top: 0; }
.hamburger.active span::after { transform: rotate(-45deg); top: 0; }

/* Sidebar محسّن */
.sidebar {
position: fixed;
top: 0; right: -380px;
width: 380px;
height: 100vh;
background: linear-gradient(to bottom, var(--white), #f9f9f9);
color: var(--dark);
transition: right 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
z-index: 999;
box-shadow: -10px 0 30px rgba(0,0,0,0.15);
padding: 30px 0;
overflow-y: auto;
}
.sidebar.active { right: 0; }
.sidebar-logo { 
text-align: center; 
margin-bottom: 50px; 
padding: 0 30px;
border-bottom: 2px solid var(--gold);
padding-bottom: 30px;
}
.sidebar-logo img { height: 90px; }
.main-item { 
border-bottom: 1px solid #eee;
transition: all 0.3s ease;
}
.main-item:hover {
background: rgba(212, 163, 115, 0.05);
}
.main-item a {
padding: 20px 30px;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--dark);
text-decoration: none;
font-size: 1.2rem;
transition: 0.3s;
}
.main-item a:hover { 
background: var(--light); 
color: var(--gold);
padding-left: 35px;
}
.main-item i { 
transition: 0.3s; 
color: var(--gold);
}
.main-item.active i { transform: rotate(180deg); }
.sub-items {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease;
background: #fdfdfd;
}
.sub-items.active { max-height: 600px; }
.sub-items a {
padding: 15px 50px;
display: block;
color: #555;
text-decoration: none;
transition: 0.3s;
position: relative;
}
.sub-items a:hover { 
color: var(--gold); 
padding-left: 60px; 
background: #f5f5f5;
}
.sub-items a::before {
content: "•";
position: absolute;
left: 35px;
color: var(--gold);
opacity: 0;
transition: opacity 0.3s;
}
.sub-items a:hover::before {
opacity: 1;
}

/* Gold Separator */
.gold-separator {
height: 3px;
background: linear-gradient(to right, transparent, var(--gold), transparent);
margin: 20px auto; /* Reduced margin */
width: 80%;
box-shadow: 0 0 15px rgba(212, 163, 115, 0.5);
}

/* Section عام */
section { 
padding: 60px 5% 40px; /* Reduced padding */
text-align: center; 
width: 100%;
max-width: 100%;
overflow-x: hidden;
}
.section-title {
font-size: 3.5rem;
margin-bottom: 40px;
color: var(--dark);
position: relative;
word-wrap: break-word;
}
.section-title::after {
content: ''; width: 120px; height: 3px; background: var(--gold);
position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
}

/* Section Description */
.section-description {
max-width: 800px;
margin: 0 auto 60px;
font-size: 1.2rem;
line-height: 1.8;
color: #555;
}

/* Swiper محسّن */
.swiper-container {
position: relative;
margin-bottom: 40px; /* Reduced margin */
width: 100%;
max-width: 100%;
overflow: hidden;
}
.swiper { 
height: auto;
border-radius: 20px; 
overflow: hidden; 
box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
margin-bottom: 20px;
width: 100%;
cursor: grab;
}
.swiper:active {
cursor: grabbing;
}
.swiper-slide {
display: flex;
flex-direction: column;
background: var(--white);
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 100%;
}
.swiper-slide:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.swiper-slide img {
width: 100%;
height: 350px;
object-fit: cover;
display: block;
}
.slide-info {
padding: 30px;
text-align: left;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.slide-info h3 {
font-size: 2rem;
margin-bottom: 15px;
font-family: 'Cinzel', serif;
color: var(--dark);
}
.slide-info p {
font-size: 1rem;
color: #666;
margin-bottom: 25px;
flex-grow: 1;
}
.slide-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
}
.slide-price {
font-size: 1.8rem;
font-weight: bold;
color: var(--gold);
}
.slide-button {
background: var(--gold);
color: var(--white);
padding: 12px 25px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
display: inline-block;
white-space: nowrap;
}
.slide-button:hover {
background: var(--dark);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Custom Numbered Pagination for Sliders */
.swiper-pagination {
position: absolute !important;
top: -60px !important;
left: 50% !important;
transform: translateX(-50%) !important;
width: auto !important;
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
z-index: 10;
}
.swiper-pagination-bullet { 
background: transparent; 
border: 2px solid var(--gold);
color: var(--gold);
opacity: 0.7; 
width: 50px; 
height: 50px;
margin: 0 !important;
border-radius: 50%;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.4rem; /* Adjusted for numbers */
font-family: 'Cinzel', serif;
cursor: pointer;
line-height: 1;
}
.swiper-pagination-bullet-active { 
opacity: 1; 
background: var(--gold); 
color: var(--white);
transform: scale(1.1);
box-shadow: 0 0 20px rgba(212, 163, 115, 0.8);
}

/* Before / After مقارنة تفاعلية */
.comparison-container {
position: relative;
margin-bottom: 40px; /* Reduced margin */
width: 100%;
max-width: 100%;
overflow: hidden;
}
.comparison-swiper {
height: auto;
border-radius: 20px; 
overflow: hidden; 
box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
margin-bottom: 20px;
width: 100%;
cursor: grab;
}
.comparison-swiper:active {
cursor: grabbing;
}
.comparison-slide {
position: relative;
width: 100%;
height: 500px;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(0,0,0,0.2);
--position: 50%;
max-width: 100%;
}
.comparison-slide img { 
width: 100%; 
height: 100%; 
object-fit: cover; 
position: absolute; 
top: 0; left: 0; 
}
.before-image {
clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
transition: clip-path 0.2s;
}
.slider-line {
position: absolute;
left: var(--position);
top: 0;
width: 5px;
height: 100%;
background: var(--gold);
transform: translateX(-50%);
pointer-events: none;
box-shadow: 0 0 15px rgba(212,163,115,0.8);
}
.slider-button {
position: absolute;
left: var(--position);
top: 50%;
transform: translate(-50%, -50%);
width: 80px; height: 80px;
background: var(--gold);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 38px;
font-weight: bold;
box-shadow: 0 0 30px rgba(0,0,0,0.5);
z-index: 10;
cursor: ew-resize;
user-select: none;
}

/* Footer محسّن */
footer {
background: linear-gradient(to bottom, var(--dark), #1a1a1a);
color: white;
padding: 100px 8% 40px;
position: relative;
width: 100%;
}
footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 60px;
max-width: 1400px;
margin: 0 auto 60px;
}
.footer-item {
position: relative;
padding: 20px;
background: rgba(255, 255, 255, 0.03);
border-radius: 15px;
transition: all 0.3s ease;
}
.footer-item:hover {
background: rgba(255, 255, 255, 0.08);
transform: translateY(-5px);
}
.footer-item h3 {
font-size: 1.8rem;
margin-bottom: 30px;
color: var(--gold);
position: relative;
padding-bottom: 15px;
}
.footer-item h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background: var(--gold);
}
.footer-item p, .footer-item a {
color: #ddd;
margin-bottom: 15px;
display: flex;
align-items: center;
transition: all 0.3s ease;
}
.footer-item a:hover {
color: var(--gold);
transform: translateX(5px);
}
.footer-item i { 
color: var(--gold); 
margin-right: 15px; 
width: 20px;
font-size: 1.1rem;
}
.social-icons {
display: flex;
justify-content: center;
margin-top: 20px;
flex-wrap: nowrap;
}
.social-icons a {
color: var(--gold);
font-size: 2rem;
margin: 0 15px;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.05);
flex-shrink: 0;
}
.social-icons a:hover { 
transform: translateY(-8px);
background: rgba(212, 163, 115, 0.2);
}
.copyright {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(212, 163, 115, 0.3);
color: #aaa;
font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
.section-title { font-size: 3rem; }
}

@media (max-width: 992px) {
.sidebar { width: 100%; right: -100%; }
section { padding: 50px 4% 30px; }
.section-title { font-size: 2.8rem; }
.swiper-slide img { height: 280px; }
.comparison-slide { height: 400px; }
.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
section { padding: 40px 3% 20px; }
.section-title { font-size: 2.5rem; }
.swiper-slide img { height: 220px; }
.slide-info { padding: 20px; }
.slide-info h3 { font-size: 1.5rem; }
.slide-price { font-size: 1.5rem; }
.comparison-slide { height: 350px; }
.footer-grid { grid-template-columns: 1fr; gap: 30px; }
.footer-item { padding: 15px; }
.social-icons a { margin: 0 10px; }
}

@media (max-width: 576px) {
.header-logo img { height: 45px; }
.hamburger { width: 50px; height: 50px; }
.hamburger span, .hamburger span::before, .hamburger span::after { width: 24px; }
.section-title { font-size: 1.6rem; word-break: break-word; padding: 0 10px; }
.swiper-slide img { height: 180px; }
.slide-footer { flex-direction: column; align-items: flex-start; gap: 15px; }
.comparison-slide { height: 280px; }
.section-description { font-size: 1rem; }
.social-icons a {
margin: 0 5px;
width: 40px;
height: 40px;
font-size: 1.5rem;
}
}

@media (max-width: 480px) {
.section-title { font-size: 1.4rem; }
}