@charset "UTF-8";

/* GLOBAL STYLES */

html {
    font-size: 100%; 
}

body {
    font-size: 0.94em;
    line-height: 1.55;
    font-family: "Libre Baskerville", Georgia, serif;
    background-color: #ffffff;
    color: #111;
    margin: 0;
    padding: 0;
}

#main {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


header {
    width: 100%;
    text-align: center;
    padding-top: 1.5em;
}

header .logo img {
    width: 62%;
    height: auto;
    margin: 0 auto;
    display: block;
}


nav {
    width: 100%;
    background: #f2f2f2;
    padding: 1em 0;
    margin-top: 1.5em;
}

nav ul {
    width: 76%;
    margin: 0 auto;
    padding: 0;
    list-style: none;

    display: flex;
    justify-content: center;
    gap: 1.5em;
}

nav li {
    display: inline-block;
}

nav li.hide {
    display: none;
}

nav a {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #000;
}

nav a:hover {
	text-decoration: overline;
}

content {
	width: 100%;
}

section {
    width: 81%;
    margin: 0 auto;
    padding-top: 2.5em;
}

section img {
    width: 100%;
    height: auto;
    display: block;
}



.exhibition {
    width: 100%;
    margin-top: 1em;
}

.exhibition .description {
    width: 81%;          
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-top: 1.5em;
}

.exhibition h2 {
    font-family: "Libre Baskerville", Georgia, serif; 
    font-weight: 700;
    font-size: 1.3em;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: #000;
    margin-bottom: 0.25em;
}

.exhibition p {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1em;
    line-height: 1.4;
    margin: 0.25em 0;
}

.show-date {
    font-weight: 600;
}

.location {
    font-style: italic;
}

.monuments .description .takato .description,
.fictions .description,
.diary .description,
.haegue .description {
    width: 81%;
}


#calendar {
    width: 100%;
    margin-top: 2.5em;
    text-align: center;
    background: #f2f2f2;
	padding: 0.1 0;

}

#calendar h2 {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.35em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}


section.calendar {
    width: 100%;
    padding: 0.5em 0;
}

.calendar .performance,
.calendar .talk,
.calendar .conversations {
    width: 100%;
    padding: 1.5em 0;
    border-bottom: 1px solid #ddd;
	transition: background-color 0.4s ease, color 0.4s ease;
    cursor: pointer;
}

.calendar .event h3 {
    font-family: "Libre Baskerville", Georgia, serif;
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: #000;
    width: 86%;
    margin: 0 auto 0.5em;
	transition: color 0.4s ease;
}

.calendar .date p {
    width: 86%;
    margin: 0 auto;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1em;
    line-height: 1.4;
	transition: color 0.4s ease;
}

.calendar .performance:hover,
.calendar .talk:hover,
.calendar .conversations:hover {
    background-color: #f2f2f2;
}

.calendar .performance:hover h3,
.calendar .performance:hover p,
.calendar .talk:hover h3,
.calendar .talk:hover p,
.calendar .conversations:hover h3,
.calendar .conversations:hover p {
    color: #59575B;              
}


footer {
    width: 100%;
    padding: 3em 0;
    text-align: center;
}

#location {
    width: 68%;
    margin: 0 auto 2em;
}

#location h3 {
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    color: #000;
}

#location h3:hover {
	color: #59575B;
}

#location p {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1em;
}


#socialmedia {
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#socialmedia .social img {
    width: 2.5em;
    height: auto;
	background-repeat: no-repeat;
	transition: all 1s ease;
}

#socialmedia .social img:hover {
    transform: scale(1.15);
    opacity: 0.75; 
	}

/* MEDIA QUERIES */


@media (min-width: 480px){
	
	  header .logo img {
        width: 55%;
    }

    nav ul {
        gap: 1.8em;
    }

    .exhibition .description {
        width: 75%;
    }

    section {
        padding-top: 2em;
    }

    section:not(:first-of-type) {
        margin-top: 3em;
    }

    #location {
        width: 60%;
    }

    #socialmedia {
        width: 55%;
    }
}


@media (min-width: 600px){
	
	 header .logo img {
        width: 50%;
    }

    nav ul {
        gap: 2em;
        width: 72%;
    }

    .exhibition .description {
        width: 72%;
        margin-top: 1.8em;
    }

    .calendar .event h3,
    .calendar .date p {
        width: 80%;
    }

    section {
        padding-top: 2.3em;
    }

    section:not(:first-of-type) {
        margin-top: 3.3em;
    }

    #calendar h2 {
        font-size: 1.45em;
    }
}

@media (min-width: 768px){
	
	header .logo img {
        width: 49%;
    }

    nav ul {
        width: 70%;
        gap: 2em;
    }

	
	
	.monuments .description,
    .takato .description,
    .fictions .description,
	.diary .description,
    .haegue .description { width: 82%; }
	
    section img { 
		width: 100%; 
	}

	.performance { 
		width: 50%; 
		margin: 0 auto; 
	}
	
    .talk { 
		width: 50%; 
		margin: 0 auto; 
	}
    .conversations { 
		width: 100%; 
	}
	
	#location { 
		  width: 50%; 
	}
	
	#location h3 {
		width: 100%;
	}
	
    #socialmedia { 
		width: 50%; 
	}

    #socialmedia .social img { 
		width: 3em; 
	}
}
	
@media (min-width: 900px){
	
	
    header .logo img { 
		width: 40%; }

    nav ul {
        width: 65%;
        gap: 2.2em;
    }

    section { 
		padding-top: 3.2em; 
	}
    section:not(:first-of-type) { 		margin-top: 4.2em; 
	}

    #calendar h2 { 
		font-size: 1.5em; 
	}

    #socialmedia { 
		width: 40%; 
	}
	
	#socialmedia .social img { 			width: 3em; 
	}
}

@media (min-width: 1024px) {

    /* ------------------------------------
       NAVIGATION (Full desktop menu)
    -------------------------------------*/
    nav li.hide {
        display: inline-block;
    }

    nav ul {
        width: 85%;
        justify-content: space-between;
        gap: 2.5em;
    }

    /* ------------------------------------
       EXHIBIT SECTIONS (base desktop layout)
    -------------------------------------*/
    #content > section {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 2em;              /* tighter gap */
        width: 100%;
        margin: 0 auto;
        padding-top: 4em;
    }

    #content > section img {
        width: 50%;
        flex-shrink: 0;
    }

    /* text container takes full width */
    #content > section .exhibition {
        width: 50%;
    }

    #content > section .description {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    /* ------------------------------------
       MATCH WIREFRAME — INDIVIDUAL WIDTHS
    -------------------------------------*/
    .monuments { max-width: 78%; margin: 0 auto; }
    .takato    { max-width: 78%; margin: 0 auto; }
    .fictions  { max-width: 76%; margin: 0 auto; }
    .diary     { max-width: 78%; margin: 0 auto; }
    .haegue    { max-width: 84%; margin: 0 auto; }

    /* ------------------------------------
       ALTERNATING LEFT-RIGHT LAYOUT
    -------------------------------------*/
    #content > section:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    #content > section:nth-of-type(even) .description {
        text-align: left;
    }

    /* --------------------------------------------------
       SPECIAL RULES:
       Takato + Diary text must align toward the image
       --------------------------------------------------*/

    /* Default = odd sections (image LEFT → align RIGHT) */
    .takato .description,
    .diary .description {
        text-align: right;
    }

    /* Even sections (image RIGHT → align LEFT) */
    #content > section:nth-of-type(even).takato .description,
    #content > section:nth-of-type(even).diary .description {
        text-align: left;
    }
	.performance { 
		width: 31%; 
		margin: 0 auto; 
	}
    .talk { 
		width: 40%; 
		margin: 0 auto; 
	}
    .conversations { 
		width: 37%; 
		margin: 0 auto; 
	}
	
	 #location { 
		  width: 50%; 
	}
	
	#location h3 {
		width: 100%;
	}
	

    #socialmedia { 
		width: 30%; 
	}
	
	#socialmedia .social img { width: 3em; 
	}
}

	