@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #0d9488; /* Teal */
    --primary-hover: #0f766e;
    --secondary-color: #38bdf8; /* Sky Blue */
    --bg-light: #f0fdfa;
    --text-main: #134e4a;
    --text-muted: #5b7a78;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
}

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

h1, h2, h3, .navbar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary-color);
}

/* Glass Navbar */
.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* Hero Section Modernized */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.8), rgba(56, 189, 248, 0.6)), 
                url('https://images.unsplash.com/photo-1559128010-7c1ad6e1b6a5?q=80&w=2940&auto=format&fit=crop') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    clip-path: ellipse(150% 100% at 50% 0%);
    margin-bottom: -50px;
}

.hero-section h1 {
    font-size: 4rem;
    text-shadow: none;
}

/* Modern Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Announcement specific refinements */
#announcements .glass-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

#announcements .glass-card:hover {
    border-color: var(--primary-color);
    background: white;
}

.text-teal {
    color: var(--primary-color);
}

.card-img-top {
    height: 240px;
    border-radius: 24px 24px 0 0;
}

/* Modern Buttons */
.btn-modern {
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    filter: brightness(0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Registration Side Image */
.registration-image {
    background: url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?q=80&w=2940&auto=format&fit=crop') no-repeat center center/cover;
    border-radius: 32px 0 0 32px;
    min-height: 400px;
}

@media (max-width: 768px) {
    .registration-image {
        border-radius: 32px 32px 0 0;
        min-height: 250px;
    }
}

.btn-primary-modern {
    background-color: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary-modern:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Registration Form */
.registration-container {
    background: white;
    padding: 3rem;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f1f5f9;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

/* Decorative background elements */
.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.1;
    z-index: -1;
}
