/*
Theme Name: Ceres Fitness
Template: twentytwentyfive
Description: A professional fitness website theme with a green and blue color scheme.
Version: 1.0.0
Author: Ceres Fitness
Text Domain: ceres-fitness
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --cf-green:        #27ae60;
    --cf-dark-green:   #1e8449;
    --cf-blue:         #2980b9;
    --cf-dark-blue:    #1a5276;
    --cf-light-green:  #eafaf1;
    --cf-light-blue:   #ebf5fb;
    --cf-dark:         #1c2833;
    --cf-white:        #ffffff;
}

/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.site-header .wp-block-site-title a {
    color: var(--cf-green) !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.site-header .wp-block-navigation a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
}

.site-header .wp-block-navigation a:hover,
.site-header .wp-block-navigation .current-menu-item > a {
    color: var(--cf-green) !important;
    border-bottom-color: var(--cf-green);
}

/* =============================================
   HERO SECTION
   ============================================= */
.fitness-hero .wp-block-cover__inner-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12) !important;
}

/* =============================================
   BUTTONS
   ============================================= */
.wp-block-button .wp-element-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
}

.wp-block-button .wp-element-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 0.9;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    margin-bottom: 16px;
    background: #ffffff;
    color: var(--cf-dark);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--cf-green);
    box-shadow: 0 0 0 3px rgba(39,174,96,0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--cf-dark);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form button[type="submit"] {
    background: var(--cf-green);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.contact-form button[type="submit"]:hover {
    background: var(--cf-dark-green);
    transform: translateY(-2px);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer a {
    color: #aed6f1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--cf-green) !important;
}

/* =============================================
   UTILITY
   ============================================= */
.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cf-green);
    margin-bottom: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 781px) {
    .fitness-hero .wp-block-cover__inner-container {
        padding: 0 16px;
    }

    .wp-block-columns.alignwide {
        flex-wrap: wrap;
    }
}
