/* ============================================
   THE FIT MASTER CINCINNATI - STYLESHEET
   Design: Premium Minimalist with Sophisticated Depth
   Color Palette: White, Deep Charcoal, Light Gray, Deep Blue (#1E3A8A), Gold (#D4AF37)
   Typography: Poppins (Display) + Inter (Body)
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-header {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 16px 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1E3A8A;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    flex: 1;
}

.nav-links a {
    font-weight: 500;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1E3A8A;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn-header {
    background-color: #1E3A8A;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.cta-btn-header:hover {
    background-color: #152d5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

@media (max-width: 768px) {
    .navbar-content {
        gap: 16px;
    }

    .nav-links {
        display: none;
    }

    .cta-btn-header {
        padding: 8px 16px;
        font-size: 13px;
    }

    .logo h1 {
        font-size: 20px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(30, 58, 138, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-phone-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 18px;
    font-weight: 600;
}

.phone-label {
    opacity: 0.9;
}

.phone-number {
    color: #D4AF37;
    font-size: 24px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.cta-btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background-color: #D4AF37;
    color: #1a1a1a;
}

.cta-btn.primary:hover {
    background-color: #c99f2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.cta-btn.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-btn.secondary:hover {
    background-color: #ffffff;
    color: #1E3A8A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .hero-phone-display {
        font-size: 16px;
    }

    .phone-number {
        font-size: 20px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 8px;
}

.highlight-label {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 100px 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(212, 175, 55, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.reason-item {
    text-align: center;
    padding: 20px;
}

.reason-icon {
    font-size: 32px;
    color: #1E3A8A;
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.reason-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.reason-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-form-section .section-header h2 {
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

.success-message {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 24px;
    border-radius: 6px;
    animation: slideInUp 0.4s ease;
}

.success-message h3 {
    color: #2e7d32;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.success-message p {
    color: #558b2f;
}

.error-message {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 6px;
    animation: fadeIn 0.3s ease;
}

/* Contact Info Section */

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-card {
    background-color: #f9f9f9;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.info-item {
    margin-bottom: 20px;
}

.info-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.info-item a {
    color: #1E3A8A;
    font-weight: 500;
}

.info-item a:hover {
    color: #152d5c;
    text-decoration: underline;
}

.info-item p {
    color: #333;
    line-height: 1.6;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.map-container h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section .section-header {
        text-align: center;
    }

    .contact-form-section .section-header h2 {
        text-align: center;
    }

    .contact-form button {
        align-self: center;
        width: 100%;
    }
}

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

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #D4AF37;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mb-20 {
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}
