:root {
    --primary: #ff9f43;
    --primary-dark: #e67e22;
    --bg-gradient: linear-gradient(135deg, #fff5eb 0%, #ffeaa7 50%, #fab1a0 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 159, 67, 0.2);
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.header {
    text-align: center;
    padding: 100px 20px 40px;
}

.header-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Demo Link */
.demo-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Form Card */
.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--card-border);
}

.form-card h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.form-card h2 i {
    font-size: 1.8rem;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group label small {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* File Upload */
.file-upload {
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.file-upload i {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 10px;
}

.file-upload p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.file-upload input {
    display: none;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Wish Items */
.wish-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wish-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wish-item input {
    flex: 1;
}

.wish-item button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wish-item button:hover {
    background: #ef4444;
}

.add-wish-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(251, 191, 36, 0.2);
    border: 1px dashed #fbbf24;
    border-radius: 10px;
    color: #fbbf24;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.add-wish-btn:hover {
    background: rgba(251, 191, 36, 0.3);
}

/* Memory Upload */
.memory-uploads {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.memory-upload-item {
    aspect-ratio: 1;
    border: 2px dashed var(--card-border);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.memory-upload-item:hover {
    border-color: #fbbf24;
}

.memory-upload-item.has-image {
    border-style: solid;
}

.memory-upload-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memory-upload-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.memory-upload-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.option-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #fbbf24;
}

.option-item label {
    cursor: pointer;
    margin: 0;
}

/* Customer Info Section */
.customer-info {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
}

/* Pricing */
.pricing-summary {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row.total {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    padding-top: 20px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 20px;
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.footer a {
    color: #fbbf24;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .header {
        padding: 80px 15px 30px;
    }

    .form-card {
        padding: 25px;
        border-radius: 20px;
    }

    .container {
        padding: 15px;
    }

    .header-icon {
        font-size: 3rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
    }

    .memory-uploads {
        grid-template-columns: repeat(2, 1fr);
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        padding: 16px;
        font-size: 1rem;
    }
}

/* Confetti Animation */
.confetti-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.7;
    animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg); 
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== GALERİ VE MÜZİK STİLLERİ ===== */

.memories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.memory-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 10px;
    border: 2px solid rgba(255, 159, 67, 0.3);
    transition: all 0.3s ease;
}

.memory-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.memory-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.memory-caption-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255, 159, 67, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    background: white;
    color: var(--text-dark);
    transition: all 0.2s;
}

.memory-caption-input::placeholder {
    color: var(--text-muted);
}

.memory-caption-input:focus {
    border-color: var(--primary);
    outline: none;
}

@media (max-width: 600px) {
    .memories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}