/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=GFS+Neohellenic:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=GFS+Neohellenic:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --purple: #542db1;
    --purple-dark: #3e1f85;
    --purple-light: #6d4bc4;
    --gold: #fbab00;
    --gold-hover: #ffc133;
    --maroon: #9b0e02;
    --white: #ffffff;
    --off-white: #fdfdfd;
    --light-gray: #f4f4f4;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Global Reset & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--white);
    color: var(--maroon);
    font-family: 'Crimson Pro', serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'GFS Neohellenic', serif;
    color: var(--purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Utility: Greek Meander Border Pattern --- */
.greek-border {
    height: 40px; 
    width: 100%;
    background-color: var(--white);
    background-image: url("/assets/greek.png");
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 40px; 
    margin: 0;
}

/* --- Navigation --- */
header {
    background: linear-gradient(90deg, #6643b7 0%, #542db1 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-bottom: 3px solid var(--gold);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-links a {
    color: var(--white);
    font-family: 'GFS Neohellenic', serif;
    font-style: italic;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(90deg, #6643b7 0%, #542db1 100%);
    border: 1px solid var(--gold);
    border-top: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--white);
    text-decoration: none;
    font-family: 'GFS Neohellenic', serif;
    font-size: 1.1rem;
    font-style: italic;
    border-bottom: 1px solid rgba(251, 171, 0, 0.2);
    transition: all 0.3s ease;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: rgba(251, 171, 0, 0.1);
    color: var(--gold);
    padding-left: 1.5rem;
}

.dropdown a::after {
    display: none;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 1rem;
    background: radial-gradient(circle at center, var(--white) 0%, #f3effa 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

/* Greek Sticker Decorations */
.hero-decoration {
    position: absolute;
    width: 180px;
    height: 180px;
    opacity: 0.5;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.hero-decoration:hover {
    opacity: 0.67;
}

.hero-decoration.top-left {
    top: -10px;
    left: 5px;
    transform: rotate(15deg);
}

.hero-decoration.top-right {
    top: -10px;
    right: 5px;
    transform: rotate(-10deg);
}

.hero-decoration.bottom-left {
    bottom: 5px;
    left: 5px;
    transform: rotate(10deg);
}

.hero-decoration.bottom-right {
    bottom: 5px;
    right: 5px;
    transform: rotate(-12deg);
}

.hero-logo {
    width: 220px;
    max-width: 100%; 
    height: auto; 
    margin-bottom: 0;
    filter: drop-shadow(0 10px 15px rgba(84, 45, 177, 0.2));
    transition: transform 0.5s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
}

.hero-content {
    text-align: left;
    max-width: 650px;
}

.hero h1 {
    font-size: 5rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--maroon);
    font-style: italic;
    margin-bottom: 2.5rem;
    margin-top: -1rem;
    font-weight: 300;
}

/* --- Countdown Styling --- */
.countdown-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(84, 45, 177, 0.08);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(84, 45, 177, 0.2);
    min-width: 70px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background-color: rgba(84, 45, 177, 0.12);
    border-color: rgba(84, 45, 177, 0.3);
    transform: translateY(-1px);
}

.countdown-number {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 600;
    color: var(--maroon);
    line-height: 1;
    letter-spacing: 2px;
}

.countdown-label {
    font-family: 'Crimson Pro', serif;
    font-size: 0.8rem;
    color: var(--maroon);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
    font-weight: 400;
    opacity: 0.8;
}

/* --- Bevelish CTA Button --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(to bottom, #7452c6, #542db1);
    color: var(--white);
    padding: 14px 30px;
    font-family: 'GFS Neohellenic', serif;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 8px;
    
    /* Bevel Magic */
    border: 1px solid #48259c;
    border-bottom: 6px solid #361a7a; /* Thick dark bottom border for 3D depth */
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    
    transition: all 0.1s ease;
    transform: translateY(0);
}

.cta-button:hover {
    background: linear-gradient(to bottom, #8262d1, #613bbd);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
    color: var(--white);
}

.cta-button:active {
    /* On click, remove "depth" to simulate pressing */
    transform: translateY(4px);
    border-bottom-width: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* --- Details Section --- */
.details-container {
    max-width: 1000px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.detail-box {
    padding: 2.5rem;
    text-align: center;
    background-color: var(--white);
    border: 1px solid rgba(84, 45, 177, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Decorative top bar on detail boxes */
.detail-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--gold);
}

.detail-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--purple);
}

.detail-box p {
    font-size: 1.4rem;
    color: var(--maroon);
    font-weight: 600;
    line-height: 1.4;
}

.address {
    font-style: normal;
}

/* --- Explore / Quick Links Section --- */
.quick-links {
    /* New Gradient Background */
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
}

/* Pattern overlay for texture */
.quick-links::after {
    content: "";
    opacity: 0.05;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 0;
    background-image: radial-gradient(var(--white) 1px, transparent 1px);
    background-size: 20px 20px;
}

.quick-links h2 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cards-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    width: 320px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 5px solid var(--gold); /* Accent color top */
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

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

.card h3 {
    color: var(--purple);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes button to bottom */
}

.card-link {
    display: inline-block;
    padding: 10px 20px;
    color: var(--purple);
    font-family: 'GFS Neohellenic', serif;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid var(--purple);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.card:hover .card-link {
    background-color: var(--purple);
    color: var(--white);
}

/* --- Page Header (Smaller than Home Hero) --- */
.page-header {
    background: radial-gradient(circle at center, var(--white) 0%, #f3effa 100%);
    padding: 4rem 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.page-header p {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--maroon);
}

/* --- Content Layout --- */
.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-block {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

/* --- Registration Pricing Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: var(--white);
    border: 1px solid rgba(84, 45, 177, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 6px solid var(--purple);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.price-card.featured {
    border-top: 6px solid var(--gold);
    background: linear-gradient(to bottom, #fffcf5, #fff);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--purple);
    font-family: 'GFS Neohellenic', serif;
    margin: 1rem 0;
}

.price-details {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* --- Logistics: Schedule Table --- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table th {
    background-color: var(--purple);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-family: 'GFS Neohellenic', serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.schedule-table td {
    padding: 1rem;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    color: var(--maroon);
    font-weight: 500;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background-color: #fcfaff;
}

/* --- Position Paper Guidelines --- */
.guidelines-box {
    background-color: #fffcf5; /* Light gold tint */
    padding: 2.5rem;
    border-left: 5px solid var(--gold);
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow);
}

.guidelines-box ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.guidelines-box li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.guidelines-box strong {
    color: var(--purple);
}

/* --- Committee Hero --- */
.comm-hero {
    padding: 4rem 1rem;
    background: radial-gradient(circle at center, var(--white) 0%, #f3effa 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.comm-type {
    display: block;
    font-family: 'GFS Neohellenic', serif;
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.comm-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.comm-hero p {
    font-size: 1.4rem;
    color: var(--maroon);
    font-style: italic;
    margin-bottom: 2rem;
}

/* --- Committee Content --- */
.comm-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.comm-section {
    margin-bottom: 4rem;
}

.comm-section h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.comm-section h3 {
    font-size: 1.6rem;
    color: var(--purple-dark);
    margin: 2rem 0 1rem 0;
    text-transform: none;
    letter-spacing: normal;
}

.comm-section p, .comm-section li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--maroon);
}

.comm-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.comm-section li {
    margin-bottom: 0.8rem;
}

/* --- Footer --- */
footer {
    background-color: #2a115c; /* Very dark purple/maroon mix */
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
    margin-top: auto;
    border-top: 4px solid var(--gold);
}

footer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    .menu-toggle {
        display: block;
    }
    
    .hero-decoration {
        width: 80px;
        height: 80px;
        opacity: 0.2;
    }

    .hero-decoration.top-left,
    .hero-decoration.bottom-left {
        left: 10px;
    }

    .hero-decoration.top-right,
    .hero-decoration.bottom-right {
        right: 10px;
    }

    .hero-decoration.top-left,
    .hero-decoration.top-right {
        top: 10px;
    }

    .hero-decoration.bottom-left,
    .hero-decoration.bottom-right {
        bottom: 10px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1rem;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .details-container {
        grid-template-columns: 1fr;
        margin: 2rem 1rem;
        gap: 1.5rem;
    }

    .quick-links h2 {
        font-size: 2.2rem;
    }

    /* Mobile Navigation */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #6643b7 0%, #542db1 100%);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .nav-item {
        width: 100%;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.1);
        margin-top: 0.5rem;
        border-radius: 8px;
    }

    .nav-item .dropdown {
        display: none;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .dropdown a:hover {
        padding-left: 1.2rem;
    }

    .page-header h1 { 
        font-size: 2.5rem; 
    }
    
    .content-container { 
        padding: 2rem 1rem; 
    }
    
    .pricing-grid { 
        grid-template-columns: 1fr; 
    }
    
    .schedule-table th, .schedule-table td {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .comm-hero h1 {
        font-size: 2.8rem;
    }

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

/* --- About Us Section Styles --- */
.content-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8f6ff 100%);
}

.content-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-section .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.subsection {
    margin-bottom: 4rem;
}

.subsection h3 {
    font-size: 2rem;
    color: var(--purple);
    margin-bottom: 2rem;
    text-align: center;
}

/* --- Secretariat Grid --- */
.secretariat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.secretariat-member {
    background: var(--off-white);
    border-left: 5px solid var(--purple);
    padding: 2rem;
    text-align: center;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secretariat-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.secretariat-member h4 {
    font-size: 1.5rem;
    color: var(--maroon);
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
}

.secretariat-member .position {
    font-size: 1.1rem;
    color: var(--purple);
    font-style: italic;
    margin-bottom: 0;
}

/* --- Contact Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--off-white);
    border-left: 5px solid var(--gold);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item strong {
    color: var(--purple);
    font-family: 'GFS Neohellenic', serif;
    font-weight: 700;
}

/* --- Responsive Design for About Us --- */
@media (max-width: 768px) {
    .content-section {
        padding: 2rem 1rem;
    }
    
    .content-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .subsection h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .secretariat-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .secretariat-member {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}
