@font-face {
    font-family: 'MotterCorpus';
    src: url('fonts/Motter Corpus Std SemiCondensed.otf') format('opentype');
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'LeagueSpartan';
    src: url('fonts/LeagueSpartan-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
}

/* General styles */
:root {
    --primary-1: #DF8042;
    --primary-2: #557353;
    --primary-3: #F6D1AE;
    --primary-4: #DFCF42;
    --accent-1: #6F5173;
    --accent-2: #E7B1A4;
    --accent-3: #AED3F6;
    --accent-4: #B2705B;
    --text-dark: #000;
    --text-light: #fff;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'LeagueSpartan', sans-serif;
    margin: 0;
    color: var(--text-dark);
    background-color: var(--primary-3);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--text-light);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3e%3cpath d='M0 20 C 10 10, 30 10, 40 20 C 30 30, 10 30, 0 20 Z' stroke='%23DF8042' stroke-opacity='0.1' stroke-width='2' fill='none'/%3e%3cpath d='M20 0 C 30 10, 30 30, 20 40 C 10 30, 10 10, 20 0 Z' stroke='%23DF8042' stroke-opacity='0.1' stroke-width='2' fill='none'/%3e%3c/svg%3e");
    border-bottom: 2px solid var(--primary-1);
}

.logo {
    font-family: 'MotterCorpus', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-2);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-4);
    font-size: 0.9rem;
    margin: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: var(--accent-1);
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-1);
}

.nav-social-link i {
    font-size: 2rem;
    vertical-align: middle;
}

.nav-social-text {
    display: none;
}

/* Hero Section */
#hero {
    background-image: url("media/chai.jpg");
    min-height: 40vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Content Sections */
.content-section {
    padding: 2rem 2rem;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-family: 'MotterCorpus', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-2);
    margin-bottom: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.content-section a {
    color: var(--accent-1);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.section-content img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.details-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.detail-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-1);
    margin-top: 0;
}

.detail-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 2.5rem;
    color: var(--primary-2);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-1);
}

.contact-lower-text {
    margin-top: 3rem;
    text-align: center;
}

.copy-email {
    display: inline-block;
    border: 1px solid var(--primary-1);
    padding: 0.2rem 0.6rem 0rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    font-weight: bold;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
}

.copy-email:hover {
    background-color: var(--primary-3);
}

.copy-email .copy-icon {
    margin-left: 0.5rem;
    color: var(--primary-2);
}

.copy-email.copied {
    background-color: var(--primary-2);
    color: var(--text-light);
    border-color: var(--primary-2);
}

.copy-email.copied i {
    color: var(--text-light);
}

/* Section Dividers */
.section-divider {
    line-height: 0;
    width: 100%;
}

.section-divider.flipped {
    transform: scale(-1, -1);
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.shape-fill-beige {
    fill: var(--primary-3);
}

.shape-fill-accent-2 {
    fill: var(--accent-2);
}

.shape-fill-white {
    fill: var(--text-light);
}

#about, #membership, #details {
    position: relative;
}

#about::before,
#membership::before,
#details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--accent-2);
    z-index: -1;
}

/* Schedule Section */
.schedule-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.schedule-item {
    background-color: var(--accent-2);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 10px solid var(--primary-1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.schedule-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-1);
    margin-top: 0;
}

.schedule-item p {
	margin-bottom: 0;
}


/* Footer */
footer {
    background-color: var(--primary-2);
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

@media (min-width: 769px) {
    #hero {
        background-image: url("media/chai-cropped.jpg");
        min-height: 60vh;
    }

    #contact .section-content {
        justify-content: center;
        text-align: center;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-container {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.5rem;
        justify-items: center;
    }

    .nav-social-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-social-text {
        display: inline;
    }

    .nav-social-link i {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .section-content {
        flex-direction: column;
    }

    #contact .section-content {
        text-align: center;
    }

    .section-content.reverse {
        flex-direction: column;
    }

    .details-container {
        grid-template-columns: 1fr;
    }

    #about .section-content {
        flex-direction: column-reverse;
    }

    .membership-image {
        display: none;
    }

    .section-content img {
        max-width: 100%;
        margin-bottom: 1rem;
    }
}
