/* Elegant Barbershop, Saudi, and Winter Theme */
:root {
    --primary-color: #C8A04E; /* Elegant Gold/Brass for accents */
    --secondary-color: #FFFFFF; /* White for main text */
    --background-color: #121212; /* Deep Black/Charcoal for elegance and winter feel */
    --container-bg: rgba(25, 25, 25, 0.9); /* Slightly lighter container background */
    --text-color: #E0E0E0; /* Off-white text */
    --logo-red: #E50000; /* Keeping the logo red for contrast */
}

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

/* Background with subtle texture for elegance */
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    direction: rtl; /* Right-to-Left for Arabic */
    /* Subtle pinstripe or dark texture for barbershop feel */
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .05) 75%, rgba(255, 255, 255, .05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

.container {
    max-width: 90%;
    width: 500px;
    padding: 50px 40px;
    background-color: var(--container-bg);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); /* Deeper shadow for luxury */
    border: 1px solid var(--primary-color); /* Elegant gold border */
    position: relative;
    overflow: hidden;
}

/* Logo Styling */
.logo {
    width: 180px; /* Slightly larger logo */
    height: auto;
    margin-bottom: 30px;
    /* Add a subtle shadow/glow to make the logo pop on the dark background */
    filter: drop-shadow(0 0 8px var(--logo-red));
}

/* Text Styling */
.title {
    font-size: 2.8rem;
    color: var(--primary-color); /* Gold title */
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.contact-info {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;
}

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

/* Loading Bar Animation - More refined */
.loader {
    width: 90%;
    max-width: 350px;
    height: 4px; /* Thinner bar for elegance */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 30px;
    overflow: hidden;
}

.bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--logo-red)); /* Gradient for a richer look */
    border-radius: 2px;
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        width: 0%;
        margin-right: 0;
    }
    50% {
        width: 100%;
        margin-right: 0;
    }
    100% {
        width: 0%;
        margin-right: 100%;
    }
}

/* Optional: Add a subtle animated element for the winter/cozy feel */
.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(200, 160, 78, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
