/*!
Theme Name: mortgagesbysommer
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Professional mortgage website theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mortgagesbysommer
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
# Components
	- Header & Navigation
	- Homepage
	- About Page
	- Footer
	- Utilities
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic - Normalize & Box Sizing
--------------------------------------------------------------*/

/* Normalize */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: #fff;
}

main {
	display: block;
}

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

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button {
	overflow: visible;
	text-transform: none;
	cursor: pointer;
}

/*--------------------------------------------------------------
# Base - Typography & Elements
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1.5em;
	line-height: 1.7;
}

ul,
ol {
	margin: 0 0 1.5em 0;
	padding-left: 2em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
}

/* Links */
a {
	color: #c41e3a;
	text-decoration: none;
	transition: color 0.3s ease;
}



a:hover,
a:focus,
a:active {
	color: #a01729;
}

a:focus {
	outline: 2px solid #c41e3a;
	outline-offset: 2px;
}

/* Forms */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em;
	transition: all 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #d6d6d6;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px 12px;
	width: 100%;
	transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus {
	color: #111;
	border-color: #c41e3a;
	outline: none;
}

/*--------------------------------------------------------------
# Components - Header & Navigation
--------------------------------------------------------------*/

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #c41e3a;
}

.custom-logo-link {
    display: inline-block;
    max-width: 200px;
}

.custom-logo {
    height: auto;
    max-height: 60px;
    width: auto;
}

/* Navigation */
.main-navigation {
    position: relative;
}

.primary-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.primary-menu-list li {
    position: relative;
}

.primary-menu-list a {
    color: #2c3e50;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.primary-menu-list a:hover,
.primary-menu-list .current-menu-item a {
    color: #c41e3a;
}

/* Special styling for "Get Approved" button */
.primary-menu-list .menu-item:last-child a {
    background-color: #c41e3a;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.primary-menu-list .menu-item:last-child a:hover {
    background-color: #a01729;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background-color: #2c3e50;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    z-index: 100000;
}

.skip-link:focus {
    position: absolute;
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    overflow: visible;
}

