/* Base Styles */
body {
    margin: 0;
    background: linear-gradient(to bottom right, #ffe4f1, #daf3ff);
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-header img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ec4899;
}

.profile-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ec4899;
    margin-bottom: 10px;
}

.bio {
    font-size: 17px;
    line-height: 1.6;
    background: #f0f9ff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.gallery-title {
    font-size: 28px;
    color: #60a5fa;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: #fff0f5;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

.rating-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.fire-rating button {
    font-size: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fire-rating button:hover {
    transform: scale(1.3);
}

.site-header {
    background: linear-gradient(to right, #ffe4f1, #daf3ff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 30px;
    font-family: 'Playfair Display', serif;
}

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

.logo {
    font-size: 28px;
    color: #ec4899;
    font-weight: bold;
}

.logo span {
    color: #3b82f6;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #fce7f3;
    color: #ec4899;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ec4899;
    text-align: center;
    margin-bottom: 30px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.model-card {
    background: #fff0f5;
    border-radius: 12px;
    text-align: center;
    padding: 15px;
    transition: transform 0.2s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.04);
}

.model-card:hover {
    transform: translateY(-4px);
}

.model-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.model-card h3 {
    margin: 0;
    font-size: 18px;
    color: #60a5fa;
}

.model-card a {
    text-decoration: none;
    color: inherit;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background-color: #ec4899;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pagination a:hover {
    background-color: #d9468b;
}

.pagination .current {
    background-color: #60a5fa;
    pointer-events: none;
}

.login-box {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}

input {
    width: 97%;
    padding: 12px;
    margin: 10px 0;
}

input[type="submit"] {
    background: #60a5fa;
    color: white;
    border: none;
    cursor: pointer;
}

.contact-box {
    max-width: 500px;
    margin: 60px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    color: #ec4899;
    text-align: center;
}

label {
    display: block;
    margin-top: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

input[type="submit"] {
    background-color: #60a5fa;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.message {
    text-align: center;
    margin-top: 15px;
}

.error {
    color: red;
}

.success {
    color: green;
}
.button {
  background-color: #60a5fa;
  border: none;
  color: white;
  padding: 9px 9px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  cursor: pointer;
  touch-action: manipulation;
}
.centerme {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 20px auto;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-header img {
        width: 120px;
        height: 120px;
    }

    .gallery-grid,
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .bio {
        font-size: 16px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .logo {
        font-size: 24px;
        text-align: center;
    }
}