/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

@font-face {
    font-family: 'Cera';
    src: url(fonts/Cera-Pro-Regular.ttf) format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Cera';
    src: url(fonts/Cera-Pro-Medium.ttf) format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Cera';
    src: url(fonts/Cera-Pro-Bold.ttf) format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'Blacklist';
    src: url(fonts/Blacklist-Bold.ttf) format('truetype');
    font-weight: 700;
}

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

body {
    background-color: #f8f9fa;
    font-family: 'Cera', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header__main {
    width: 100%;
    max-width: 1440px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.u-cross-stretched-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.u-cross-centered-row {
    display: flex;
    align-items: center;
}

.header__center-area {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    max-height: 40px;
}

@media (max-width: 1000px) {
    .header .header__logo {
        left: 70px;
    }
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.u-margin-auto {
    margin-left: auto;
    margin-right: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    align-items: center;
}

.u-center-on-cross {
    align-items: center;
}

.column-6 {
    padding-left: 15px;
    padding-right: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .column-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .column-6:last-child {
        margin-bottom: 0;
    }
}

/* Typography */
.t-header-xxlarge {
    font-family: 'Blacklist', 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.t-base-medium, .t-base-small {
    font-family: 'Cera', Arial, sans-serif;
}

.t-base-medium {
    font-size: 1.1rem;
    color: #555;
    font-weight: 400;
}

.t-base-small {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Utility Classes */
.u-margin-b-2 {
    margin-bottom: 2rem;
}

.u-margin-b-6 {
    margin-bottom: 6rem;
}

.u-cover {
    object-fit: cover;
}

.u-fullwidth {
    width: 100%;
}

/* Content Wrapper */
.content-wrapper {
    padding: 0;
    position: relative;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Law Icon */
.law-icon {
    width: 250px;
    height: 250px;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.law-icon:before {
    content: '\f0e3'; /* Gavel icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 80px;
    color: #2c3e50;
}

/* Reload Card */
.reload-card {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    gap: 10px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
    z-index: 100;
}

#timer {
    font-weight: 700;
    color: #e74c3c;
}

/* Page Container */
.page-container {
    background-color: #f8f9fa;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

@media (max-width: 1000px) {
    .page-container {
        text-align: center;
    }
}

/* Footer */
.footer {
    flex-wrap: nowrap;
}

.footer__main {
    align-items: center;
    display: flex;
    flex: 0 0 100%;
    order: 1;
    padding-bottom: 1.875rem;
    padding-top: 1.875rem;
}

.footer__logo {
    margin-right: 0 !important;
}

/* Paint Background */
.paint-background {
    height: 300px;
    object-position: bottom;
    margin-bottom: 25px;
}

@media (min-width: 1000px) {
    .paint-background {
        height: 450px;
        margin-bottom: 0;
    }
}

/* Law Maintenance Special Styles */
.law-maintenance {
    background-color: #f8f9fa;
}