
/*
Theme Name: Gold 2025
Author: reputable.agency
Description: Theme for The Gold Collective
Version: 1.0.0
Requires PHP: 8.0;
*/


/* test */

@import "css/meyer-setup.css";
@import "css/structure.css";
@import "css/settings.css";

/* TYPOGRAPHY */
@import "css/typography.css";
@import "fonts/jeanluc/stylesheet.css";

/* COMPONENTS */
@import "css/components.css";
/* @import "css/site-menu.css"; */

/* MODULES */
@import "css/modules.css";
/*@import "css/module-default.css";*/

/* PAGES */
@import "css/home.css";
@import "css/style-guide.css";

/* FLICKITY SLIDER */
@import "css/flickity.css";

/* log in */


/* 404 */


/* SITE-NAV */

.site-header {
	background-color: transparent;
	color: var(--paper);
	padding-block: 14px;
	z-index: 50;

	@media (width < 800px) {
		.site-menu {
			position:  fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100dvh;
			background-color: var(--ink);

			display: grid;
			place-items: center;
			justify-content: start;
			padding-left: 3em;

			opacity: 0;
			pointer-events: none;
		}
		.menu-item a {
			display: block;
			padding: 10px;
			font-family: var(--display-font);
			font-size:  8vw;
			opacity: 0.9;
		}
		.menu-item a[aria-current="page"] {
			opacity: 0.7;
		}
	}

	@media (width >= 800px) {
		.site-menu {
			display: block;
		}
		.site-menu ul {
			display: flex;
			justify-content: flex-end;
			align-items: flex-start;
			flex-wrap: wrap;
		}

		[data-action='toggle-menu'] {
			display: none;
		}

		.menu-item {
			margin-left: 20px;
			color: var(--ink);
		}

		.open-menu, .close-menu {
			display: none;
		}
	}
}

body.menu-open {
	@media (width < 800px) {
		.site-header .site-menu {
			opacity:  1;
			pointer-events: initial;
		}
	}
}

.site-header.not-home-header {
	position: sticky;
	top: 0;
}

.page-content-under {
	z-index: 1;
}

#siteHeader inner-column {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.homeheader-logo-white {
	display: none;
}

@media (min-width: 1000px) {

	.home-header a {
		color: var(--paper);
	}

	.homeheader-logo {
		display: none;
	}

	.homeheader-logo-white {
		display: block;
	}

	.site-header inner-column {
		display: flex;
		flex-direction: row;
	}

	.page-content {
		padding-top: 45px;
	}
}

.header-background {
		background-color: var(--paper);
		color: black;
		padding-top: 15px;
		padding-bottom: 15px;
		position: sticky;
		top: 0;
		z-index: 5;
}

.homeheader-logo, .homeheader-logo-white, .header-logo {
	width: clamp(90px, 12vw, 150px);
	z-index: 10;
}

.home-logo:hover {
	text-decoration: none;
}

.home-logo::before {
	text-decoration: none;
	background-color: transparent;
}

.home-logo:hover::before {
	transform: 0;
}

/* WEDDINGS */

.wedding-grid {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 40px;
}

@media (min-width: 600px) {
	.wedding-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 770px) {
	.wedding-grid {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;

	}
}

/* INQUIRE */

address {
	display: flex;
	flex-direction: column;
}

address :is(.phone, .email) {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 15px;
}

address .button2 {
	margin-top: 0;
	width: 125px;
	text-align: center;
}

.email {
	margin-top: 25px;
}

/* PRESS/REVIEWS */

.logos-wide {
	display: none;
}

@media (min-width: 600px) {
	.logos-wide {
		display: block;
	}

	.logos-narrow {
		display: none;
	}
}

/* FOOTER */

.site-footer {
	margin-top: 100px;
	#footer-bottom {
		background-color: var(--black);
		color: var(--white);
		padding-bottom: 100px;
	}

	.logo {
		max-width: 140px;
		* {
			fill: currentColor;
		}
	}

	ul {
		a {
			font-family: var(--body-font);
			opacity: 0.6;
			padding: 0.3em 0;
		}
	}

	p {
		opacity: 0.65;
	}

	.testimonial {
		margin-top: clamp(0px, 10vh, 50px);
		@media (width < 1000px) {
			inner-column {
				padding-inline: 0;
			}
		}
		@media (width >= 1000px) {
			article.t {
				padding-inline:  0;
				background: none;
				border: 0;
			}
		}
		
	}
}


.site-footer inner-column {
	display: flex;
	flex-direction: column;
/*	justify-content: space-between;*/
/*	gap: 10px;*/
}



#footer-top {
	background-color: var(--ink);
	color: var(--paper);
	padding: 60px 0;
}

#footer-top inner-column {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

#footer-top-left {
	grid-column: 1/2;
}

#footer-top-center {
	grid-column: 2/3;
}

#footer-top-right {
	grid-column: 3;
}

#footer-top-right a:hover {
	text-decoration: none;
	color: var(--paper);
}

#footer-top-right a::before {
	text-decoration: none;
	background-color: transparent;
}

#footer-top-right .jeanluc a:hover::before {
	transform: 0;
}

#footer-top p {
	margin-top: 8px;
}

#footer-top a {
	padding-bottom: 4px;
}



#footer-links {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 80px;
	padding-top: 40px;
}

#footer-email {
	margin-top: 12px;
	letter-spacing: .05rem;
}

#copyright {
	margin-top: 30px;
}

#site-map {
	display: flex;
	flex-direction: column;
}

#site-map h3 {
	margin-bottom: 15px;
}

#socials {
	display: flex;
	flex-direction: column;
}

@media (min-width: 855px) {

	#footer-top inner-column {
		display: grid;
		grid-template-columns: 250px 250px 250px;
		gap: 50px;
	}

	#footer-top p {
		max-width: 25ch;
	}

	#footer-bottom {
		padding-top: 20px;
	}

	#footer-links {
		display: grid;
		grid-template-columns: 250px 250px 250px;
		gap: 50px;
	}

	#site-map {
		grid-column: 1/2;
	}

	#socials {
		grid-column: 2/3;
	}

	#copyright {
		grid-row: 2;
	}
}

@media (min-width: 1000px) {
	#footer-top inner-column {
		gap: 100px;
	}

	#footer-links {
		gap: 100px;
	}
}


.site-footer .menu-item {
	padding-left: 0;
	margin-left: 0;
}

/* STYLE GUIDE */

.layout-guide, .typography-guide {
	margin-top: 50px;
}

.layout-guide .layout-module {
	margin-top: 100px;
}

/* ACCESSIBILITY */

.screenreader-text {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  top: auto;
}
.screenreader-text:focus {
  color: black;
  display: inline-block;
  height: auto;
  width: auto;
  position: static;
  margin: auto;
}

/* WEDDINGS page / seperating out blocks more than usual */
.page-id-54, .page-id-2515 {
	section:has(.layout-module) + section:has(.layout-module) {
		margin-top: clamp(150px, 10vh, 300px);
	}

	section:has(.page-heading) + section:has(.layout-module) {
		margin-top: 100px;
	}
}





button.menu-toggle {
	appearance: none;
	-webkit-appearance: none;
	border: 0;

	background-color: transparent;
	color: red;
	text-decoration: underline;
	padding: 1em;
	transform: translateX(1em);

	cursor: pointer;
}


a, button {
    -webkit-tap-highlight-color: transparent;
}
