/*
Theme Name:        Frankenstein Plumbing
Theme URI:         https://northwoodswebsitedesign.com
Description:       Reusable base theme
Author:            Jes C.
Author URI:        https://northwoodswebsitedesign.com
Version:           1.0.0
Text Domain:       frankenstein
*/
/*==========================================================
	COLORS AND FONTS
	======================================================== */
	
	 :root {
  /* Assign your Google Fonts to easy-to-remember variables */
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  /* Your theme colors */
  --primary-color: cornflowerblue;
  --secondary-color: white;
  --overlay-color: #f8f8ff;
  --alert-color: red;
  --text-dark: #222222;
}

/* Apply them globally */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* =========================================================
   RESET / GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
	scroll-padding-top: 100px; /* Match your sticky header's height */
    scroll-behavior: smooth;
}

body {
    line-height: 1.4;
}


img {
    max-width: 100%;
	height: auto;
    
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
}

.right {
	margin-left: auto;
}

.left {
	margin-right: auto;
	
}

/* =========================================================
   GENERAL
   ========================================================= */

main {
	min-height: 400px;
}


.formblock button {
	text-transform: uppercase;
	transition: transform 0.3s ease-in-out;
	
}

.formblock button:hover {
	transform: scale(1.1); 
}

.button {
	text-transform: uppercase;
    display: inline-block;
	width: fit-content;
    padding: 10px 24px;
    border: 0;
	border-radius: 10px;
    cursor: pointer;
	background: var(--primary-color);
	color: var(--secondary-color);
	font-weight: 600;
	font-size: 1.5em;
	font-family:var(--font-body);
	
}

a.nwd-button {
	text-transform: uppercase;
    display: inline-block;
	width: fit-content;
    padding: 10px 24px;
	line-height: 1;
    border: 0;
	border-radius: 10px;
    cursor: pointer;
	background: var(--primary-color);
	color: var(--secondary-color);
	transition: transform 0.3s ease-in-out;
	font-weight: 600;
	font-size: 1.25em;
	font-family:var(--font-body);
	
}

a.nwd-button:hover {
	transform: scale(1.1); 
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 2vw, 2.5rem);
}

h4 {
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

p {
    margin-bottom: 20px;
	line-height: 1.4em;
	
}

/* =========================================================
	STRUCTURE
   ========================================================= */
   
/*  <---- PAGES --->  */
   
.frankenstein-section {
    width: 100%;
    padding: 20px 5%;
}

.frankenstein-sidebar {
	display: none;
}



/* =========================================================
   HEADER
   ========================================================= */

header {
	position: sticky;
	top: 0;
	background: white;
	z-index: 500000;
}
.contactinfo {
	padding: 5px 35px;
	display: flex;
    font-size: 0.85rem;
	align-items: center;
    justify-content: flex-end;
    gap: 20px;
	
}

.header-phone {
    padding-left: 20px;
    
}

.header-phone a {
	color: var(--text-dark);
	
}

.site-header {
    display: grid;
    grid-template-columns: 15% 85%;
    align-items: center;
    min-height: 75px;
    padding: 0 35px;
	
}

.header-logo img {
    max-width: 250px;
}

.main-navigation > nav > ul {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 15px;
    /*margin-right: 25px;*/
}

.main-navigation a {
    display: block;
    padding: 10px;
    color: var(--text-dark);
    font-size: 1em;
    font-weight: 400;
}

.menu-toggle {
    display: none;
}
.submenu-toggle {
    display: none;
}

/* ==================== DESKTOP SUBMENU ==================== */

.main-navigation li {
    position: relative;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
	background: #fff;
}

.main-navigation li:hover > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    width: 100%;
    box-sizing: border-box;
	white-space: nowrap;
	transition: transform 0.2s ease;
}

.main-navigation .sub-menu a:hover {
    transform: scale(1.05);
}

/*
============================================================
REGULAR GALLERY SHIT
============================================================
*/

.gallery {
    columns: 3 250px;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   FOOTER
   4 EQUAL COLUMNS
   ========================================================= */

.site-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 5%;
	background: var(--primary-color);
	color: var(--secondary-color);
}

.footer-column h3 {
    margin-bottom: 20px;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
	color: var(--secondary-color);
}

.footer-column address {
    font-style: normal;
}

.social-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px 5%;
    text-align: center;
	background: var(--primary-color);
	color: var(--secondary-color);
	font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

