/* ===== YOUR ORIGINAL WORKING STYLES - RESTORED ===== */
/* This brings back your beautiful gold menu and correct layout */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0b0b;
    color: #e0e0e0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION - YOUR GOLD MENU RESTORED ===== */
.main-header {
    background: #0b0b0b;
    border-bottom: 1px solid #222;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-gold {
    color: #d4af37;
    border: 1px solid #d4af37;
    background: transparent;
}

.nav-gold:hover {
    background: #d4af37;
    color: #0b0b0b;
}

.nav-green {
    color: #2ecc71;
    border: 1px solid #2ecc71;
    background: transparent;
}

.nav-green:hover {
    background: #2ecc71;
    color: #0b0b0b;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #d4af37;
    cursor: pointer;
}

/* ===== HERO & FEATURED IMAGES - RESTORED NORMAL SIZES ===== */
.hero-section {
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Featured au pairs grid - restored normal image sizes */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.featured-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.featured-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    margin-bottom: 15px;
}

/* Stats section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    display: block;
}

.stat-label {
    color: #aaa;
    font-size: 0.9rem;
}

/* Cards for How It Works, etc. */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.info-card .icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.info-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.testimonial-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 30px;
}

.testimonial-text {
    font-style: italic;
    color: #ccc;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #d4af37;
    font-weight: 600;
}

/* ===== FORM PAGES (register, family_register, etc.) ===== */
.form-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
}

.form-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.form-container h1 span.gold-text {
    color: #d4af37;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn.gold {
    background: #d4af37;
    color: #0b0b0b;
}

.btn.gold:hover {
    background: #c6a22e;
}

.btn.green {
    background: #2ecc71;
    color: #0b0b0b;
}

.btn.green:hover {
    background: #27ae60;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.alert.error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.alert.success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #111;
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
    }
    
    .main-nav.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-container {
        padding: 20px;
        margin: 30px 15px;
    }
}

/* ===== FIX FOR RECENTLY JOINED AU PAIRS SECTION ===== */
/* This properly sizes and styles the "Recently Joined Au Pairs" grid */
.aupair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.aupair-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.aupair-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.aupair-card img {
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 3px solid #d4af37 !important;
    margin-bottom: 15px;
    display: inline-block;
}

.aupair-card a {
    text-decoration: none;
    color: inherit;
}

/* Optional: if you have name and location inside the card, style them */
.aupair-card h3,
.aupair-card .name {
    color: #fff;
    font-size: 1.2rem;
    margin: 10px 0 5px;
}

.aupair-card p,
.aupair-card .location {
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== ADDITIONAL PREMIUM STYLES FOR REGISTRATION PAGES & HERO ===== */
/* These styles power the new luxury hero and registration pages */

/* Premium Hero Section */
.luxury-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0;
    background: #0a0a0a;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    animation: heroParticles 25s infinite alternate;
}

@keyframes heroParticles {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.8; }
}

.hero-gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    opacity: 0.92;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge-icon, .badge-trophy {
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.badge-text {
    color: #d4af37;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
}

.hero-main-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', serif;
}

.title-line {
    display: block;
}

.gold-gradient {
    background: linear-gradient(135deg, #d4af37, #f5e7a3, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-description {
    font-size: 1.3rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #d4af37, #b38f2e);
    border-radius: 50px;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 50px;
    color: #d4af37;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: #d4af37;
    color: #0a0a0a;
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
}

.stat-divider {
    width: 2px;
    height: 30px;
    background: #333;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Premium Registration Pages */
.premium-register-page {
    position: relative;
    min-height: 100vh;
    padding: 80px 0;
    background: #0a0a0a;
    overflow: hidden;
}

.register-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.register-header-premium {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.header-floating-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #d4af37;
    animation: floatIcon 4s infinite alternate;
}

@keyframes floatIcon {
    0% { transform: translateY(0); box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    100% { transform: translateY(-10px); box-shadow: 0 0 40px rgba(212, 175, 55, 0.4); }
}

.register-title-premium {
    font-size: 4rem;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
}

.title-gold {
    color: #d4af37;
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
}

.title-white {
    color: #fff;
    display: block;
    font-size: 4rem;
    font-weight: 700;
}

.title-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.underline-gold {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.title-underline i {
    color: #d4af37;
    font-size: 1.2rem;
    opacity: 0.7;
}

.register-subtitle-premium {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.register-grid-premium {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Form Column */
.form-card-luxury {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
}

.form-card-title {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond', serif;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.premium-form .form-row {
    margin-bottom: 20px;
}

.premium-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.95rem;
}

.premium-form .form-group label i {
    color: #d4af37;
    width: 20px;
}

.premium-form .form-group input,
.premium-form .form-group select,
.premium-form .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: #222;
    border: 1px solid #333;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-form .form-group input:focus,
.premium-form .form-group select:focus,
.premium-form .form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.file-upload-area {
    position: relative;
    padding: 30px;
    background: #1a1a1a;
    border: 2px dashed #333;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #d4af37;
    background: #222;
}

.file-upload-area i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.file-upload-area span {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
}

.file-upload-area input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.form-terms {
    margin: 30px 0 20px;
}

.checkbox-premium {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ccc;
}

.checkbox-premium input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-premium .checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: #222;
    border: 2px solid #444;
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
}

.checkbox-premium input:checked ~ .checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.checkbox-premium .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #0a0a0a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-premium input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text a {
    color: #d4af37;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.btn-submit-premium {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #d4af37, #b38f2e);
    border: none;
    border-radius: 50px;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

/* Benefits Column */
.benefits-column {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.benefits-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
}

.benefits-flip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.flip-card-mini {
    height: 120px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-mini:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flip-card-front {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid #333;
}

.flip-card-front i {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 8px;
}

.flip-card-front h4 {
    color: #fff;
    font-size: 1.1rem;
}

.flip-card-back {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 1px solid #d4af37;
    transform: rotateY(180deg);
}

.flip-card-back p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.static-benefits {
    margin-top: 30px;
}

.static-benefit-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    margin-bottom: 10px;
}

.static-benefit-item i {
    font-size: 1.5rem;
    color: #d4af37;
}

.static-benefit-item h5 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.static-benefit-item p {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
}

.exposure-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 25px;
    margin-top: 20px;
    text-align: center;
}

.exposure-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.exposure-header i {
    font-size: 2rem;
    color: #d4af37;
}

.exposure-header h4 {
    color: #fff;
    font-size: 1.3rem;
}

.exposure-price {
    font-size: 2.5rem;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 15px;
}

.exposure-price span {
    font-size: 1rem;
    color: #aaa;
    font-weight: normal;
}

.exposure-benefits {
    list-style: none;
    margin-bottom: 20px;
}

.exposure-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.exposure-benefits li i {
    color: #2ecc71;
}

.exposure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 30px;
}

.benefits-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
    text-align: center;
}

.stat-mini .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
}

.stat-mini .stat-label {
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 1024px) {
    .register-grid-premium {
        grid-template-columns: 1fr;
    }
    
    .hero-main-title {
        font-size: 3.5rem;
    }
    
    .title-gold {
        font-size: 2rem;
    }
    
    .title-white {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .title-gold {
        font-size: 1.5rem;
    }
    
    .title-white {
        font-size: 2.2rem;
    }
    
    .form-card-luxury {
        padding: 25px;
    }
    
    .benefits-flip-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}