/* Main Stylesheet for the1person4u.com */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Light pink background for home page before login */
body.home-before-login {
    background-color: #ffe4e9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #e91e63;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
}

.nav-links a:hover {
    color: #e91e63;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-primary {
    background-color: #e91e63;
    color: white;
}

.btn-primary:hover {
    background-color: #c2185b;
}

.btn-secondary {
    background-color: #2196F3;
    color: white;
}

.btn-secondary:hover {
    background-color: #1976D2;
}

/* Main Menu */
.main-menu {
    background-color: #333;
    padding: 15px 0;
}

.main-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.main-menu a:hover {
    color: #e91e63;
}

.username-display {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12pt;
    color: #333;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

.heart-image {
    width: 400px;
    height: 400px;
    margin: 40px auto;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #e91e63;
}

/* Form Styles */
.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.success {
    color: green;
    font-size: 14px;
    margin-top: 5px;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.profile-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: #333;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 25px auto 15px;
}

.no-image {
    width: 200px;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    margin: 25px auto 15px;
}

.profile-info {
    padding: 15px;
    text-align: center;
}

.profile-info h3 {
    margin-bottom: 5px;
    color: #e91e63;
}

/* User Profile */
.user-profile {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 900px;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e91e63;
}

.profile-header h1 {
    color: #e91e63;
    margin-bottom: 15px;
}

.profile-intro {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.profile-basics {
    margin-bottom: 20px;
}

.basics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.basics-column p {
    margin-bottom: 10px;
}

.basics-column strong {
    color: #e91e63;
}

.profile-section {
    margin: 30px 0;
}

.profile-section h2 {
    color: #e91e63;
    margin-bottom: 15px;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.photo-item {
    text-align: center;
}

.photo-box {
    width: 200px;
    height: 200px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto 10px;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    width: 200px;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px solid #ddd;
    border-radius: 5px;
}

/* Inbox */
.inbox-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 40px auto;
    max-width: 900px;
}

.message-list {
    list-style: none;
}

.message-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.message-item:hover {
    background-color: #f9f9f9;
}

.message-item.unread {
    background-color: #fff3e0;
    font-weight: bold;
}

/* Message Thread */
.message-thread {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.message-bubble {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    max-width: 80%;
}

.message-sent {
    background-color: #e3f2fd;
    margin-left: auto;
}

.message-received {
    background-color: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .basics-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 10px;
    }
}
