:root {
  /* Primary Theme Colors */
  --ag-color-primary: #ca8a04;        /* Glowing Amber/Gold (Signage & Lighting) */
  --ag-color-secondary: #111827;      /* Removed blue, using Dark Charcoal/Marble for contrast */
  
  /* Textures & Neutrals */
  --ag-color-wood-oak: #5c3a21;       /* Darker Wood Tone (Walnut/Dark Oak) */
  --ag-color-dark-marble: #111827;    /* Charcoal/Black Marble (Desk Accent) */
  
  /* Backgrounds & Canvas */
  --ag-color-bg-main: #fcfbf7;        /* Soft Off-White/Cream (Warm clinical walls) */
  --ag-color-bg-surface: #ffffff;     /* Clean White (Ceilings & Highlights) */
  --ag-color-mint-accent: #2dd4bf;    /* Soft Turquoise/Mint (Secondary Chair Highlight) */
  
  /* UI Components */
  --ag-radius-friendly: 0px;         /* Professional sharp corners */

  /* Mapped old variables to new ones for compatibility */
  --primary-wood: var(--ag-color-wood-oak);
  --primary-gold: var(--ag-color-primary);
  --primary-blue: var(--ag-color-secondary);
  --secondary-mint: var(--ag-color-mint-accent);
  --bg-light: var(--ag-color-bg-main);
  --bg-card: var(--ag-color-bg-surface);
  --text-dark: #2D3748;
  --text-light: #4A5568;
  --border-radius-lg: 0px;
  --border-radius-md: var(--ag-radius-friendly);
  --border-radius-sm: 0px;
  --transition: all 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Interactive Elements (Mobile First 48x48px min) */
button, .btn-primary, .lang-toggle, .time-slot, input, select {
    min-height: 48px;
    font-family: inherit;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-gold);
    color: white;
    border: none;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3);
}

.btn-primary:hover {
    background-color: #a16207;
    transform: translateY(-2px);
}

.btn-large {
    padding: 0 32px;
    font-size: 1.125rem;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 5%;
}

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

.logo h1 {
    font-size: 1.25rem;
    color: var(--primary-wood);
    font-weight: 700;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--primary-wood);
    color: var(--primary-wood);
    padding: 0 16px;
    font-weight: 500;
}

.lang-toggle:hover {
    background: var(--primary-wood);
    color: white;
}

/* Sections General */
section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 140px; /* Offset for fixed header */
}

.hero-content {
    text-align: center;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--primary-blue);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .logo h1 {
        text-align: center;
    }
    
    .glass-header {
        padding: 12px 5%;
    }
    
    .btn-primary, .lang-toggle {
        min-height: 40px;
        padding: 0 16px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 160px; /* Offset for taller mobile header */
    }
}

.hero-image .image-placeholder {
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-wood);
    transition: var(--transition);
    overflow: hidden; /* Important for sharp image corners */
    display: flex;
    flex-direction: column;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 32px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-blue);
}

/* Booking */
.booking-container {
    background: var(--bg-card);
    padding: 40px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.05);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 500;
    color: var(--text-dark);
}

[dir="rtl"] .input-group label {
    text-align: right;
}

[dir="ltr"] .input-group label {
    text-align: left;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 0 16px;
    border: 1px solid #E2E8F0;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 4px; /* less rounded based on image */
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.time-selector h4 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

[dir="rtl"] .time-selector h4 {
    text-align: right;
}

[dir="ltr"] .time-selector h4 {
    text-align: left;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.time-slot {
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    background: var(--bg-card);
    border-radius: 4px; /* Matching image */
    font-weight: 500;
}

.time-slot.selected {
    background-color: var(--bg-light);
    border-color: var(--primary-blue);
    border-width: 2px;
    color: var(--primary-blue);
}

.btn-submit {
    width: 100%;
    margin-top: 16px;
    background-color: var(--ag-color-dark-marble);
    color: white;
    box-shadow: none;
    font-weight: 600;
    border-radius: 4px; /* Matching image */
}

.btn-submit:hover {
    background-color: #1a202c;
    transform: translateY(0);
}

/* Testimonials */
.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .testimonials-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .testimonials-grid {
        flex: 1;
    }
    
    .testimonial-image {
        flex: 1;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.stars {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.author {
    display: block;
    margin-top: 16px;
    font-weight: 600;
    color: var(--primary-wood);
}

/* Contact & Map */
.contact-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.info-block {
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.info-block h4 {
    margin-bottom: 8px;
    color: var(--primary-wood);
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-content h2 {
    margin-bottom: 24px;
    color: var(--secondary-mint);
}

/* RTL Support */
[dir="rtl"] .input-group label {
    left: auto;
    right: 16px;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: center;
        padding-top: 160px;
    }
    
    .hero-content {
        flex: 1;
        text-align: left;
    }

    [dir="rtl"] .hero-content {
        text-align: right;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-map {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .hero-image, .service-card, .booking-container, .testimonial-card, .testimonial-image, .info-block {
    animation: fadeInUp 0.8s ease-out forwards;
}
