:root {
    --primary-blue: #a2d2ff;
    --soft-blue: #bde0fe;
    --white: #ffffff;
    --text-color: #5a5a5a;
    --accent-pink: #ffafcc;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: #f0f8ff;
    margin: 0;
    color: var(--text-color);
}

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

header {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 60px 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header h1 {
    font-family: 'Itim', cursive;
    font-size: 3.5rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.upload-section {
    margin-top: 20px;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 12px 30px;
    cursor: pointer;
    background-color: var(--accent-pink);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 175, 204, 0.4);
}

.custom-file-upload:hover {
    background-color: #ff85b2;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 175, 204, 0.6);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(162, 210, 255, 0.3);
    transition: transform 0.3s ease;
    border: 3px solid var(--soft-blue);
    position: relative;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    display: flex;
    justify-content: space-around;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.btn-like, .btn-delete {
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-like {
    background-color: #ffe5ec;
    color: #ff4d6d;
}

.btn-delete {
    background-color: #f1f1f1;
    color: #888;
}

.btn-like:hover, .btn-delete:hover {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px;
    background: white;
    border-radius: 20px;
    border: 2px dashed var(--primary-blue);
}

footer {
    text-align: center;
    padding: 40px;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #888;
}
