/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


 /* Basic Reset & Typography */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #FF6B6B;
}

/* Header & Navigation */
.hero {
    background-image: url(https://matchly.life/wp-content/uploads/2024/02/couplesmiling-1-2048x1365.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:  0% 17%;
    color: white;
    padding: 12.5% 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.hero nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
}

.hero nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.hero nav ul li {
    margin-left: 25px;
}

.hero nav ul li a {
    color: white;
    font-weight: 400;
    transition: color 0.3s ease;
}

.hero nav ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    background-color: white;
    color: #FF6B6B;
    padding: 15px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #f0f0f0;
}

.btn-secondary {
    background-color: #FF6B6B;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #E05A5A;
    border-color: #E05A5A;
}

/* Features Grid Section */
.features-grid {
    background-color: #f0f2f5;
    padding: 40px 0;
    text-align: center;
}

.features-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    color: #FF6B6B;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 0.9em;
    color: #777;
    margin: 0;
}

/* CTA Form Section */
.cta-form-section {
    padding: 80px 0;
    background-color: white;
}

.cta-form-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h2 {
    font-size: 2.8em;
    color: #FF6B6B;
    line-height: 1.1;
}

.cta-text p {
    font-size: 1.1em;
    color: #555;
}

.match-form {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: left;
}

.match-form p {
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
}

.match-form select, .match-form input[type="number"], .match-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #FF6B6B;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cta-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #FFB64B 0%, #FF6B6B 100%);
    color: white;
    padding: 80px 0;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h3 {
    color: white;
    font-size: 2.0em;
    line-height: 1.3;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Info Grid Section */
.info-grid-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.info-grid-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card h3 {
    color: #FF6B6B;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.info-card p {
    color: #555;
    font-size: 0.95em;
}

/* How It Works Alt Section */
.how-it-works-alt {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f2f5;
}

.how-it-works-alt h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.steps-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step-alt {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step-alt:hover {
    transform: translateY(-10px);
}

.step-alt img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.step-alt h3 {
    color: #FF6B6B;
    font-size: 1.5em;
}

/* Trust and Safety Section */
.trust-safety-section {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFB64B 100%);
    color: white;
    padding: 80px 0;
}

.trust-safety-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-safety-section img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.trust-safety-content {
    flex: 2;
    min-width: 300px;
}

.trust-safety-content h2 {
    color: white;
    font-size: 2.8em;
}

.trust-safety-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.success-stories-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.success-stories-section > p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 50px;
}

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

.story-card {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.story-card h3 {
    font-size: 1.4em;
    color: #FF6B6B;
    margin-bottom: 5px;
}

.story-card h4 {
    font-size: 1em;
    color: #777;
    margin-bottom: 15px;
    font-weight: 400;
}

.story-card p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

.story-card p a {
    color: #FF6B6B;
    font-weight: 700;
}

/* Popular Members Section */
.popular-members-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f2f5;
}

.popular-members-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.popular-members-section > p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.member-categories {
    margin-bottom: 30px;
}

.btn-category {
    background-color: white;
    color: #FF6B6B;
    border: 2px solid #FF6B6B;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-category:hover, .btn-category.active {
    background-color: #FF6B6B;
    color: white;
}

.member-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.member-card-popular {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.member-card-popular:hover {
    transform: translateY(-10px);
}

.member-card-popular img {
    width: 120px!important;
    height: 120px!important;
    border-radius: 50%!important;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #FF6B6B!important;
}

.member-card-popular h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 5px;
}

.member-card-popular p {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85em;
}

/* Cities Section */
.cities-section {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.cities-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cities-section > p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.city-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.city-grid span {
    background-color: #f0f2f5;
    padding: 10px 20px;
    border-radius: 20px;
    color: #333;
    font-weight: 500;
}

/* Membership Section */
.membership-section {
    background: linear-gradient(135deg, #FFB64B 0%, #FF6B6B 100%);
    color: white;
    padding: 80px 0;
}

.membership-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.membership-content {
    flex: 1;
    min-width: 300px;
}

.membership-content h2 {
    color: white;
    font-size: 2.8em;
}

.membership-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.membership-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.membership-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
}

.social-links a {
    color: white;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF6B6B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero nav {
        flex-direction: column;
    }

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

    .hero nav ul li {
        margin: 0 10px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-form-section .container, .about-section .container, .trust-safety-section .container, .membership-section .container {
        flex-direction: column;
        text-align: center;
    }

    .cta-image, .about-image, .trust-safety-section img, .membership-image {
        order: -1; /* Image appears above text on mobile */
        margin-bottom: 30px;
    }

    .cta-text h2, .about-content h3, .trust-safety-content h2, .membership-content h2 {
        font-size: 2.2em;
    }

    .how-it-works-alt h2, .success-stories-section h2, .popular-members-section h2, .cities-section h2 {
        font-size: 2em;
    }

    .info-grid-section .container, .story-grid, .steps-alt {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
    }

    .social-links {
        margin-top: 20px;
    }
}
