/* Base Styles */
:root {
    --primary-color: #663399;
    --secondary-color: #FFC107;
    --background-color: #F8F8F8;
    --text-color: #333333;
    --accent-color: #008080;
    --white: #FFFFFF;
    --light-gray: #EEEEEE;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Philosopher', serif;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    text-align: center;
    padding: 2rem 0;
}

.logo h1 {
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.tagline p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color); /* Fallback if image doesn't load */
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.hero-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Links Section */
.featured-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.link-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.link-card h3 {
    color: var(--primary-color);
}

.link-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.explore-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    text-align: center;
}

.explore-btn:hover {
    background-color: var(--accent-color);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--light-gray);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-links {
        flex-direction: column;
    }
    
    .link-card {
        min-width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
}



/* Animation Classes */
.link-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.link-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation delay for staggered effect */
.link-card:nth-child(1) {
    transition-delay: 0.1s;
}

.link-card:nth-child(2) {
    transition-delay: 0.3s;
}

.link-card:nth-child(3) {
    transition-delay: 0.5s;
}


/* Logo Styling */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .logo-img {
        width: 60px;
    }
}

