/* Modern Design System for Queen Company */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@300;500;700&display=swap');

:root {
    --primary: #34a8e0; /* Logo Blue */
    --accent: #f9c80e;  /* Logo Gold */
    --primary-light: #5dbce8;
    --bg-dark: #0a192f;
    --bg-light: #112240;
    --text-main: #e6f1ff;
    --text-dim: #8892b0;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

body.rtl {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

body.rtl h1, body.rtl h2, body.rtl h3 {
    font-family: 'Cairo', sans-serif;
}

.ltr-content {
    direction: ltr !important;
    display: inline-block;
    unicode-bidi: embed;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    border-radius: 4px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 80px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--primary);
}

nav a:hover {
    color: var(--primary);
}

.lang-btn {
    background: rgba(52, 168, 224, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 2rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

body.rtl .lang-btn {
    margin-left: 0;
    margin-right: 2rem;
}

body.rtl nav a {
    margin-left: 0;
    margin-right: 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.6)), url('hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInDown 1.5s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    background: transparent;
}

.btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

/* Logistics Section */
.section {
    padding: 100px 10%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-top: 10px;
}

body.rtl .section-title::after {
    margin-right: 0;
}

body.rtl .section-title[style*="table"]::after {
    margin-left: auto;
    margin-right: auto;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.7);
    border-color: var(--primary);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.contact-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 50px 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020c1b;
}

.footer-logo img {
    height: 160px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.copyright {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    nav a {
        display: none; 
    }
    
    .lang-btn {
        margin-left: 0;
    }
    
    /* Ensure the logo looks good on RTL mobile if we ever add a menu */
    body.rtl header {
        flex-direction: row-reverse;
    }
    .logo img {
        height: 80px; /* Slightly smaller for mobile */
    }
    header.scrolled .logo img {
        height: 60px;
    }
    .footer-logo img {
        height: 120px;
    }
}
