/*
Theme Name: Frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: With its clean, minimal design and powerful feature set, Frost enables agencies to build stylish and sophisticated WordPress websites. Frost is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Frost is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.10
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: frost
*/


/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}
/* 1. Define the Variables (Default / Neutral State) */
:root {
    --site-bg: #ffffff; /* Clean White/Gray */
    --site-text: #1a1a1a;
    --site-font: 'Inter', sans-serif; /* Frost default */
    --link-border: #e5e5e5;
    --bg-image: none;
    --marker-pos: 50%; /* Center position for the toggle marker */
}

/* 2. The Developer State */
body.theme-dev {
    --site-bg: #111111;
    --site-text: #00ff41; /* Terminal Green or clean White */
    --site-font: 'Courier Prime', monospace; 
    --link-border: #333;
    --marker-pos: 5px; /* Move marker to left */
}

/* 3. The Guide State */
body.theme-guide {
    --site-bg: #2c3e50; /* Fallback color */
    --site-text: #f0f0f0;
    --site-font: 'Merriweather', serif; 
    --link-border: rgba(255,255,255,0.3);
    /* Add your photo URL below */
    --bg-image: url('YOUR_IMAGE_URL_HERE.jpg'); 
    --marker-pos: calc(100% - 45px); /* Move marker to right */
}

/* --- APPLYING THE VARIABLES --- */

body {
    background-color: var(--site-bg);
    color: var(--site-text);
    font-family: var(--site-font);
    background-image: var(--bg-image);
    background-size: cover;
    background-attachment: fixed;
    transition: all 0.5s ease; /* The smooth transition magic */
}

/* Toggle Switch Styling */
.trip-switch-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#theme-switcher {
    position: relative;
    display: flex;
    background: #e0e0e0;
    border-radius: 50px;
    padding: 5px;
    width: 200px;
    justify-content: space-between;
}

/* Hide actual radio buttons */
#theme-switcher input {
    display: none;
}

/* The Labels (Clickable Areas) */
#theme-switcher label {
    z-index: 2;
    width: 33%;
    text-align: center;
    cursor: pointer;
    line-height: 40px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #666;
    transition: color 0.3s;
}

/* Highlight the active label text */
body.theme-dev label[for="mode-dev"],
body:not(.theme-dev):not(.theme-guide) label[for="mode-neutral"],
body.theme-guide label[for="mode-guide"] {
    color: var(--site-text);
}

/* The Sliding Pill (Visual Indicator) */
.switch-marker {
    position: absolute;
    top: 5px;
    left: 0;
    width: 60px; /* Approx 1/3 of width */
    height: 40px;
    background: white;
    border-radius: 40px;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    
    /* Logic to move the pill based on state */
    /* By default (Neutral), center it */
    transform: translateX(70px); 
}

/* Move Pill Left for Dev */
body.theme-dev .switch-marker {
    transform: translateX(5px);
    background: #333; /* Dark pill for dark mode? */
}

/* Move Pill Right for Guide */
body.theme-guide .switch-marker {
    transform: translateX(135px);
    background: rgba(255,255,255,0.2); /* Frosted glass pill */
    backdrop-filter: blur(5px);
}

/* --- BASE BUTTON STYLES (Neutral) --- */
/* This ensures the buttons respond to our variables by default */
.wp-block-button__link {
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Reserve space for border */
}

/* --- DEV MODE: "The Terminal" --- */
body.theme-dev .wp-block-button__link {
    background-color: transparent !important;
    color: var(--site-text) !important; /* Neon Green */
    border: 2px solid var(--site-text);
    border-radius: 0 !important; /* Sharp edges */
    font-family: 'Courier Prime', monospace;
    text-transform: lowercase;
    position: relative;
    padding-left: 2em; /* Make room for the prompt */
}

/* Add a terminal prompt character before the text */
body.theme-dev .wp-block-button__link::before {
    content: ">_";
    position: absolute;
    left: 15px;
    opacity: 0.7;
}

body.theme-dev .wp-block-button__link:hover {
    background-color: var(--site-text) !important;
    color: #000 !important; /* Invert on hover */
    box-shadow: 0 0 10px var(--site-text); /* Neon glow */
}

/* --- GUIDE MODE: "Frosted Glass" --- */
body.theme-guide .wp-block-button__link {
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px !important; /* Soft corners */
    font-family: 'Merriweather', serif;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Readable text over photos */
}

body.theme-guide .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px); /* Subtle lift */
    border-color: rgba(255, 255, 255, 0.8);
}