/*
 * Global styles for the Mindset Coach landing page.
 * Uses a very dark green backdrop with gold accents to convey
 * luxury and tranquility. Flexbox centers the card on any screen.
 */

/*
 * Base styling for all pages.  We introduce a subtle radial gradient
 * to give the background depth and richness while maintaining the
 * luxurious dark‑green palette.  Text throughout the site uses a
 * modern sans‑serif (Montserrat) paired with an elegant serif
 * (Playfair Display) for headings.  The page is flex‑centered so
 * content remains vertically centred on all screen sizes.
 */
body {
    background: radial-gradient(circle at top center, #002c18 0%, #00180E 100%);
    color: #bfa15f;
    /* Use a strong, modern sans serif for the body text */
    font-family: 'Open Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Headings use Roboto Slab for a bold, masculine feel */
h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    margin: 0;
}

/*
 * Wrapper card containing all content. It is centered and
 * responsive, with a subtle border and rounded corners.
 */
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 32px;
    width: 90%;
    max-width: 620px;
    border: 1px solid #bfa15f;
    border-radius: 20px;
    overflow: hidden;
    /* Subtle shadow to elevate the card */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    /* Fade in the card on load */
    animation: fadeInUp 0.6s ease both;
}

/*
 * Profile image styling. Circular with a gold border.
 */
.profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #bfa15f;
}

/*
 * Signature image styling. Enlarged slightly so the
 * handwritten signature stands out more prominently without
 * overwhelming the design. Margin keeps space below the photo.
 */
.signature-img {
    width: 260px;
    margin-top: 16px;
}

/*
 * Link styling: gold colour and subtle underline on hover.
 */
a {
    color: #bfa15f;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Action buttons (Bio and Contact) on the home page */
/* Container for action links on the home page */
.action-buttons {
    /* Container for the Bio and Contact buttons on the home page */
    display: flex;
    flex-direction: column;
    /* Center the action buttons horizontally */
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    width: 100%;
}

/* Styled link that looks like a card with rounded corners */
.action-button {
    /* Styled link that looks like a pill-shaped card with an icon and text */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #bfa15f;
    /* Use a larger border radius to create a soft pill shape */
    border-radius: 32px;
    color: #bfa15f;
    text-decoration: none;
    font-weight: bold;
    /* Let the button size itself based on its content */
    width: auto;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.action-button:hover {
    background-color: rgba(191, 161, 95, 0.1);
    transform: scale(1.05);
}

/* Contact page container */
.contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #bfa15f;
    border-radius: 16px;
    padding: 32px;
}

/* Grouping container for contact cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Individual contact card styling */
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border: 1px solid #bfa15f;
    border-radius: 32px;
    color: #bfa15f;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 400px;
    justify-content: center;
}

.contact-card:hover {
    background-color: rgba(191, 161, 95, 0.1);
    transform: scale(1.05);
}

/* Icon size inside contact card */
/* Size for the icon images inside contact cards */
.contact-card .card-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Text styling inside contact cards */
.contact-card .label {
    font-size: 18px;
}

/* Grid layout for contact items */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

/* Individual contact item in the grid */
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border: 1px solid #bfa15f;
    border-radius: 16px;
    color: #bfa15f;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
    /* Remove any default background so icons sit on the dark green backdrop */
    background-color: transparent;
}

.contact-item:hover {
    background-color: rgba(191, 161, 95, 0.1);
}

/* Icon size within contact items */
.contact-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* Ensure icons have no white background; they should be transparent */
    background-color: transparent;
    background: none;
}

/* Label styling within contact items */
.contact-item .label {
    font-size: 16px;
}

/*
 * Pill-style buttons for the contact page. These mirror the look and feel of
 * the action buttons on the home page while allowing multiple items to
 * wrap naturally into two columns on narrow screens. Each button
 * contains an icon and text.
 */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #bfa15f;
    border-radius: 32px;
    color: #bfa15f;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-button:hover {
    background-color: rgba(191, 161, 95, 0.1);
    transform: scale(1.05);
}

.contact-button .button-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* About page container styling */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #bfa15f;
    border-radius: 16px;
    padding: 32px;
}

/*
 * Tagline styling on the home page.  Increase the font size and line height
 * for readability, constrain the width for a clean layout, and add
 * vertical spacing around it.
 */
.tagline {
    font-size: 20px;
    line-height: 1.6;
    max-width: 540px;
    margin: 12px 0 32px;
}

/* =================== Subscribe Page Styles =================== */

/* Container for the subscribe form. Mirrors the look of the
   other pages: centered with a golden border and dark green backdrop. */
.subscribe-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #bfa15f;
    border-radius: 16px;
    padding: 32px;
}

/* Layout for the subscription form */
.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Each form field container */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

/* Labels for form inputs */
.form-field label {
    color: #bfa15f;
    font-weight: bold;
    font-size: 14px;
}

/* Text inputs */
.form-field input {
    padding: 12px 24px;
    border: 1px solid #bfa15f;
    border-radius: 24px;
    background-color: transparent;
    color: #bfa15f;
    font-size: 16px;
    outline: none;
    width: 100%;
    /* Smooth transition for focus and hover */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-field input:focus {
    border-color: #e0cda1;
    box-shadow: 0 0 0 2px rgba(191, 161, 95, 0.3);
}

/* Input icon classes removed to maintain a clean, modern form. */

/* Submit button styling, similar to other pill buttons */
.submit-button {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #bfa15f;
    border-radius: 32px;
    color: #bfa15f;
    background-color: transparent;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: rgba(191, 161, 95, 0.1);
    transform: scale(1.05);
}

/*
 * MailerLite embedded form styling
 * --------------------------------
 * When you paste your MailerLite embed snippet into .subscribe-embed,
 * these rules override MailerLite’s default white inputs and make the
 * form match your site’s pill, gold-on-dark aesthetic.
 */
.subscribe-embed {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Ensure the embed doesn't overflow the card */
.subscribe-embed .ml-form-embedContainer,
.subscribe-embed .ml-form-embedWrapper,
.subscribe-embed .ml-form-embedBody,
.subscribe-embed .ml-form-formContent,
.subscribe-embed form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Inputs */
.subscribe-embed .ml-form-fieldRow input,
.subscribe-embed .ml-form-horizontalRow input,
.subscribe-embed .ml-form-fieldRow textarea,
.subscribe-embed .ml-form-horizontalRow textarea {
    padding: 12px 24px !important;
    border: 1px solid #bfa15f !important;
    border-radius: 24px !important;
    background: transparent !important;
    color: #bfa15f !important;
    font-size: 16px !important;
    font-family: 'Open Sans', sans-serif !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.subscribe-embed .ml-form-fieldRow input:focus,
.subscribe-embed .ml-form-horizontalRow input:focus,
.subscribe-embed .ml-form-fieldRow textarea:focus,
.subscribe-embed .ml-form-horizontalRow textarea:focus {
    border-color: #e0cda1 !important;
    box-shadow: 0 0 0 2px rgba(191, 161, 95, 0.3) !important;
}

.subscribe-embed .ml-form-fieldRow input::placeholder,
.subscribe-embed .ml-form-horizontalRow input::placeholder,
.subscribe-embed .ml-form-fieldRow textarea::placeholder,
.subscribe-embed .ml-form-horizontalRow textarea::placeholder {
    color: rgba(191, 161, 95, 0.65) !important;
}

/* Field labels (if your MailerLite form shows them) */
.subscribe-embed .ml-form-fieldRow label,
.subscribe-embed .ml-form-horizontalRow label {
    color: #bfa15f !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Submit button */
.subscribe-embed .ml-form-embedSubmit button,
.subscribe-embed button.primary,
.subscribe-embed .ml-submit-btn {
    display: inline-block !important;
    padding: 12px 24px !important;
    border: 1px solid #bfa15f !important;
    border-radius: 32px !important;
    color: #bfa15f !important;
    background: transparent !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.subscribe-embed .ml-form-embedSubmit button:hover,
.subscribe-embed button.primary:hover,
.subscribe-embed .ml-submit-btn:hover {
    background-color: rgba(191, 161, 95, 0.1) !important;
    transform: scale(1.05);
}

/* Success message styling (if you use MailerLite’s built‑in success message) */
.subscribe-embed .ml-form-successBody,
.subscribe-embed .ml-form-successContent {
    background: transparent !important;
    color: #bfa15f !important;
}
/* Button icon inside action buttons */
/*
 * Icon used inside the Bio and Contact buttons.  Keep the icon
 * proportionate to the text so it complements rather than overwhelms
 * the label.  Adjust the size down slightly from the default.
 */
.button-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Home icon link: center the icon and provide spacing below */
.home-link {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.home-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Home anchor groups the icon and label vertically */
.home-anchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #bfa15f;
    text-decoration: none;
    font-weight: bold;
}

/* Label below the home icon */
.home-label {
    font-size: 12px;
}


/* Icon used inside the action buttons */
.action-button .button-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Footer styling for all pages */
.footer {
    margin-top: 24px;
    font-size: 12px;
    color: #bfa15f;
    text-align: center;
}
.footer a {
    color: #bfa15f;
    text-decoration: none;
}

/* Fade in card from below on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
