/*
Theme Name: Shucking Events
Theme URI: https://shuckingevents.example
Description: Custom GeneratePress child theme for Shucking Events — live oyster catering. Black/gold branding, plain hero banner, and Contact Form 7 styling. All page content (gallery, headings, contact form) is managed from the block editor, not this theme.
Author: Shucking Events
Template: generatepress
Version: 2.0
Text Domain: shucking-events
*/

/* -------------------------------------------------
   Brand palette
   Background: #0B0B0B (near black)
   Gold:       #C9A24B  — used for ALL text sitewide
-------------------------------------------------- */

html {
	overflow-x: hidden;
}

body {
	background-color: #0B0B0B;
	color: #C9A24B;
	overflow-x: hidden;
}

/* Apply the gold brand color to all text sitewide — including content
   added later via the block editor, not just theme-controlled markup. */
body,
p,
li,
span,
label,
blockquote,
td,
th,
h1,
h2,
h3,
h4,
h5,
h6,
a {
	color: #C9A24B;
}

a:hover,
a:focus {
	color: #e0b95c;
}

/* -------------------------------------------------
   Full-width / full-bleed support
   Lets ANY block (image, gallery, cover, group, etc.) span edge-to-edge
   just by choosing "Full width" in the block toolbar — no theme edits
   needed for future full-width sections.
-------------------------------------------------- */
.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.alignwide {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

/* Belt-and-suspenders: if a parent is CSS Grid (e.g. GeneratePress's
   sidebar layout), make sure our content still spans every column. */
#primary.content-area,
#main {
	display: block;
	width: 100%;
	max-width: 100%;
	grid-column: 1 / -1;
}

/* -------------------------------------------------
   Hero banner — plain image, no text/logo overlay.
   Image comes from the page's Featured Image.
-------------------------------------------------- */
.shucking-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 70vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* -------------------------------------------------
   Page content wrapper (everything below the banner —
   built entirely in the block editor).
-------------------------------------------------- */
.shucking-page-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 20px;
}

.shucking-page-content p.shucking-placeholder-note {
	text-align: center;
	color: #9a9a9a;
	font-style: italic;
}

.shucking-page-content .wp-block-gallery img,
.shucking-page-content .gallery img,
.shucking-page-content .wp-block-image img {
	border: 2px solid #C9A24B;
}

.shucking-page-content h1,
.shucking-page-content h2,
.shucking-page-content h3 {
	font-family: 'Playfair Display', Georgia, serif;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.shucking-page-content p,
.shucking-page-content label {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.15rem;
}

/* -------------------------------------------------
   Contact Form 7 styling
-------------------------------------------------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	padding: 12px;
	margin-top: 6px;
	background: #1a1a1a;
	border: 1px solid #C9A24B;
	color: #C9A24B;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
	box-sizing: border-box;
}

.wpcf7 textarea {
	min-height: 130px;
	resize: vertical;
}

.wpcf7 label {
	display: block;
	margin-bottom: 16px;
}

/* Submit button: deliberately kept dark-on-gold (not the sitewide gold
   text rule) so the button stays legible against its own gold background. */
.wpcf7 input[type="submit"] {
	background: #C9A24B;
	color: #0B0B0B;
	border: none;
	padding: 14px 36px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 4px;
	margin-top: 10px;
	transition: background 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
	background: #e0b95c;
}

.wpcf7-not-valid-tip {
	color: #e07070;
	font-size: 0.85rem;
	margin-top: 4px;
}

.wpcf7-response-output {
	border-color: #C9A24B !important;
	color: #C9A24B;
}
