/* CSS - EXFILAG 2027 Website Styles */
:root {
    --bg-color: #F9F5EE;
    --text-color: #412211;
    --accent-orange: #E47A32;
    --accent-gold: #F2AE43;
    --border-color: #EADDC9;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-orange);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--accent-orange);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

main {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    min-height: 70vh;
}

h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

h1 {
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 10px;
}

h2 {
    font-size: 20px;
    margin: 30px 0 15px 0;
}

p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Grid layout for exhibitors or exhibition lists */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(65, 34, 17, 0.08);
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Regulatory rules / Accordion */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.accordion-title {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

/* Input Styles for Inscription form */
form {
    background-color: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 14px;
    border-radius: 2px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.btn {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--text-color);
}

/* Responsive navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--bg-color);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 15px;
    }
    nav ul.active {
        display: flex;
    }
}


/* CSS Stamp and Bridge Illustration */
.stamp-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.stamp {
    position: relative;
    width: 280px;
    height: 280px;
    background: #F4EAD4; /* Stamp border cream */
    padding: 15px;
    box-shadow: 0 8px 24px rgba(65, 34, 17, 0.12);
    /* Perf-like stamp borders using CSS radial gradient mask or background pattern */
    background-image: 
        radial-gradient(circle at 0px 14px, transparent 8px, #F4EAD4 8px),
        radial-gradient(circle at 280px 14px, transparent 8px, #F4EAD4 8px),
        radial-gradient(circle at 14px 0px, transparent 8px, #F4EAD4 8px),
        radial-gradient(circle at 14px 280px, transparent 8px, #F4EAD4 8px);
    border: 12px solid #F4EAD4;
    border-style: dotted; /* Simple minimalist fallback for perforations */
    border-radius: 4px;
}

.stamp-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #F2AE43, #E47A32, #412211);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 2px;
}

/* Sunset Sun */
.stamp-sun {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    background-color: #F9F5EE;
    border-radius: 50%;
    opacity: 0.85;
}

/* Horizontal lines across the sunset */
.stamp-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        transparent,
        transparent 4px,
        rgba(249, 245, 238, 0.25) 4px,
        rgba(249, 245, 238, 0.25) 6px
    );
}

/* Stylized Bridge using pure CSS */
.bridge-silhouette {
    position: relative;
    width: 100%;
    height: 90px;
    background-color: #412211; /* Dark Brown bridge */
    z-index: 2;
    clip-path: polygon(
        0% 80%, 10% 40%, 15% 40%, 20% 80%,
        20% 80%, 30% 40%, 35% 40%, 40% 80%,
        40% 80%, 50% 40%, 55% 40%, 60% 80%,
        60% 80%, 70% 40%, 75% 40%, 80% 80%,
        80% 80%, 90% 40%, 95% 40%, 100% 80%,
        100% 100%, 0% 100%
    );
}

.bridge-pillars {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: space-around;
    z-index: 1;
}

.pillar {
    width: 14px;
    height: 100%;
    background-color: #2F160A;
}

.water-reflections {
    height: 40px;
    background: #412211;
    position: relative;
    z-index: 3;
    border-top: 2px solid #F9F5EE;
}

.water-line {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        #412211,
        #412211 2px,
        #E47A32 2px,
        #E47A32 4px
    );
    opacity: 0.9;
}