/* CSS Variables for Colors and Fonts */
:root {
    --primary-color: #FF9AA2;
    /* Salary Pink */
    --secondary-color: #C7CEEA;
    /* Periwinkle */
    --accent-color: #B5EAD7;
    /* Minty */
    --text-color: #4A4A4A;
    /* Soft Dark Grey */
    --bg-color: #FFF9F9;
    /* Warm White */
    --white: #ffffff;
    --font-main: 'Tajawal', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px;
    /* Space for fixed navbar */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

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

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--accent-color);
    margin: 5px auto 0;
    border-radius: 2px;
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
    margin-top: -20px;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #fff0f0 0%, #f3f0ff 100%);
    overflow: hidden;
    text-align: center;
    margin-top: -60px;
    /* Counteract body padding */
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.hero p {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 154, 162, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 154, 162, 0.6);
    background-color: #ff858f;
}

/* Interactive Background Circles */
.hero-decoration .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s infinite ease-in-out;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: #FFDAC1;
    top: 20%;
    right: 20%;
    animation-delay: 4s;
}

/* Cards & Layouts */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.about-card {
    font-size: 1.2rem;
    border-right: 5px solid var(--secondary-color);
}

/* Split Layout (for Volleyball) */
.split-layout {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.split-layout .text-content {
    flex: 1;
    min-width: 300px;
    text-align: right;
    font-size: 1.1rem;
}

.big-icon {
    font-size: 150px;
    color: var(--accent-color);
    text-shadow: 4px 4px 0px var(--secondary-color);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03) rotate(1deg);
}

.gallery-placeholder {
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: var(--white);
    color: #999;
    margin-top: 50px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.bounce-in {
    animation: bounce 1s ease-out;
}

@keyframes bounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .circle-1 {
        width: 100px;
        height: 100px;
    }

    .circle-2 {
        width: 150px;
        height: 150px;
    }

    .split-layout .text-content {
        text-align: center;
    }
}