/* 
  Custom CSS for Jesse Denis Portfolio 
  Theme: Dark, Minimalist
*/

/* --- CSS Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --font-heading: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Georgia', 'Times New Roman', serif;
    --header-height: 80px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

.mt-2 { margin-top: 1rem; }
.link-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Header --- */
.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 100;
    gap: 40px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-right: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.login-btn svg, .cart-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--text-color);
    color: var(--bg-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* --- Hero Section --- */
.hero-section {
    width: 100%;
    margin-top: 70px;
    margin-bottom: -230px; /* Pulls the next section up slightly for overlap effect seen in design */
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

/* --- Intro Box Section --- */
.intro-box-section {
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.intro-box {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-color);
}

.intro-image {
    flex: 1;
}
.intro-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
}

.intro-content {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* --- CTA Center Section --- */
.cta-center-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 80px auto 100px;
    padding: 0 40px;
}

.cta-content {
    flex: 1;
    text-align: center;
    padding-right: 40px;
}

.cta-content h3 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    border: 4px solid var(--text-color);
    width: 100%;
    max-width: 450px;
    margin-left: auto;
}

/* --- Details Section --- */
.details-section {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
}

.detail-column {
    flex: 1;
}

.detail-column h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
}

.detail-column p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: justify;
}

/* --- Footer --- */
.site-footer {
    padding: 40px;
    display: flex;
    justify-content: flex-end;
    background-color: var(--bg-color);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
    .cta-center-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .cta-content {
        padding-right: 0;
    }
    .details-section {
        flex-direction: column;
    }
    .intro-box {
        flex-direction: column;
    }
}
