/* Base Styles - Common styles used across all pages */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Logo Styles */
.custom-logo-link {
    display: block;
}

.custom-logo-link img {
    max-height: 100px;
    width: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 1;
}

.btn-primary {
    background-color: #ff0000;
    color: white;
    flex-shrink: 1;
}

.btn-primary:hover {
    background-color: #b30000;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color:  #ff0000;
    transform: translateY(-2px);
}

/* Common Components */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--wp--preset--color--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    .main-navigation {
        display: none;
    }
    .main-navigation.toggled {
        display: block;
        margin-top: 42px;
    }
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem 0; /* Increased top padding */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.header-hidden {
    transform: translateY(-100%);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: #000000;
    text-decoration: none;
}

.main-navigation {
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0 1rem;
    position: relative;
}

.main-navigation a {
    color: #000000;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: #ff0000;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

/* Footer Styles */
.site-footer {
    background-color: #0c3043;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-branding .site-title {
    margin-bottom: 1rem;
}

.footer-branding .site-title a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.footer-nav h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-nav h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 40px;
    height: 2px;
    background-color: #ff0000;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav ul {
        text-align: center;
    }

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

    .social-links {
        justify-content: center;
    }
}

.menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    font-size: 1.5rem;
    color: red;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    position: relative;
}

@media (max-width: 768px) {
    .menu-toggle {
        position: relative; /* or fixed if you want it always visible */
        right: 0;
        top: 0;
    }
}