/* 
Theme Name: R. Scott Davis Theme
Theme URI: 
Description: Custom R. Scott Davis Theme
Author: Yes Web Design Studio
Author URI: https://yeswebdesignstudio.com/
Version: 1.0.0
Text Domain: yes-web-design-studio
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-theme
*/

/* --- Global Styles --- */
@font-face {
    font-family: 'NB Television Mono';
    src: url('/wp-content/uploads/2026/03/NB-Television-Pro-Mono.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NB Architekt Std';
    src: url('/wp-content/uploads/2026/03/NB-Architekt-Std-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/uploads/2026/03/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NB Typewriter Pro';
    src: url('/wp-content/uploads/2026/03/NB-Typewriter-Pro-55R.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- CSS Reset / Rebase --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    /* Prevents padding from adding to width */
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: none;
    /* Prevents font scaling in landscape on mobile */
    text-size-adjust: none;
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* Makes fonts look crisper */
    min-height: 100vh;
    text-rendering: optimizeSpeed;
}

/* --- Typography Reset --- */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    /* Prevents long words from breaking layout */
}

ul,
ol {
    list-style: none;
    /* Removes bullets by default (since you're building a custom UI) */
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
.hero-title,
.card-title {
    font-family: 'NB Architekt Std', monospace;
}

:root {
    --bg-color: #323232;
    --text-color: ##FFFFFF;
    --accent-color: #EBE545;
    --spacing: 4rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    /* Standard portfolio font */
    color: var(--text-color);
    background: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.6;
}

/* --- Hero Section --- */
.hero-section {
    padding: var(--spacing) 0;
    border-bottom: 1px solid #eee;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* --- Grid System --- */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing);
}

.grid-item {
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/10;
}

.card-title {
    font-size: 1.25rem;
    margin-top: 1rem;
    text-decoration: none;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}



/* --- Responsive --- */
@media (max-width: 768px) {
    :root {
        --spacing: 2.5rem;
    }

    .grid-wrapper {
        grid-template-columns: 1fr;
    }
}