/*
Theme Name: Vogatti
Theme URI: https://vogatti.co.in/
Author: Vogatti School of Modeling
Description: Custom block theme for Vogatti School of Modeling. Black, ivory and gold editorial look, built for the Site Editor.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vogatti
*/

/* Small extras that theme.json cannot express. */

html { scroll-behavior: smooth; }

.skip-link.screen-reader-text:focus { background: #0b0b0b; color: #fff; }

/* Sticky header */
.vg-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	background: rgba(255, 255, 255, .92) !important;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .vg-header { top: var(--wp-admin--admin-bar--height, 32px); }

.vg-header .wp-block-navigation a { text-decoration: none; }
.vg-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.vg-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--gold); }

/* Eyebrow text above headings */
.vg-eyebrow {
	text-transform: uppercase;
	letter-spacing: .22em;
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 600;
	color: var(--wp--preset--color--gold);
}

/* Gold rule under section headings */
.vg-rule::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	margin-top: .6em;
	background: var(--wp--preset--color--gold);
}
.has-text-align-center.vg-rule::after { margin-left: auto; margin-right: auto; }

/* Cards */
.vg-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	transition: transform .25s ease, box-shadow .25s ease;
	height: 100%;
}
.vg-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 11, 11, .08); }

/* Image zoom on hover */
.vg-zoom .wp-block-post-featured-image,
.vg-zoom figure { overflow: hidden; }
.vg-zoom img { transition: transform .6s ease; }
.vg-zoom:hover img { transform: scale(1.05); }

/* Team portraits */
.vg-team .wp-block-post-featured-image img { aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25); transition: filter .4s ease; }
.vg-team li:hover .wp-block-post-featured-image img { filter: none; }

/* Client logos */
.vg-logos img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s ease; }
.vg-logos img:hover { filter: none; opacity: 1; }
.vg-logos .wp-block-image { display: flex; align-items: center; justify-content: center; margin: 0; }

/* Testimonials */
.vg-quote { position: relative; }
.vg-quote::before {
	content: "\201C";
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 5rem;
	line-height: 1;
	color: var(--wp--preset--color--gold);
	display: block;
	height: 2.6rem;
}

/* Gallery tidy */
.wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 1; object-fit: cover; }

/* Enquiry form */
.vg-form { display: grid; gap: 1rem; }
.vg-form .vg-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .vg-form .vg-row { grid-template-columns: 1fr; } }
.vg-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: .02em; }
.vg-form input,
.vg-form select,
.vg-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	background: #fff;
	font: inherit;
	border-radius: 0;
}
.vg-form input:focus,
.vg-form select:focus,
.vg-form textarea:focus { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 0; border-color: var(--wp--preset--color--gold); }
.vg-form .vg-hp { position: absolute !important; left: -9999px !important; }
.vg-form button {
	justify-self: start;
	background: var(--wp--preset--color--ink);
	color: #fff;
	border: 0;
	padding: 1rem 2.2rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease;
}
.vg-form button:hover { background: var(--wp--preset--color--gold); }
.vg-notice { padding: 1rem 1.2rem; border-left: 3px solid var(--wp--preset--color--gold); background: var(--wp--preset--color--sand); margin-bottom: 1.2rem; }
.vg-notice.is-error { border-color: #b3261e; background: #fbe9e7; }

/* Footer links */
.vg-footer a { text-decoration: none; }
.vg-footer a:hover { color: var(--wp--preset--color--gold) !important; }

/* Event date badge */
.vg-date { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--wp--preset--color--gold); font-weight: 600; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Mobile header: keep the logo and menu button, hide the CTA */
@media (max-width: 782px) {
.vg-header-cta { display: none; }
.vg-header .wp-block-site-logo img { width: 120px !important; }
}
