/*
Theme Name: Southern Utah Cabinetry
Theme URI: https://southernutahcabinetry.com/
Author: Southern Utah Cabinetry
Description: Custom theme for Southern Utah Cabinetry (RTA & Assembled Cabinets).
Version: 1.1
*/

/* ==========================================================================
   COLOR PALETTE (Based on Logo) 
   Change these hex codes to match your logo exactly! 
   ========================================================================== */
:root {
    /* Primary Color: Used for headers, footer, and dark accents */
    --primary-color: #2c3e50; /* Deep Slate/Charcoal */
    
    /* Secondary Color: Used for buttons, links, and highlights */
    --secondary-color: #d35400; /* Rust / Terracotta */
    
    /* Hover state for buttons */
    --secondary-hover: #e67e22; 
    
    /* Backgrounds & Text */
    --bg-light: #f9f9f9; /* Light cream/gray for section backgrounds */
    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #dddddd;
}

/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    max-height: 70px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 0;
}

.main-navigation a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   MAIN CONTENT & SECTIONS
   ========================================================================== */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

.hero-section {
    background-color: var(--bg-light);
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: var(--text-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.colors-section, .process-steps {
    margin-top: 40px;
}

.color-list, .resource-links, .contact-list {
    margin: 20px 0;
    padding-left: 20px;
}

.resource-links {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   FORMS (Order Form)
   ========================================================================== */
.form-layout {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(211, 84, 0, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px 0;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 200px;
    background-color: var(--white); /* White background for contrast */
    padding: 10px;
    border-radius: 4px;
}

.site-footer h3 {
    color: var(--white);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.site-footer p, .site-footer a {
    color: #e0e0e0;
}

.site-footer a:hover {
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaaaaa;
}

/* ==========================================================================
   RESPONSIVE (Mobile specific tweaks)
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .resource-links {
        flex-direction: column;
    }
}