@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Great+Vibes&family=Poppins:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #fdfcfb;
    color: #2b2b2b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.container {
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.script-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 6px;
}

.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 40px;
}

.card {
    background: #ffffff;
    border: 1px solid #ece7e2;
    border-radius: 4px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}

label {
    display: block;
    text-align: left;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #8a8a8a;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 18px;
}

label:first-child { margin-top: 0; }

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ddd6cf;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: #fdfcfb;
    transition: border-color 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #b8a68f;
}

.file-drop {
    border: 2px dashed #ddd6cf;
    border-radius: 4px;
    padding: 28px 16px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.file-drop:hover, .file-drop.dragover {
    border-color: #b8a68f;
    background: #faf8f5;
}

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-drop-text {
    font-size: 0.9rem;
    color: #8a8a8a;
}

.file-drop-text strong {
    color: #2b2b2b;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.preview-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #ece7e2;
}

button.submit-btn {
    width: 100%;
    margin-top: 26px;
    padding: 15px;
    background: #2b2b2b;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

button.submit-btn:hover {
    background: #1a1a1a;
}

button.submit-btn:disabled {
    background: #c9c2b8;
    cursor: not-allowed;
}

.message {
    margin-top: 18px;
    padding: 14px;
    border-radius: 3px;
    font-size: 0.9rem;
    text-align: center;
}

.message.success {
    background: #f0f5ee;
    color: #4a6b3d;
    border: 1px solid #d3e3cb;
}

.message.error {
    background: #fbeeee;
    color: #8a3d3d;
    border: 1px solid #f0d4d4;
}

.message.info {
    background: #f5f2ee;
    color: #6a6258;
    border: 1px solid #e5ddd2;
}

.remaining {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #7a7a7a;
    margin-top: 20px;
}

.remaining strong {
    color: #2b2b2b;
    font-size: 1.3rem;
}

.divider {
    width: 60px;
    height: 1px;
    background: #ddd6cf;
    margin: 24px auto;
}

.footer-note {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #b0aca4;
    letter-spacing: 0.5px;
}

/* Galeri sayfası için ek stiller */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    max-width: 1100px;
    width: 100%;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.container.wide {
    max-width: 1100px;
}

/* Admin panel */
.admin-photo-card {
    background: #fff;
    border: 1px solid #ece7e2;
    border-radius: 4px;
    overflow: hidden;
}

.admin-photo-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.admin-photo-card .meta {
    padding: 10px;
    font-size: 0.8rem;
    color: #6a6258;
}

.admin-photo-card .actions {
    display: flex;
    border-top: 1px solid #ece7e2;
}

.admin-photo-card .actions button {
    flex: 1;
    padding: 10px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}

.admin-photo-card .actions button.approve { color: #4a6b3d; }
.admin-photo-card .actions button.reject { color: #8a3d3d; }
.admin-photo-card .actions .divider-v { width: 1px; background: #ece7e2; }
