:root {
    --purple: #4B0082;
    --purple-light: #6A1B9A;
    --white: #ffffff;
    --gray-light: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.greek-letters {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
}

.separator {
    color: var(--purple);
    font-weight: 300;
}

.network-name {
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--purple);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--purple);
    transition: all 0.3s ease;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, 
            transparent 0px,
            transparent 39px,
            var(--purple) 40px,
            var(--purple) 41px
        ),
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 39px,
            var(--purple) 40px,
            var(--purple) 41px
        );
    opacity: 0.05;
    animation: gridMove 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(45deg,
            transparent 0px,
            transparent 39px,
            var(--purple) 40px,
            var(--purple) 41px
        ),
        repeating-linear-gradient(-45deg,
            transparent 0px,
            transparent 39px,
            var(--purple) 40px,
            var(--purple) 41px
        );
    opacity: 0.05;
    animation: gridMove 15s linear infinite reverse;
}

@keyframes gridMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(40px) translateY(40px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .greek-letters {
    font-size: 4rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--purple);
    font-weight: 300;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--purple);
    color: var(--white);
}

/* Add these new styles before the media queries */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    color: var(--purple);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--purple);
}

/* Chairman Message Section */
.chairman-message {
    background-color: var(--gray-light);
    padding: 6rem 0;
}

.message-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.chairman-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--purple);
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.2);
    flex-shrink: 0;
}

blockquote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    position: relative;
    padding-left: 2rem;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--purple);
    position: absolute;
    left: -1rem;
    top: -1rem;
    opacity: 0.2;
}

blockquote footer {
    margin-top: 1.5rem;
    color: var(--purple);
    font-style: normal;
    font-size: 1.1rem;
    text-align: right;
    background: none;
    padding: 0;
}

blockquote footer strong {
    font-weight: 600;
}

blockquote p {
    margin-bottom: 1.5rem;
}

blockquote p:last-of-type {
    margin-bottom: 2rem;
}

/* Board Section */
.board {
    background-color: var(--gray-light);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.board-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.board-member:hover {
    transform: translateY(-5px);
}

.board-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.board-member h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.board-member .member-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(75, 0, 130, 0.9);
    color: white;
    padding: 2rem;
    transition: bottom 0.3s ease-in-out;
}

.board-member:hover .member-overlay {
    bottom: 0;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
    padding: 0;
}

.gallery .container {
    max-width: none;
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.gallery h2 {
    display: none;
}

.carousel-track-container {
    position: relative;
    height: 600px;
    margin: 0;
    overflow: hidden;
    background-color: black;
}

.carousel-track {
    position: relative;
    height: 100%;
    display: flex;
    animation: scroll 80s linear infinite;
    transform: translateX(0);
    will-change: transform;
}

.carousel-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-color: black;
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-600%);
    }
}

/* Remove the carousel buttons and indicators */
.carousel-button, .carousel-nav {
    display: none;
}

@media (max-width: 768px) {
    .carousel-track-container {
        height: 300px;
    }
}

/* Update Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero .greek-letters {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero .separator {
        display: none;
    }

    .logo {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo .network-name {
        font-size: 0.9rem;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .message-content {
        flex-direction: column;
        text-align: center;
    }

    .chairman-photo {
        width: 200px;
        height: 200px;
    }

    blockquote {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 0;
    }
} 

/* Add these new styles for mobile menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    gap: 1rem;
}

.nav-links.active a {
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-light);
}

.nav-links.active a:last-child {
    border-bottom: none;
} 

/* About Section */
.about {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 0 0 45%;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    filter: sepia(20%) contrast(1.1) brightness(0.95);
    border: 8px solid var(--white);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(75, 0, 130, 0.1);
    position: relative;
}

.about-image::after {
    content: 'First Meeting (2014)';
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--purple);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.about-main {
    flex: 1;
}

.about-text {
    max-width: 100%;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Update mobile styles */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        flex: 0 0 100%;
    }

    .about-image img {
        height: 300px;
    }

    .about-text {
        text-align: left;
    }

    .about-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
} 

/* Upcoming Events Section */
.upcoming-events {
    background-color: var(--gray-light);
    padding: 5rem 0;
}

.upcoming-events::before {
    display: none;
}

.upcoming-events .container {
    position: relative;
    z-index: 1;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 70px;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    background: var(--purple);
    color: var(--white);
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.event-date .month,
.event-date .day,
.event-date .year {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.event-date .day {
    font-size: 1.2rem;
}

.event-details {
    padding: 1.5rem;
    flex: 1;
}

.event-details h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.event-time, .event-location {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.event-description {
    margin-top: 1rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }

    .event-date {
        padding: 0.8rem;
    }

    .event-date .month,
    .event-date .day,
    .event-date .year {
        font-size: 1.1rem;
    }
} 

/* Contact Section */
.contact {
    background-color: var(--white);
    padding: 5rem 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--purple);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--purple-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
} 

.event-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
}

.rsvp-btn {
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--purple);
    color: white;
    box-shadow: 0 2px 4px rgba(75, 0, 130, 0.2);
    width: auto;
    min-width: 200px;
}

.rsvp-btn:hover {
    background-color: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(75, 0, 130, 0.3);
}

/* Add loading animations for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-animate {
    opacity: 0;
}

.section-animate.visible {
    animation: fadeInUp 0.6s ease forwards;
} 

.carousel-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.carousel-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
} 

.membership-note {
    background-color: var(--gray-light);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
} 

.membership-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.membership-info p {
    font-size: 1rem;
    color: #555;
}

.membership-info a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.membership-info a:hover {
    color: var(--purple-light);
    text-decoration: underline;
} 

.hero-content {
    position: relative;
    transition: transform 0.2s ease-out;
} 

.hero-logo {
    width: min(300px, 30vw);
    min-width: 150px;
    height: auto;
    margin-bottom: clamp(1rem, 3vw, 3rem);
    position: relative;
}

.hero-logo::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-logo:hover::after {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: min(200px, 40vw);
        min-width: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
} 

/* Custom positioning for specific images if needed */
.carousel-slide img[src*="meeting2.jpg"] {
    object-position: center 20%;
}

.carousel-slide img[src*="meeting3.jpg"] {
    object-position: center 25%;
} 

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--purple);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--purple-light);
    transform: translateY(-3px);
}

/* Add this to ensure smooth scrolling */
html {
    scroll-behavior: smooth;
} 

/* Add these styles for landscape orientation */
@media (max-height: 500px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 1rem 1rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Option 1: Hide the logo completely */
    .hero-logo {
        display: none;
    }

    /* OR Option 2: Make it very small */
    /*.hero-logo {
        width: 100px;
        margin-bottom: 0.5rem;
    }*/

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero .greek-letters {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
} 