/* === Cheeky Hearts — Vintage Elegant Style === */

:root {
    --cream: #f8f2e6;
    --cream-darker: #f0e6d0;
    --rose: #b94e69;
    --rose-light: #d8889c;
    --rose-dark: #8c384e;
    --gold: #b8965c;
    --gold-light: #d4b884;
    --text-dark: #4a3828;
    --text-medium: #6b5544;
    --border: #d4c4a8;
}

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

body {
    background-color: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    color: var(--text-dark);
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    min-height: 100vh;
}

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

/* === Header === */
.site-header {
    text-align: center;
    padding: 30px 20px 20px;
    position: relative;
}

.site-logo {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: var(--rose);
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.tagline {
    color: var(--text-medium);
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 5px;
}

.ornament-divider {
    height: 30px;
    background: radial-gradient(ellipse at center, var(--gold) 0%, transparent 70%);
    background-size: 60px 15px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    margin: 10px auto;
}

/* === Navigation === */
.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 0 25px;
    border-bottom: 1px solid var(--border);
}

.main-nav a {
    color: var(--rose-dark);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-nav a:hover {
    background-color: rgba(185, 78, 105, 0.08);
    color: var(--rose);
}

/* === Cards === */
.auth-card, .profile-card, .chat-card, .photos-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.08);
}

.auth-card h2, .profile-card h2, .chat-card h2, .photos-card h2 {
    text-align: center;
    color: var(--rose);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-style: italic;
}

/* === Form Styles === */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose-light);
}

/* === Buttons === */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(185, 78, 105, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(185, 78, 105, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--rose);
    border: 1px solid var(--rose-light);
    border-radius: 6px;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(185, 78, 105, 0.08);
}

/* === Messages === */
.error-message {
    background-color: #fbe9eb;
    border: 1px solid #e8b4bc;
    color: #923c4c;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #ebf4e9;
    border: 1px solid #bdd8b8;
    color: #3c6b38;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* === Links === */
.auth-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.auth-link a {
    color: var(--rose);
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* === Photo/Profile Grid === */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.photo-frame {
    background: #fff;
    border: 3px solid var(--cream-darker);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: scale(1.02);
}

.photo-frame img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.photo-caption {
    text-align: center;
    padding: 8px 4px 4px;
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
}

.heart-icon {
    color: var(--rose);
}

/* === Footer === */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 600px) {
    .site-logo {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 15px;
    }
    
    .auth-card, .profile-card, .chat-card, .photos-card {
        padding: 20px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .main-nav {
        gap: 2px;
    }
    
    .main-nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}/* === People Page Styles === */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.profile-card {
    background: #fff;
    border-radius: 25px;
    border: 2px solid #fce4ec;
    overflow: hidden;
    text-align: center;
}
.profile-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.profile-info {
    padding: 20px;
}
.profile-info h3 {
    color: #7b4173;
    margin: 0 0 10px 0;
    font-size: 1.3em;
}
.profile-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.btn {
    display: inline-block;
    padding: 10px 28px;
    background: #7b4173;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #63305c;
}