/* ==========================================================================
Jeddah Interior Studio - Luxury Main Stylesheet
Color Palette: Primary Gold (#C8A45D), Secondary Dark (#111111), Light (#F7F7F7)
Typography: Cairo (Google Fonts)
========================================================================== */

:root {
--primary-gold: #C8A45D;
--primary-gold-hover: #b38f48;
--secondary-dark: #111111;
--dark-surface: #1a1a1a;
--light-bg: #F7F7F7;
--white: #FFFFFF;
--text-main: #222222;
--text-muted: #666666;
--border-glass: rgba(200, 164, 93, 0.25);
--shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
--shadow-luxury: 0 20px 40px rgba(0,0,0,0.3);
--font-family: 'Cairo', sans-serif;
--transition: all 0.3s ease-in-out;
}

/* Reset & Base */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
direction: rtl;
font-family: var(--font-family);
}

body {
background-color: #0d0d0d;
color: #e5e5e5;
line-height: 1.7;
overflow-x: hidden;
}

a {
color: inherit;
text-decoration: none;
transition: var(--transition);
}

ul {
list-style: none;
}

img {
max-width: 100%;
height: auto;
display: block;
}

/* Utility Layouts */
.container {
width: 90%;
max-width: 1240px;
margin: 0 auto;
}

.max-w-800 {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.align-center { align-items: center; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.gold-text { color: var(--primary-gold); }

.section { padding: 6rem 0; }
.bg-light { background-color: var(--light-bg); color: var(--text-main); }
.bg-dark { background-color: var(--secondary-dark); }

/* Typography & Headings */
.section-subtitle {
display: inline-block;
color: var(--primary-gold);
font-weight: 700;
font-size: 0.95rem;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 0.5rem;
}

.section-title {
font-size: 2.2rem;
font-weight: 800;
margin-bottom: 1rem;
line-height: 1.3;
}

.section-desc {
color: var(--text-muted);
font-size: 1.05rem;
max-width: 650px;
margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
display: inline-block;
padding: 0.85rem 2rem;
font-weight: 700;
font-size: 0.95rem;
border-radius: 50px;
cursor: pointer;
border: 2px solid transparent;
transition: var(--transition);
text-align: center;
}

.btn-gold {
background-color: var(--primary-gold);
color: var(--secondary-dark);
}

.btn-gold:hover {
background-color: var(--primary-gold-hover);
transform: translateY(-3px);
box-shadow: var(--shadow-luxury);
}

.btn-outline {
background: transparent;
border-color: var(--white);
color: var(--white);
}

.btn-outline:hover {
background: var(--white);
color: var(--secondary-dark);
}

.btn-whatsapp {
background-color: #25D366;
color: #fff;
}

.btn-whatsapp:hover {
background-color: #1eb956;
}

.w-100 { width: 100%; }

/* Glassmorphic Cards */
.glass-card {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--border-glass);
border-radius: 16px;
padding: 2rem;
transition: var(--transition);
}

.glass-card:hover {
transform: translateY(-5px);
border-color: var(--primary-gold);
box-shadow: var(--shadow-luxury);
}

.bg-light .glass-card {
background: var(--white);
color: var(--text-main);
border: 1px solid #e2e2e2;
}

/* Top Bar */
.top-bar {
background-color: #080808;
color: #a0a0a0;
font-size: 0.85rem;
padding: 0.5rem 0;
border-bottom: 1px solid #1a1a1a;
}

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

.top-bar-info span {
margin-left: 1.5rem;
}

/* Header & Navigation */
.site-header {
position: fixed;
top: 35px;
left: 0;
width: 100%;
z-index: 1000;
transition: var(--transition);
}

.site-header.sticky-active {
top: 0;
background: rgba(17, 17, 17, 0.95);
backdrop-filter: blur(10px);
padding: 0.75rem 0;
border-bottom: 1px solid var(--border-glass);
box-shadow: var(--shadow-soft);
}

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

.brand-logo {
display: flex;
flex-direction: column;
}

.logo-text {
font-size: 1.5rem;
font-weight: 900;
color: var(--white);
letter-spacing: -0.5px;
}

.logo-sub {
font-size: 0.65rem;
color: var(--primary-gold);
letter-spacing: 0.5px;
}

.nav-list {
display: flex;
gap: 2rem;
}

.nav-list a {
color: var(--white);
font-weight: 600;
font-size: 0.95rem;
position: relative;
padding: 0.5rem 0;
}

.nav-list a::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 0%;
height: 2px;
background-color: var(--primary-gold);
transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
width: 100%;
}

.mobile-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
flex-direction: column;
gap: 5px;
}

.mobile-toggle span {
width: 25px;
height: 3px;
background-color: var(--white);
border-radius: 2px;
}

/* Hero Section */
.hero-section {
position: relative;
height: 100vh;
min-height: 650px;
overflow: hidden;
}

.hero-slider {
width: 100%;
height: 100%;
}

.hero-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
opacity: 0;
visibility: hidden;
transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
opacity: 1;
visibility: visible;
}

.hero-content {
max-width: 750px;
padding-top: 4rem;
}

.badge-gold {
display: inline-block;
background: rgba(200, 164, 93, 0.15);
color: var(--primary-gold);
border: 1px solid var(--border-glass);
padding: 0.4rem 1.2rem;
border-radius: 30px;
font-size: 0.85rem;
font-weight: 700;
margin-bottom: 1.5rem;
}

.hero-title {
font-size: 3.2rem;
font-weight: 900;
line-height: 1.2;
color: var(--white);
margin-bottom: 1.2rem;
}

.hero-desc {
font-size: 1.15rem;
color: #ccc;
margin-bottom: 2rem;
}

.hero-btns {
display: flex;
gap: 1rem;
}

/* Slider Controls */
.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(17,17,17,0.5);
border: 1px solid var(--border-glass);
color: var(--white);
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
font-size: 1.2rem;
z-index: 10;
transition: var(--transition);
}

.slider-btn:hover { background: var(--primary-gold); color: var(--secondary-dark); }
.prev-btn { right: 2rem; }
.next-btn { left: 2rem; }

.slider-dots {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
z-index: 10;
}

.dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(255,255,255,0.4);
cursor: pointer;
transition: var(--transition);
}

.dot.active {
background: var(--primary-gold);
width: 30px;
border-radius: 10px;
}

/* About Preview */
.about-images-wrapper {
position: relative;
}

.main-img { overflow: hidden; border-radius: 20px; }
.sub-img {
position: absolute;
bottom: -30px;
left: -30px;
width: 60%;
border-radius: 20px;
}

.experience-badge {
position: absolute;
top: 20px;
right: -20px;
background: var(--primary-gold);
color: var(--secondary-dark);
padding: 1.2rem;
border-radius: 16px;
text-align: center;
box-shadow: var(--shadow-luxury);
}

.exp-num { font-size: 2rem; font-weight: 900; display: block; line-height: 1; }
.exp-text { font-size: 0.75rem; font-weight: 700; }

.check-list { margin: 1.5rem 0; }
.check-list li {
position: relative;
padding-right: 2rem;
margin-bottom: 0.8rem;
font-weight: 600;
}

.check-list li::before {
content: '✓';
position: absolute;
right: 0;
color: var(--primary-gold);
font-weight: 900;
}

/* Stats Section */
.stats-section {
background: linear-gradient(135deg, #111, #1e1e1e);
padding: 4rem 0;
border-top: 1px solid var(--border-glass);
border-bottom: 1px solid var(--border-glass);
}

.stat-card { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 900; color: var(--primary-gold); line-height: 1; }
.stat-label { font-size: 0.95rem; color: #aaa; margin-top: 0.5rem; }

/* Services Grid */
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.8rem; }
.service-desc { color: #aaa; font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-link { color: var(--primary-gold); font-weight: 700; font-size: 0.9rem; }

/* Project Cards */
.project-card {
position: relative;
border-radius: 16px;
overflow: hidden;
height: 380px;
}

.project-img { width: 100%; height: 100%; position: relative; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }

.project-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(17,17,17,0.95), transparent);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 2rem;
opacity: 0;
transition: var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover img { transform: scale(1.1); }

.project-category { color: var(--primary-gold); font-size: 0.85rem; font-weight: 700; }
.project-title { font-size: 1.25rem; font-weight: 800; color: var(--white); margin: 0.3rem 0 1rem 0; }

/* Process Section */
.process-card {
position: relative;
background: rgba(255,255,255,0.02);
border: 1px solid #222;
padding: 2rem;
border-radius: 16px;
}

.process-num {
font-size: 2.5rem;
font-weight: 900;
color: var(--primary-gold);
opacity: 0.3;
margin-bottom: 0.5rem;
}

.process-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.process-desc { color: #888; font-size: 0.9rem; }

/* Testimonials */
.stars { color: var(--primary-gold); font-size: 1.2rem; margin-bottom: 1rem; }
.quote { font-size: 0.95rem; font-style: italic; color: #444; margin-bottom: 1.5rem; }
.client-info strong { display: block; color: var(--text-main); font-size: 1rem; }
.client-info span { font-size: 0.85rem; color: #777; }

/* FAQ Accordion */
.faq-item {
background: rgba(255,255,255,0.03);
border: 1px solid var(--border-glass);
border-radius: 12px;
margin-bottom: 1rem;
overflow: hidden;
}

.faq-question {
width: 100%;
padding: 1.2rem 1.5rem;
text-align: right;
background: none;
border: none;
color: var(--white);
font-weight: 700;
font-size: 1.05rem;
cursor: pointer;
font-family: inherit;
display: flex;
justify-content: space-between;
align-items: center;
}

.faq-question::after {
content: '+';
color: var(--primary-gold);
font-size: 1.5rem;
}

.faq-item.active .faq-question::after { content: '-'; }

.faq-answer {
padding: 0 1.5rem 1.2rem 1.5rem;
display: none;
color: #aaa;
font-size: 0.95rem;
}

.faq-item.active .faq-answer { display: block; }

/* Banner Page */
.page-banner {
padding: 8rem 0 4rem 0;
background-size: cover;
background-position: center;
}

.banner-title { font-size: 2.8rem; font-weight: 900; color: var(--white); margin-bottom: 0.5rem; }
.breadcrumb { color: var(--primary-gold); font-weight: 600; }

/* Forms */
.form-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-control {
width: 100%;
padding: 0.85rem 1rem;
border-radius: 8px;
border: 1px solid #333;
background: #181818;
color: #fff;
font-family: inherit;
font-size: 0.95rem;
}

.form-control:focus { outline: none; border-color: var(--primary-gold); }

/* CTA Banner */
.cta-banner {
background: linear-gradient(rgba(17,17,17,0.9), rgba(17,17,17,0.9)), url('../images/hero/hero-2.jpg');
background-size: cover;
padding: 5rem 0;
border-top: 1px solid var(--border-glass);
}

.cta-title { font-size: 2.5rem; font-weight: 900; margin: 1rem 0; }
.cta-desc { color: #ccc; margin-bottom: 2rem; font-size: 1.1rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; }

/* Floating Elements */
.whatsapp-float {
position: fixed;
bottom: 30px;
right: 30px; /* Modified: Moved to the bottom-right corner */
background-color: #25D366;
color: #FFF;
border-radius: 50px;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
box-shadow: var(--shadow-luxury);
z-index: 999;
}

.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
background-color: var(--primary-gold);
color: var(--secondary-dark);
border: none;
border-radius: 50%;
width: 45px;
height: 45px;
font-size: 20px;
cursor: pointer;
display: none;
z-index: 999;
transition: var(--transition);
}

/* Footer */
.site-footer {
background-color: #080808;
padding: 5rem 0 0 0;
border-top: 1px solid #1a1a1a;
}

.footer-about { color: #888; font-size: 0.9rem; margin-top: 1rem; }
.footer-heading { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; position: relative; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #999; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-gold); padding-right: 5px; }
.footer-contact-info p { color: #999; font-size: 0.9rem; margin-bottom: 0.8rem; }

.footer-bottom {
background-color: #040404;
padding: 1.5rem 0;
margin-top: 4rem;
border-top: 1px solid #141414;
font-size: 0.85rem;
color: #666;
}