/* ============================================
   GAMBINI INTERIOR DESIGN - MAIN STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary-brown: #2D2B24;
    --accent-gold: #D4B373;
    --white: #FFFFFF;
    --light-bg: #F5F5F5;
    --secondary-brown: #A89777;
    --text-dark: #1a1a1a;
}

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

/* Typography */
body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-brown);
    font-weight: 700;
}

/* Header & Navigation */
.header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    height: 200px;
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    margin-left: 1rem;
}

.language-switcher button {
    background: transparent;
    border: 2px solid var(--primary-brown);
    color: var(--primary-brown);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.language-switcher button:hover,
.language-switcher button.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45,43,36,0.95), rgba(45,43,36,0.85)), 
                url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1600&q=85');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h1 span:last-child {
    font-size: 1.8rem;
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-bg);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-brown);
}

.btn-primary:hover {
    background: #c9a661;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,179,115,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-brown);
}

/* Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-brown);
    margin-bottom: 3rem;
}

/* About Section */
.about-intro {
    padding: 5rem 2rem;
    background: var(--white);
}

.about-intro .container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro .section-subtitle {
    color: var(--accent-gold);
}

.about-intro .about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    color: #555;
    text-align: justify;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212,179,115,0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio-preview {
    padding: 5rem 2rem;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 400px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45,43,36,0.95), rgba(45,43,36,0.7), transparent);
    padding: 2rem;
    padding-bottom: 1.5rem;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 5rem 2rem;
    background: var(--primary-brown);
    color: var(--white);
}

.why-choose .section-title {
    color: var(--white);
}

.why-choose .section-subtitle {
    color: var(--accent-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: rgba(255,255,255,0.8);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--accent-gold);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--primary-brown);
    margin-bottom: 2rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .logo {
        height: 80px;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-menu li {
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .services-grid,
    .portfolio-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
[dir="rtl"] .header-container {
    direction: rtl;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}
