/* Genel stil ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
        linear-gradient(135deg, #667eea 0%, #764ba2 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px
        );
    background-blend-mode: overlay;
    color: #333;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.hero-section h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 i {
    color: #ff6b6b;
    margin-right: 10px;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Main Content */
.main-content {
    display: grid;
    gap: 30px;
}

/* Welcome Card */
.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-card h2 {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-card p {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-section h2 {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 30px;
}

.wedding-code-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.wedding-code-form input {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    min-width: 300px;
    transition: border-color 0.3s ease;
}

.wedding-code-form input:focus {
    outline: none;
    border-color: #667eea;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Admin & Couple Sections */
.admin-section,
.couple-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-section h2,
.couple-section h2 {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 15px;
    font-weight: 600;
}

.admin-section p,
.couple-section p {
    color: #718096;
    margin-bottom: 25px;
}

.admin-button,
.couple-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.admin-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.couple-button {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
}

.admin-button:hover,
.couple-button:hover {
    transform: translateY(-2px);
}

/* Upload Section Styles */
.upload-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    border: 2px dashed #cbd5e0;
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.upload-input-section {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4a5568;
    font-weight: 600;
}

h3 i {
    color: #667eea;
    margin-right: 8px;
}

.wedding-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.wedding-info h3 {
    color: #4a5568;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.wedding-info p {
    color: #718096;
    font-size: 1rem;
}

#imageInput, #videoInput {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.custom-file-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.custom-file-upload:active {
    transform: translateY(0);
}

.custom-file-upload i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.preview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.preview-item img, .preview-item video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.preview-item .file-name {
    display: block;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
    word-break: break-word;
}

.preview-item .file-size {
    display: block;
    padding: 0 10px 10px;
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
}

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    opacity: 1;
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-button:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

button i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .welcome-card,
    .cta-section,
    .admin-section,
    .couple-section {
        padding: 25px;
    }
    
    .wedding-code-form {
        flex-direction: column;
    }
    
    .wedding-code-form input {
        min-width: auto;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .welcome-card h2,
    .cta-section h2,
    .admin-section h2,
    .couple-section h2 {
        font-size: 1.5rem;
    }
    
    .welcome-card,
    .cta-section,
    .admin-section,
    .couple-section {
        padding: 20px;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
    }
    
    .custom-file-upload {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease-out;
}

.upload-section {
    animation: fadeInUp 0.8s ease-out;
}

button {
    animation: fadeInUp 1s ease-out;
}
