@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #014D40;
    --secondary: #61888d;
    --accent: #EBA04B; /* Golden accent for luxury feel */
    --white: #ffffff;
    --overlay: rgba(0, 0, 0, 0.45);
    --glass: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    direction: rtl;
    background: #000;
}

/* Premium Background Image with Overlay */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.png') center center/cover no-repeat;
    z-index: -2;
    transform: scale(1.1);
    filter: blur(2px);
    animation: bgZoom 20s infinite alternate ease-in-out;
}

@keyframes bgZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--overlay) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    width: 90%;
    text-align: center;
    padding: 60px 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: contentFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Text Logo Animation */
.text-logo {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.text-logo .en {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 12px;
    background: linear-gradient(to bottom, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    line-height: 1;
    margin-right: -12px; /* Center with tracking */
    animation: logoReveal 1s ease-out 0.5s both;
}

.text-logo .ar {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 4px;
    opacity: 0.8;
    animation: logoReveal 1s ease-out 0.8s both;
}

@keyframes logoReveal {
    from { opacity: 0; letter-spacing: 30px; filter: blur(10px); }
    to { opacity: 1; letter-spacing: inherit; filter: blur(0); }
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 1.2s both;
}

p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    margin: 40px auto;
    animation: expandWidth 1.5s ease-in-out 1s both;
}

@keyframes expandWidth {
    from { width: 0; opacity: 0; }
    to { width: 100px; opacity: 1; }
}

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

/* Contact & Social Buttons */
.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 1s ease-out 2s both;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: #fff;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-8px) scale(1.2);
    opacity: 1;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.footer-text {
    margin-top: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .hero-content {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}
