/* ===== Global Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* ===== Container ===== */
.profile-page {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    border-top: 6px solid #007bff;
}

/* ===== Header Section ===== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.profile-header img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #007bff;
}

.profile-header .info {
    flex-grow: 1;
}

.profile-header .info h1 {
    font-size: 2.2em;
    font-weight: bold;
    color: #222;
}

.profile-header .info p {
    font-size: 1.1em;
    color: #555;
}

/* ===== Call Buttons ===== */
.profile-actions {
    margin-top: 15px;
}

.profile-actions a {
    display: inline-block;
    text-decoration: none;
    padding: 10px 18px;
    margin-right: 10px;
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: 600;
    transition: 0.3s;
}

.profile-actions a.whatsapp {
    background: #25d366;
    color: #fff;
}

.profile-actions a.facebook {
    background: #4267B2;
    color: #fff;
}

.profile-actions a:hover {
    opacity: 0.85;
}

/* ===== Gallery ===== */
.profile-gallery {
    margin-top: 30px;
}

.profile-gallery h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    position: relative;
    font-weight: 600;
    color: #222;
}

.profile-gallery .images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.profile-gallery .images img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.profile-gallery .images img:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== Form Styles (If there are forms on this page) ===== */
form.profile-edit input,
form.profile-edit textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    transition: 0.3s;
}

form.profile-edit input:focus,
form.profile-edit textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 6px rgba(0,123,255,0.25);
}

form.profile-edit label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

/* ===== Buttons & Highlights ===== */
button.btn-save {
    background: #007bff;
    color: #fff;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button.btn-save:hover {
    background: #0069d9;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-header img {
        margin-bottom: 12px;
    }
}
