/* ========================================
   SAID BAU - Professional Styling
   Dark/Light Theme, Fully Responsive, Modern Design
   ======================================== */

/* =====================================
   COLOR VARIABLES & THEMING
   ===================================== */

:root {
    /* Light Theme */
    --primary: #2d2d2d;
    --primary-dark: #1a1a1a;
    --secondary: #b8956b;
    --secondary-dark: #9b7d5a;
    --accent: #2d2d2d;
    --text-primary: #2d2d2d;
    --text-secondary: #666666;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] {
    /* Dark Theme */
    --primary: #e8e8e8;
    --primary-dark: #f5f5f5;
    --secondary: #d4a574;
    --secondary-dark: #c49563;
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --border: #3f3f3f;
    --shadow: rgba(0, 0, 0, 0.5);
}

/* =====================================
   GLOBAL STYLES
   ===================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .container {
    text-align: right;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* =====================================
   NAVIGATION BAR
   ===================================== */

.navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    box-shadow: 0 2px 8px var(--shadow);
    z-index: 100;
    transition: background-color 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar-brand {
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--secondary);
}

.logo-svg {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.navbar-menu li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    background-color: rgba(249, 115, 22, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
    padding-left: 1.5rem;
}

.btn-cta {
    background-color: var(--secondary) !important;
    color: white !important;
    border-radius: 4px;
    padding: 0.75rem 1.5rem !important;
}

.btn-cta:hover {
    background-color: var(--secondary-dark) !important;
}

.language-selector {
    margin: 0 0.5rem;
}

.language-select {
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:hover {
    border-color: var(--secondary);
}

.theme-toggle {
    margin-left: 0.5rem;
}

.theme-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
    padding: 4px;
}

.theme-btn:hover {
    color: var(--secondary);
}

.sun-icon,
.moon-icon {
    width: 20px;
    height: 20px;
}

.moon-icon {
    display: none;
}

/* =====================================
   HERO SECTION
   ===================================== */

.hero {
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    color: white;
    padding: 6rem 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================
   BUTTONS
   ===================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

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

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

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: var(--secondary);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* =====================================
   SECTIONS
   ===================================== */

section {
    padding: 4rem 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* =====================================
   STATS SECTION
   ===================================== */

.stats {
    background-color: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 500;
    margin: 0;
}

/* =====================================
   SERVICES SECTION
   ===================================== */

.services {
    background-color: var(--bg-primary);
}

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

.service-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow);
}

.service-name {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-desc {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-dark);
}

/* =====================================
   CTA SECTION
   ===================================== */

.cta {
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    color: white;
    text-align: center;
    padding: 4rem 20px;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    margin: 0 0 2rem 0;
}

/* =====================================
   FOOTER
   ===================================== */

footer {
    background-color: var(--bg-secondary);
    padding: 3rem 20px 1rem;
}

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

.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-tagline {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem !important;
}

.footer-desc,
.footer-contact {
    font-size: 0.9rem;
    margin-bottom: 0.5rem !important;
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-copyright {
    margin: 0;
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .navbar-menu {
        gap: 0.25rem;
    }

    .hero {
        min-height: 500px;
        padding: 4rem 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hamburger {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        border-top: 1px solid var(--border);
        transition: max-height 0.3s ease;
    }

    .navbar-menu.active {
        max-height: 500px;
    }

    .navbar-menu li {
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: var(--bg-secondary);
        border: none;
        box-shadow: inset 0 2px 4px var(--shadow);
        margin-top: 0;
    }

    .dropdown-menu a {
        padding-left: 2rem;
    }

    .language-selector,
    .theme-toggle {
        width: 100%;
        text-align: left;
    }

    .language-select {
        width: 100%;
        padding: 1rem;
        border: none;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .theme-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        min-height: 400px;
        padding: 3rem 20px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .hero {
        min-height: 300px;
        padding: 2rem 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-primary-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: 2rem 15px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }
}

/* =====================================
   ANIMATIONS
   ===================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* =====================================
   UTILITIES
   ===================================== */

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

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

/* =====================================
   COOKIE CONSENT BANNER (GDPR/DSGVO)
   ===================================== */

#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-top: 2px solid var(--secondary);
    padding: 1.5rem 20px;
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 -4px 16px var(--shadow);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content {
    flex: 1;
    min-width: 250px;
}

.cookie-title {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.cookie-message {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.cookie-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: var(--secondary-dark);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    white-space: nowrap;
}

.cookie-accept {
    background-color: var(--secondary);
    color: white;
}

.cookie-accept:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.cookie-reject {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.cookie-reject:hover {
    background-color: var(--border);
    transform: translateY(-2px);
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    #cookieBanner {
        padding: 1.25rem 15px;
        gap: 0.75rem;
    }

    .cookie-container {
        gap: 1rem;
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
        gap: 0.75rem;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    #cookieBanner {
        padding: 1rem 12px;
    }

    .cookie-title {
        font-size: 0.9rem;
    }

    .cookie-message {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .cookie-container {
        gap: 0.75rem;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .cookie-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
    }
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}
