/* style.css */

/* Root Variables */
:root {
    /* Fonts */
    font-size: 16px;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: sans-serif;

    /* Colors */
    --color-bg: #000000;
    --color-primary: #ffffff;
    --color-secondary: #cfcfcf;
    --color-accent: #DAA628;
    --color-text: #ffffff;
    --color-text-light: #ffffff;
    --color-text-link:var(--color-accent);
    
    /* Sizing */
    --size-base: 1rem;
    --size-spacing: 1.5rem;
    --size-small: 0.75rem;
    --size-large: 1.25rem;

    /* Breakpoints */
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body Styling */
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    background-image: url('../assets/jss-bcbg.jpg'); /* Path to your image */
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto;
    margin-bottom: 100px;
}

/* Layout Classes */

/* Containers */
.container {
    display: flex;
    flex-direction: column;
    padding: var(--size-spacing);
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 100vh; /* Full viewport height, adjust as needed */
    width: 100%;
    background-color: transparent;
    gap: var(--size-spacing);
}

.container-grid {
    display: grid;
    gap: var(--size-spacing);
    margin: 0 auto;
    max-width: 1200px;
    
}


/* Grid Template for Different Screen Sizes */
.container-grid-2 {
    grid-template-columns: 1fr 1fr;
}
.container-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Responsive Layout */
@media (max-width: var(--breakpoint-tablet)) {
    .container-grid-2, .container-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Header & Footer */
.header, .footer {
    background-color: var(--color-bg);
    color: var(--color-text-light);
    padding: var(--size-small);
    text-align: center;
}

/* Sticky Header & Footer */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(0,0,0,.8);
    width: 100%;
}

/* Navigation Menus */
.top-nav, .bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: var(--size-spacing);
    background-color: var(--color-accent);
}

.top-nav a, .bottom-nav a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: var(--size-base);
}

.top-nav a:hover, .bottom-nav a:hover {
    color: var(--color-bg);
}

/* Flexbox Columns & Rows */
.flex-row {
    display: flex;
    flex-direction: row;
    gap: var(--size-spacing);
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: var(--size-spacing);
}

/* Columns for Different Screen Sizes */
.column {
    flex: 1;
}
.column-2 {
    flex: 2;
}

@media (max-width:480px) {

    body {
        background-image:  linear-gradient(237deg, rgba(0,0,0,0) 53%, rgba(255,255,255,0.05) 54%, rgba(0,0,0,0.2) 54%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,1) 90%), /* Gradient slash overlay */
        url('../assets/jss-bcbg.jpg'); /* Path to your image */    
    }
}

/* Responsive Columns */
@media (max-width: var(--breakpoint-mobile)) {
    .flex-row {
        flex-direction: column;
    }   
}

/* Utility Classes */
.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.margin-auto {
    margin: auto;
}

.padding {
    padding: var(--size-spacing);
}

.no-padding {
    padding: 0;
}

.no-gap {
    gap: 0;
}
.small-gap {
    gap:1rem;
}

/* Typography */
.a, a {
    color: var(--color-text-link);
    text-decoration: none;
}
.a:hover, a:hover {
    text-decoration: underline;
}
.h1, h1 {
    font-size: 2rem;
    color: var(--color-primary);
    font-family: var(--font-secondary);
    font-weight:normal;
    line-height: 2rem;
    margin:0px;
    padding: 0px;
}
.h2, h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
}
.h3, h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.small-text {
    font-size: var(--size-small);
    color: var(--color-text);
}
.large-text {
    font-size: var(--size-large);
    color: var(--color-primary);
}
.upper {
    text-transform: uppercase;
}

.icon-24 {
    width: 1.5rem;
    height: 1.5rem;
}
.icon-36 {
    width: 2.25rem;
    height: 2.25rem;
}

.round-button {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-primary);
    border: 1px solid #ffffff;
    border-radius: 100%;
    display: flex; /* Align icon within round button */
    align-items: center;
    justify-content: center;
}

.cta-button {
    padding: .25rem .25rem .25rem 1rem;
    background-color: var(--color-primary);
    border: 1px solid #ffffff;
    border-radius: 2rem;
    display: flex; /* Make cta-button a flex container */
    align-items: center; /* Center items vertically */
    gap: 0.5rem; /* Space between text and round button */
}

.cta-button > span {
    line-height: 1; /* Prevents text from affecting alignment */
}

.footer-buttons {
    display: flex;
    justify-content: space-between; /* Push left and right sections to opposite sides */
    align-items: center; /* Vertically center all buttons */    
    width: 100%;
}

/* Left buttons grouped together */
.left-buttons {
    display: flex;
    gap: 0.5rem; /* Space between left-aligned buttons */
}

/* CUSTOM STYLES */
#title {
    top:200px;
    margin-top: 50vh;
}
#about {
    border-radius:1rem;
    padding:.5rem;
    background-color: rgba(51,51,51, 0.5); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Apply blur effect for frosted glass */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border-radius: 10px; /* Rounded corners (optional) */
    padding: 1.5rem; /* Add padding for inner spacing */
    border: 1px solid rgba(51,51,51, 0.3); /* Semi-transparent border */
    align-items: flex-start;
}
.spacer {padding: 2rem;}

/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: var(--color-primary);
    padding: .25rem;
    border-radius: 1rem;
    text-align: center;
    width: 75%;
    position: relative;
    color: var(--color-bg);
    max-width: 520px;
}

.modal-content h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--color-bg);
}
.modal-content .large-text {
    color:var(--color-bg);
    font-size: 2rem;
    text-transform: uppercase;
}

.qr-code {
    width: 60%;
    margin: 0px auto 60px auto;
}

/* Close Button */
.close-button {
    /* position: absolute; */
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}
#closeModalButton {
    flex-direction: row-reverse;
    padding: .5rem;
}

#linkedin {
    align-items: center;
    gap:.25rem;
}
