/*
Theme Name: Thai Marriage Agency
Theme URI: https://bridgetolvoe.com/
Author: Nativ HaLev
Description: Custom WordPress theme for Nativ HaLev Thai Marriage Agency.
Version: 1.0.0
Text Domain: thai-marriage-agency
*/

:root {
    --primary-color: #1282dd; /* Meyuchadim Primary */
    --primary-dark: #0b599c;
    --accent-color: #9d50a5; /* Meyuchadim Accent */
    --background-light: #f5f8fc; /* Meyuchadim BG */
    --card-bg: rgba(255, 255, 255, 0.75);
    --text-main: #111827;
    --text-muted: #4b5563;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --gradient-love: linear-gradient(135deg, #1282dd 0%, #9d50a5 100%);
}

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

body {
    font-family: 'Assistant', sans-serif;
    background-color: var(--background-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Classes (Light) */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(18, 130, 221, 0.08);
    border-radius: 16px;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-love);
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 99px; /* Pill shape like Meyuchadim */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(157, 80, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 80, 165, 0.5);
    color: #ffffff;
}

.w-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18, 130, 221, 0.1);
    padding: 1rem 0;
    transition: padding 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: url('https://images.unsplash.com/photo-1552465011-b4e21bf6e79a?auto=format&fit=crop&q=80') center/cover no-repeat;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(245, 248, 252, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--primary-dark);
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.95);
}

.hero h1 .highlight {
    background: var(--gradient-love);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.95);
}

/* Floating Hearts Animation */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    bottom: -10%;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    animation: floatUp 8s infinite linear;
}

.heart:nth-child(1) { left: 10%; animation-duration: 9s; animation-delay: 0s; }
.heart:nth-child(2) { left: 30%; animation-duration: 11s; animation-delay: 2s; font-size: 1.5rem; color: var(--primary-light); }
.heart:nth-child(3) { left: 50%; animation-duration: 7s; animation-delay: 4s; font-size: 3rem; }
.heart:nth-child(4) { left: 70%; animation-duration: 10s; animation-delay: 1s; }
.heart:nth-child(5) { left: 90%; animation-duration: 8s; animation-delay: 3s; font-size: 1.2rem; }

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: url('https://images.unsplash.com/photo-1549558549-415fe4c37b60?auto=format&fit=crop&q=80') center/cover fixed;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.25);
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-main);
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.95);
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-love);
    top: 0;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
    padding-left: 0;
    padding-right: 3rem;
}

.timeline-icon {
    position: absolute;
    top: 10px;
    right: -25px;
    width: 50px;
    height: 50px;
    background: var(--gradient-love);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(157, 80, 165, 0.4);
    border: 3px solid white;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: auto;
    left: -25px;
}

.timeline-content {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(18, 130, 221, 0.12);
}

.timeline-content h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0 6rem;
    background-color: var(--background-light);
}

.contact-box {
    max-width: 650px;
    margin: 0 auto;
    padding: 3.5rem;
    text-align: center;
}

.contact-box h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.contact-form {
    text-align: right;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(18, 130, 221, 0.2);
    background: white;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(18, 130, 221, 0.1);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    background: white;
    border-top: 1px solid rgba(18, 130, 221, 0.1);
    color: var(--text-muted);
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.visible { opacity: 1; transform: translate(0); }

/* Responsive constraints */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .timeline::before { right: 25px; transform: none; }
    .timeline-item { width: 100%; padding-left: 0; padding-right: 4rem; }
    .timeline-item:nth-child(even) { padding-right: 4rem; }
    .timeline-icon { right: 0; left: auto; }
    .timeline-item:nth-child(even) .timeline-icon { left: auto; right: 0; }
    .nav-links { display: none; }
}
