/* Font face declarations */
@font-face {
    font-family: 'Abhaya Libre';
    src: url('../font/AbhayaLibre-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abhaya Libre';
    src: url('../font/AbhayaLibre-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abhaya Libre';
    src: url('../font/AbhayaLibre-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Abhaya Libre', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f3f3ed; /* Cream white background */
    background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='32' height='32' patternTransform='scale(1) rotate(30)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(40, 16%, 96%, 1)'/><path d='M32-10L42 0 32 10 22 0zM0-10L10 0 0 10-10 0zm0 32l10 10L0 42l-10-10zm32 0l10 10-10 10-10-10zM16-10L26 0 16 10 6 0zm0 32l10 10-10 10L6 32zM32 6l10 10-10 10-10-10zM0 6l10 10L0 26l-10-10zm16 0l10 10-10 10L6 16z'  stroke-linecap='square' stroke-width='0.5' stroke='hsla(36, 37%, 89%, 1)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
    background-size: cover;
    background-repeat: repeat;
    min-height: 100vh;
    position: relative;
}

/* Container for centered content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Centered purple-red div with rounded corners */
.centered-div {
    background-color: #8B1538; /* Purple-red color */
    border-radius: 20px;
    padding: 40px;
    margin: 50px auto;
    max-width: 600px;
    width: 90%;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
}



.centered-div h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.1;
}

.centered-div h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.2;
}

.centered-div p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Logo styling inside centered div */
.logo-container {
    margin-bottom: 30px;
}

.logo-white {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes SVG white */
    transition: transform 0.3s ease;
}



/* Intro section styling */
.intro-section {
    padding: 30px 0;
}

/* Instagram section styling */
.instagram-section {
    padding: 30px 0 60px 0;
    text-align: center;
}

.instagram-container {
    max-width: 600px;
    margin: 0 auto;
}

.instagram-container h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0px;
    color: #333;
}

.instagram-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    text-decoration: none;
    color:#8B1538;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.instagram-button .instagram-icon {
    font-size: 1.3rem;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* H3 styling for events */
.centered-div h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Dates section styling */
.dates-section {
    margin-top:40px;
    padding: 20px 0 60px 0;
    background-color: #8B1538;
}

.dates-section .centered-div {
    max-width: 800px;
    margin: 0 auto;
}

/* Events container styling */
.events-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.event {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Responsive design */
@media (max-width: 768px) {
    .centered-div {
        margin: 30px auto;
        padding: 30px 20px;
        width: 100%;
    }
    
    .centered-div h1 {
        font-size: 2.5rem;
    }
    
    .centered-div h2 {
        font-size: 1.5rem;
    }
    
    .centered-div p {
        font-size: 1rem;
    }
    
    .logo-white {
        height: 60px;
    }
    
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .instagram-section {
        padding: 40px 0;
    }
    
    .instagram-container h2 {
        font-size: 1.8rem;
    }
    
    .instagram-container p {
        font-size: 1rem;
    }
    
    .instagram-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .centered-div h3 {
        font-size: 1.2rem;
    }
    
    .dates-section {
        padding: 40px 0;
    }
    
    .events-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .event {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .centered-div {
        margin: 20px auto 40px auto;
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .centered-div h1 {
        font-size: 2.2rem;
    }
    
    .centered-div h2 {
        font-size: 1.3rem;
    }
    
    .centered-div p {
        font-size: 0.95rem;
    }
    
    .logo-white {
        height: 80px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .intro-section {
        padding: 0px 0 30px;
    }
    
    .intro-text {
        line-height: 1.5;
    }
    
    .instagram-section {
        padding: 30px 0;
    }
    
    .instagram-container h2 {
        font-size: 1.6rem;
    }
    
    .instagram-container p {
        font-size: 0.95rem;
    }
    
    .instagram-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .centered-div h3 {
        font-size: 1.1rem;
    }
    
    .dates-section {
        padding: 30px 0;
    }
    
    .events-container {
        gap: 15px;
    }
    
    .event {
        padding: 18px;
    }
}

/* Footer styling */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 0px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom .footer-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.footer-bottom .footer-links li {
    margin: 0;
}

.footer-bottom .footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: #fff;
}

/* Instagram link styling */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E4405F !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 99px;
    background-color: rgb(255 255 255 / 90%);
}

.instagram-link:hover {
    background-color: rgba(228, 64, 95, 0.2);
    transform: translateY(-2px);
}

.instagram-icon {
    font-size: 1.2rem;
}

.instagram-text {
    font-size: 0.95rem;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom .footer-links {
        justify-content: center;
    }
}