:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #c4a450;
    /* Gold-ish from the reference */
    --accent-glow: rgba(196, 164, 80, 0.4);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-english);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 20% 30%, rgba(196, 164, 80, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(196, 164, 80, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

/* Header Box */
.header-box {
    background: rgba(196, 164, 80, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-color);
    padding: 1.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 0 30px var(--accent-glow);
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease-out;
}

.header-box h1 {
    font-family: var(--font-arabic);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.header-box span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Titles */
.titles {
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.titles h2 {
    font-family: var(--font-arabic);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.titles p {
    font-family: var(--font-arabic);
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

.logo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 3rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(196, 164, 80, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-color);
    background: rgba(196, 164, 80, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(196, 164, 80, 0.1);
}

.logo-card:hover::before {
    opacity: 1;
}

.logo-card img {
    width: 100%;
    height: auto;
    max-width: 220px;
    max-height: 120px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.logo-card:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.site-url {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-family: var(--font-english);
    margin-top: 1.5rem;
    transition: color 0.3s ease;
}

.cta {
    font-family: var(--font-arabic);
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-card:hover .site-url {
    color: var(--text-primary);
}

.logo-card:hover .cta {
    opacity: 1;
    transform: scale(1.1);
}

/* Specific Logo Overrides if needed */
.logo-card img[alt="Silver Lines"] {
    max-width: 240px;
}

.logo-card img[alt="Elips Yapi"] {
    max-width: 200px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .header-box h1 {
        font-size: 2rem;
    }

    .titles h2 {
        font-size: 2.5rem;
    }

    .titles p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: 1fr;
    }

    .header-box {
        padding: 1rem 1.5rem;
    }
}