/* ==========================================================================
   Relocate to Azores — Master Stylesheet & Responsive Layouts
   ========================================================================== */

:root {
    --color-basalt: #1C1917;      /* Rich charcoal black for headers */
    --color-ocean: #0284C7;       /* Bright ocean blue */
    --color-moss: #15803D;        /* Deep forest green */
    --color-mist: #F5F3FF;        /* Distinct soft pastel purple background */
    --color-text-main: #292524;   /* Warm dark grey body text */
    --color-border: #D6D3D1;      /* Warm border grey */
}

/* Base Body Styling */
body {
    background-color: var(--color-mist) !important;
    color: var(--color-text-main) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-basalt) !important;
    font-weight: 800;
}

/* ==========================================================================
   Responsive Site Header Component
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    z-index: 60;
    color: var(--color-basalt);
}

.brand-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: var(--color-moss);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.desktop-nav a {
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.desktop-nav a:not(.nav-cta):hover {
    color: var(--color-ocean);
}

.nav-cta {
    background-color: var(--color-ocean);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Pure CSS Checkbox Hamburger Menu (No-JS Fallback Supported)
   ========================================================================== */
.menu-checkbox {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 60;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--color-basalt);
    border-radius: 9999px;
    transition: all 0.3s ease-in-out;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* Toggle open states using pure CSS sibling selectors */
.menu-checkbox:checked ~ .mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

.menu-checkbox:checked + .mobile-menu-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-checkbox:checked + .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}
.menu-checkbox:checked + .mobile-menu-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #1e293b;
}

.mobile-nav-links a:first-child {
    color: var(--color-ocean);
}

.mobile-cta {
    background-color: var(--color-ocean);
    color: white !important;
    padding: 0.875rem 2.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    text-decoration: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .mobile-menu-btn,
    .menu-checkbox,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* ==========================================================================
   Responsive Site Footer Component
   ========================================================================== */
.site-footer {
    background-color: var(--color-basalt);
    color: #A8A29E;
    border-top: 1px solid #292524;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-inner {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-brand p {
    font-size: 0.875rem;
    color: #A8A29E;
    line-height: 1.5;
    max-width: 24rem;
    margin: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links-grid h4 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

.footer-links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-grid a {
    color: #A8A29E;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-grid a:hover {
    color: white;
}

.footer-bottom {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #292524;
    font-size: 0.75rem;
    color: #78716C;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

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

/* ==========================================================================
   Forms & Buttons Utility Components
   ========================================================================== */
.form-input {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-basalt);
    outline: none;
}

.btn-primary {
    display: inline-block;
    width: 100%;
    background-color: var(--color-ocean);
    color: #FFFFFF;
    font-weight: 600;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}