/* ==========================================================================
   CORE SYSTEM (GLOBAL SETTINGS)
   - Typography
   - Base colours
   - Default spacing
   ========================================================================== */

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Default page wrapper */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ==========================================================================
   TYPOGRAPHY + LINKS
   ========================================================================== */

a {
    color: #333;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #b19db2;
}

/* ==========================================================================
   HEADER + NAVIGATION (GLOBAL)
   ========================================================================== */

.main-header {
    padding: 40px 0 20px 0;
    text-align: center;
}

.site-logo {
    width: 150px;
    height: auto;
}

.top-nav {
    margin-top: 20px;
}

.top-nav a {
    font-size: 20px;
    margin: 0 15px;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ==========================================================================
   UI COMPONENTS (REUSABLE ELEMENTS)
   ========================================================================== */

.divider-text {
    width: 85%;
    margin: 60px auto;
    text-align: center;
    border-bottom: 1px solid #eee;
    line-height: 0.1em;
}

.divider-text span {
    background: #fff;
    padding: 0 25px;
    color: #999;
    font-size: 18px;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

.hero-full {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

.services-circle-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 30px;
}

.service-card {
    text-align: center;
    width: 300px;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-circle-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-heading {
    font-size: 28px;
    font-weight: 700;
    text-decoration: underline;
    margin: 10px 0;
    color: #333;
}

.service-explanation {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    max-width: 260px;
    margin: 0 auto;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-content h1 {
    font-weight: 300;
    font-size: 32px;
    text-align: center;
}

.subtitle {
    font-weight: 100;
    font-size: 32px;
    text-align: center;
}

/* ==========================================================================
   REFERRALS PAGE
   ========================================================================== */

.referral-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
}

.referral-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 300px;
    text-decoration: none;
}

.referral-tile img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.tile-label {
    margin-top: 10px;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    display: block;
    width: 100%;
}

/* ==========================================================================
   PAYMENTS PAGE
   ========================================================================== */

.split-layout {
    display: flex;
    min-height: 80vh;
    align-items: stretch;
}

/* ==========================================================================
   CONTACT PAGE (UPDATED + FIXED SPLIT)
   ========================================================================== */

.contact-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

/* Left side form */
.contact-form-side {
    flex: 1;
    min-width: 300px;
}

/* Right side info */
.contact-info-side {
    flex: 1;
    min-width: 300px;
}

/* Info spacing */
.info-block {
    margin-top: 20px;
}

/* Form fields */
.form input,
.form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.bottom-bar {
    text-align: center;
    padding: 60px 0;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 900px) {

    .services-circle-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
    }

    .split-layout {
        flex-direction: column;
    }

    .contact-flex {
        flex-direction: column;
        gap: 30px;
    }
}
