/* =============================================
   final_style.css — Sam Vazquez Portfolio
   ============================================= */


/* --- Custom Font --- */
@font-face {
    font-family: "CormorantGaramond";
    font-style: normal;
    font-weight: normal;
    src: url("Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
}


/* --- Reset & Base --- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #1e1e22;
    color: #f0ece8;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}


/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =============================================
   NAVIGATION
   ============================================= */
nav {
    background-color: #2e2e36;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

nav a {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9a9097;
    text-decoration: none;
    padding: 22px 35px;
    display: inline-block;
    border-right: 1px solid #333;
    transition: color 0.25s, background-color 0.25s;
}

nav a:first-child {
    border-left: 1px solid #333;
}

nav a:hover {
    color: #f0ece8;
    background-color: #3a3a44;
}

nav a.active {
    color: #e07068;
}


/* =============================================
   HEADER / HERO
   ============================================= */
header {
    width: 100%;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1e1e22;
    padding: 64px 32px;
    position: relative;
}

header h1 {
    font-family: "CormorantGaramond", Georgia, serif;
    font-size: 112px;
    font-weight: normal;
    letter-spacing: 17px;
    text-transform: uppercase;
    color: #f0ece8;
    line-height: 1;
}

header h1::before,
header h1::after {
    content: '';
    display: block;
    width: 60%;
    height: 1px;
    background-color: #9a9097;
    margin: 19px auto;
}

.header-subtitle {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #9a9097;
    margin-top: 8px;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #9a9097;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
}


/* =============================================
   MAIN LAYOUT
   ============================================= */
main {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 48px 0;
}

aside.left,
aside.right {
    width: 60px;
}

article {
    flex: 1;
    padding: 32px 48px;
}


/* =============================================
   TYPOGRAPHY
   ============================================= */
h2 {
    font-family: "CormorantGaramond", Georgia, serif;
    font-size: 38px;
    font-weight: normal;
    color: #f0ece8;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

h3 {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e07068;
    margin: 32px 0 12px;
}

p {
    color: #9a9097;
    margin-bottom: 19px;
    max-width: 650px;
}

a {
    color: #e07068;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #c9524a;
    text-decoration: underline;
}


/* =============================================
   PULL QUOTE
   ============================================= */
.pullquote {
    border-left: 3px solid #e07068;
    margin: 32px 0;
    padding: 16px 24px;
    background-color: #26262c;
    border-radius: 0 4px 4px 0;
    font-family: "CormorantGaramond", Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #f0ece8;
    line-height: 1.6;
}

.quote-author {
    display: block;
    margin-top: 12px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e07068;
}


/* =============================================
   IMAGE CARD
   ============================================= */
.image-card {
    float: right;
    margin: 0 0 16px 24px;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-card img {
    display: block;
    width: 280px;
    height: 170px;
    border-radius: 2px;
}


/* =============================================
   IMAGES (general)
   ============================================= */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}


/* =============================================
   FOOTER
   ============================================= */

/* inspired by https://html5up.net/escape-velocity */
footer {
    background-color: #26262c;
    border-top: 1px solid #333;
    padding: 64px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 48px;
}

.footer-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-icon-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.footer-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #3a3a44;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-heading {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #e07068;
    margin: 0;
}

.footer-block a {
    color: #9a9097;
    text-decoration: underline;
    font-size: 14px;
}

.footer-block a:hover {
    color: #e07068;
}

footer .copyright {
    grid-column: 1 / -1;
    border-top: 1px solid #333;
    padding-top: 24px;
    font-size: 12px;
    color: #555;
    text-align: center;
}


/* =============================================
   UTILITY
   ============================================= */
.divider {
    width: 40px;
    height: 2px;
    background-color: #e07068;
    margin: 24px 0;
}

.clearfix {
    clear: both;
}