/* Root Variables */
:root {
    --bg-dark: #0a1120; /* Deep navy / very dark blue */
    --bg-darker: #050914;
    --gold-primary: #D4AF37; /* Metallic Gold */
    --gold-hover: #F2C94C;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-speed: 0.4s;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
    margin: 0 auto 3rem auto;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn-gold {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all var(--transition-speed) ease;
    margin-top: 1rem;
}

.btn-gold:hover {
    background-color: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #111d33 0%, var(--bg-dark) 100%);
    position: relative;
    padding: 0 1rem;
}

.hero-content {
    opacity: 0; /* For fade-in animation */
    transform: translateY(20px);
}

.logo-circle {
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.logo-circle span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-primary);
}

.group-name-ar {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Times New Roman', serif; /* Or a specific Arabic font if loaded */
}

.group-name-en {
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gold-primary); /* Subtle underline */
    display: inline-block;
    padding-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    font-style: italic;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.arrow {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--gold-primary);
    border-right: 2px solid var(--gold-primary);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background-color: var(--bg-darker);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--gold-primary);
    transition: width var(--transition-speed) ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.project-card:hover::before {
    width: 100%;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: var(--bg-dark);
    text-align: center;
    border-top: 1px solid var(--gold-primary);
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .group-name-ar {
        font-size: 2rem;
    }
    
    .group-name-en {
        font-size: 1.2rem;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .logo-circle span {
        font-size: 2rem;
    }
}