/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Comparison Table Style */

.ramp-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.ramp-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--accent);
    border-bottom: none;
    row-gap: 5px;
}

.ramp-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--accent);
}

.ramp-header {
    background: #666;
    font-weight: bold;
    color: #fff;
}

.ramp-cell {
    padding: 16px;
    text-align: center;
    color: #fff;
    background: #777;
}

.ramp-service {
    text-align: left;
    background: #6f6f6f;
    font-size: 17px;
    font-weight: bold;
}

.ramp-highlight {
    background: linear-gradient(135deg, #2b2b2b, #3a3a3a);
}

.ramp-check {
    color: #00c853;
    font-size: 20px;
}

.ramp-cross {
    color: #ff5252;
    font-size: 20px;
}

/* TABLET */
@media (max-width: 1024px) {
    .ramp-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* MOBILE STACK */
@media (max-width: 768px) {
    .ramp-row {
        grid-template-columns: 1fr;
    }

    .ramp-header {
        display: none;
    }

    .ramp-cell {
        text-align: left;
        padding: 12px;
        border-bottom: 1px solid #555;
    }

    .ramp-cell::before {
        display: block;
        font-size: 12px;
        color: #ccc;
        margin-bottom: 4px;
    }

    .ramp-cell:nth-child(2)::before {
        content: "Traditional 1:1 PT";
        font-size: 18px;
        font-weight: bold;
    }

    .ramp-cell:nth-child(3)::before {
        content: "RAMP Fitness";
        font-size: 18px;
        font-weight: bold;
    }
}

/* Contact Form 7 */

/* Layout */
.rf-form {
    max-width: 900px;
}

.rf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rf-field.rf-full {
    grid-column: span 2;
}

/* Input wrapper */
.rf-input {
    position: relative;
    display: block;
}

/* Inputs */
.rf-input input,
.rf-input textarea {
    width: 100%;
    background: #2a2a2a;
    border: none;
    border-radius: 6px;
    border: solid 2px transparent;
    padding: 15px 42px 15px 15px;
    color: var(--base-2) !important;
    font-size: 16px;
    outline: none;
    /* transition: all 0.3s ease; */
}

/* Textarea specific */
.rf-textarea textarea {
    min-height: 140px;
    resize: none;
}

/* Placeholder */
.rf-input input::placeholder,
.rf-input textarea::placeholder {
    color: #9a9a9a;
}

/* Focus state */
.rf-input input:focus,
.rf-input textarea:focus {
    background: #222222;
    border: solid 2px var(--accent);
}

/* Icon base */
.rf-icon {
    position: absolute;
    right: 16px;
    top: 28px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

/* Move icon for textarea */
.rf-textarea .rf-icon {
    top: 20px;
    transform: none;
}

/* Button */
.rf-button {
    background: var(--accent);
    color: var(--base-2);
    border: none;
    padding: 18px 40px;
    border-radius: 6px;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rf-button:hover {
    background: #c40811;
    transform: translateY(-2px);
    color: var(--base-2);
}

.rf-form p {
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .rf-row {
        grid-template-columns: 1fr;
    }

    .rf-field.rf-full {
        grid-column: span 1;
    }
}