@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');


:root {
    --primary-color: #d81b1b;
    --primary-dark: #991b1b;
    --dark-bg: #0f0f0f;
    --light-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-light: #f3f4f6;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --text-secondary: #444444;
    --primary-hover: #b91c1c;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    /* Removed padding-top here, leaving layout control to specific pages or components */
}

/* Global Button Styles */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid white;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--dark-bg);
}

/* Section Title Generic */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* Footer Global */
footer {
    background-color: var(--dark-bg);
    color: #9ca3af;
    padding: 4rem 2rem;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Global Image Frame Style */
.img-frame {
    position: relative;
    padding: 1rem;
}

.img-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    background-color: #ffe4e6;
    z-index: -1;
    border-radius: 12px;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

.back-to-top:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}