/* --------------------------------------------
   Fonts
--------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
/* --------------------------------------------
   Variables
--------------------------------------------- */
:root {
    /* Brand Colors */
    --clr-bg: #121212;
    --clr-bg-dark: #0a0a0a;
    --clr-panel: #1e1e1e;
    --clr-accent: #e17000;       /* Warm orange */
    --clr-accent-light: #ff9130; /* Lighter orange for hovers, highlights */
    --clr-text: #fefefe;
    --clr-muted: #cccccc;

    /* Typography */
    --font-body: system-ui, sans-serif;
    --font-heading: "Libre Baskerville", serif;
    --font-heading: "Merriweather", serif;

    /*Breakpoints*/
    --width-small: 500px;
    --width-medium: 767px;
    --width-large: 1200px;
    --width-xlarge: 1800px;
}

/* --------------------------------------------
   Base Reset & Typography
--------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: auto;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    background-color: var(--clr-panel);
    color: var(--clr-text);
    padding: 0;
    min-height: 100vh;
}
/*These 2 rules are for the footer position on small pages*/
html, body {
    /*height: 100%;*/
    margin: 0;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
input, button, textarea, select {
    font: inherit;
}
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    overflow-wrap: break-word;
    font-family: var(--font-heading);
}
a {
    color: var(--clr-accent);
}
/* --------------------------------------------
   Navigation
--------------------------------------------- */
.site-nav {
    background-color: var(--clr-accent);
    padding: 0.25rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--width-xlarge);
    margin: 0 auto;
}

.nav-logo img {
    height: 48px;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--clr-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--clr-muted);
}

/* --------------------------------------------
   Main + Sections
--------------------------------------------- */
main section {
    max-width: var(--width-large);
    margin: auto;
    padding: 2rem 1rem;
}
main section.fullwidth {
    max-width: unset;
}
.banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--clr-text);
}

.banner-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.54) 50%, rgba(255,255,255,0) 99%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.54) 50%, rgba(255,255,255,0) 99%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.overlay {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    max-width: var(--width-large);
    margin: 0 auto;
}

.about .wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.about .wrapper img {
    max-width: 250px;
}
.about .content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about .tagline {
    color: var(--clr-accent);
    font-style: italic;
}
.about .signature {
    color: var(--clr-accent);
    font-weight: bold;
}
/*Blend bg*/
.blend-section {
    position: relative;
    background-color: var(--clr-accent); /* your solid base color */
    overflow: hidden;
    padding: 4rem 1rem;
    color: white;
}

.blend-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    mix-blend-mode: overlay; /* or multiply, soft-light, etc. */
    opacity: 0.3; /* adjust to taste */
    pointer-events: none;
}

.blend-content {
    position: relative;
    z-index: 2;
    max-width: var(--width-large);
    margin: 0 auto;
    text-align: center;
}
/*Content Panels*/
.panel-grid .panel-group {
    display: grid;
    gap: 1rem;
}
.panel-grid .col-1-1 {
    grid-template-columns: 1fr 1fr;
}
.panel-grid .col-2-1 {
    grid-template-columns: 2fr 1fr;
}
.panel-grid .col-1-2 {
    grid-template-columns: 1fr 2fr;
}
/* --------------------------------------------
   Contact Page
--------------------------------------------- */
.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    max-width: var(--width-large);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-block {
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--clr-accent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.contact-block:hover {
    transform: scale(1.02);
}

.contact-block .contact-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--clr-accent);
    background: #0000009c;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    width: max-content;
}
.contact-block img {
    filter: grayscale(.5);
    transition: filter 0.6s ease;
}
.contact-block:hover img {
    filter: grayscale(0);
}

/* --------------------------------------------
   Footer
--------------------------------------------- */
footer {
    background: var(--clr-bg);
    padding: .25rem;
    text-align: center;
}
/* --------------------------------------------
   Animations
--------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 3s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------
   Media Queries
--------------------------------------------- */
@media (width <= 600px) {
    .nav-container {
        flex-direction: column;
    }
    .about .wrapper {
        flex-direction: column;
    }
}
