/*
Theme Name: Hopeok Dating
Theme URI: https://hopeok.com
Author: Antigravity
Author URI: https://hopeok.com
Description: A modern, clean WordPress theme for the Hopeok Christian Dating community. Designed to be fully compatible with Elementor.
Version: 1.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hopeok
Tags: custom-colors, custom-menu, elementor-ready, dating, full-width-template
*/

/* 
 * The CSS from the HTML template is enqueued via a separate file (assets/css/main.css)
 * or we can put it directly here. Let's put all the CSS here for simplicity.
 */

:root {
    --primary-color: #C6A87C;
    --primary-hover: #B5956A;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FAF5ED;
    --bg-blue: #E5F2F5;
    --bg-white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --logo-blue: #3A87B7;
    --logo-cross: #C6A87C;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid var(--text-light);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1rem;
    border-radius: 30px;
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--logo-blue);
    position: relative;
}

.logo-icon::after {
    content: '+';
    position: absolute;
    color: var(--logo-cross);
    font-size: 1rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--logo-blue);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:hover, .nav a.active {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-content p.subtitle {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(250,245,237,1) 0%, rgba(250,245,237,0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Shared Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Features */
.features {
    background-color: var(--bg-blue);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Success Stories */
.success-stories {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.story-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.story-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.story-content {
    padding: 30px;
    text-align: center;
}

.story-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.story-content p {
    font-style: italic;
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-blue);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: rgba(0,0,0,0.1);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* New Faces */
.new-faces {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.faces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.face-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.face-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.face-info {
    padding: 15px;
}

.face-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.face-info h4 i {
    color: var(--primary-color);
    margin-left: 5px;
    margin-right: 2px;
}

/* Footer */
.site-footer {
    background-color: var(--bg-white);
    padding: 40px 0 20px;
    border-top: 1px solid #eee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid, .steps-grid, .faces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stories-grid {
        grid-template-columns: 1fr;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .features-grid, .steps-grid, .faces-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    color: #ffffff;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* Registration Consent Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-box {
    background-color: var(--bg-white);
    border-radius: 15px;
    width: 100%;
    max-width: 480px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
}

.modal-box h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;

}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.consent-group {
    margin-top: 15px;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
}
