/*
 * Judged By Love - The Beautiful Marriage Project
 * Main Stylesheet
 */

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --primary-color: #826c4b;
    --primary-hover: #6b5a3f;
    --accent-gold: #c0a071;
    --accent-light: #efd39b;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #c4c4c4;
    --bg-dark: #333333;
    --bg-darker: #0f0f0f;
    --bg-light: #f5f5f5;
    --border-color: #111111;
    --font-primary: 'Montserrat', Arial, Helvetica, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* ========================================
   Layout & Container
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section--light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section--dark {
    background-color: var(--bg-dark);
}

.section--darker {
    background-color: var(--bg-darker);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(51, 51, 51, 0.95);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(28, 28, 28, 0.98);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.logo__img {
    width: 40px;
    height: 40px;
}

.logo__text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 120px 20px 80px;
}

.hero__content {
    max-width: 800px;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.hero__subtitle {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.hero__tagline {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-light);
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn--gold {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn--gold:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background-color: var(--bg-dark);
}

.about__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about__text em {
    color: var(--accent-light);
    font-style: italic;
}

/* ========================================
   Vision Section
   ======================================== */
.vision {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vision__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    background-color: var(--bg-dark);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--bg-darker);
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background-color: var(--bg-darker);
    text-align: center;
    padding: 60px 20px;
}

.cta__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background-color: var(--bg-dark);
    padding: 80px 20px;
}

.testimonials__slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 40px;
}

.testimonial__text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial__author {
    font-weight: 600;
    color: var(--accent-light);
}

.testimonial__location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.testimonials__dot.active {
    background-color: var(--primary-color);
}

/* ========================================
   Blog Section
   ======================================== */
.blog {
    background-color: var(--bg-darker);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.blog-card__image {
    height: 200px;
    background-color: var(--bg-darker);
    background-size: cover;
    background-position: center;
}

.blog-card__content {
    padding: 25px;
}

.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-card__title a:hover {
    color: var(--primary-color);
}

.blog__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/contact-bg.jpg') center/cover no-repeat;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact__title {
    font-size: 2.5rem;
}

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--bg-darker);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer__text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__links {
    margin-top: 1rem;
}

.footer__links a {
    color: var(--text-muted);
    margin: 0 10px;
}

.footer__links a:hover {
    color: var(--primary-color);
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* ========================================
   Page Header (for inner pages)
   ======================================== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/page-header-bg.jpg') center/cover no-repeat;
    padding: 180px 20px 120px;
    text-align: center;
}

.page-header__title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header__breadcrumb {
    color: var(--accent-light);
}

.page-header__breadcrumb a {
    color: var(--accent-light);
}

.page-header__breadcrumb a:hover {
    color: var(--text-light);
}

/* ========================================
   Content Page Styles
   ======================================== */
.content-section {
    padding: 60px 20px;
}

.content-section h2 {
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 1.5rem;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.content-section ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.content-section strong {
    color: var(--text-light);
}

.content-section em {
    color: var(--accent-light);
}

/* ========================================
   Coaching Page Specific
   ======================================== */
.coaching-types h2 {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-top: 2.5rem;
}

.coaching-steps {
    margin: 2rem 0;
}

.coaching-steps p {
    font-size: 1.1rem;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-darker);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
    }

    .nav__link {
        font-size: 1rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .blog__grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 140px 20px 80px;
    }

    .page-header__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__tagline {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}

/* ========================================
   Mobile Menu Overlay
   ======================================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Close Button for Mobile Menu
   ======================================== */
.nav__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}
