/* What's Cooking, Good Lookin' - Playful Cooking Theme */

:root {
    /* Cooking-themed color palette */
    --primary: #FF6B35;          /* Bright orange - like a flame */
    --secondary: #F7931E;        /* Golden orange */
    --accent: #FEC601;           /* Sunny yellow */
    --success: #4CAF50;          /* Fresh green */
    --background: #FFF8F0;       /* Warm cream */
    --card-bg: #FFFFFF;
    --text: #2C3E50;
    --text-light: #7F8C8D;
    --border: #E8D5C4;
    --shadow: rgba(255, 107, 53, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Home Page */
.home-page {
    text-align: center;
    padding: 60px 20px;
}

.cooking-hero {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.main-title {
    font-size: 3em;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.5em;
    color: var(--text-light);
    font-style: italic;
}

.invitation-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.guest-link {
    background: var(--card-bg);
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 40px 60px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    min-width: 250px;
}

.guest-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
    border-color: var(--accent);
}

.guest-link .emoji {
    display: block;
    font-size: 4em;
    margin-bottom: 15px;
}

.guest-link .name {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary);
}

/* Invitation Page */
.invitation-page {
    animation: fadeIn 0.6s ease;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--shadow);
}

.header h1 {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.8em;
    color: var(--secondary);
    font-style: italic;
    font-weight: normal;
}

.invitation-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 15px var(--shadow);
}

.intro-text {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: var(--text);
}

.intro-text p {
    margin-bottom: 10px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px dashed var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.8em;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-note {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

/* Date Selection */
.dates-container {
    display: grid;
    gap: 15px;
}

.date-option {
    cursor: pointer;
}

.date-option input[type="checkbox"] {
    display: none;
}

.date-card {
    background: #F8F9FA;
    border: 3px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.date-option input[type="checkbox"]:checked + .date-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.date-date {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.date-location {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 8px;
}

.date-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-style: italic;
    color: var(--text-light);
}

.no-dates {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 1.2em;
}

/* Preferences */
.preference-group {
    margin-bottom: 25px;
}

.preference-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.05em;
}

.fun-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fun-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.preference-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.preference-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Map */
.location-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--border);
    box-shadow: 0 4px 15px var(--shadow);
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Thank You Page */
.thank-you-page {
    text-align: center;
    padding: 60px 20px;
}

.thank-you-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 4px 15px var(--shadow);
    animation: fadeInUp 0.8s ease;
}

.success-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.thank-you-content h1 {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 30px;
}

.message {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text);
}

.message p {
    margin-bottom: 15px;
}

.cooking-emoji {
    font-size: 3em;
    margin: 30px 0;
}

.tagline {
    font-size: 1.2em;
    color: var(--text-light);
}

/* Admin Page */
.admin-page {
    padding: 40px 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 50px;
}

.admin-header h1 {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 10px;
}

.admin-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--shadow);
}

.admin-section h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 10px;
}

.admin-section h3 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 1.4em;
}

/* Add Date Form */
.add-date-form {
    background: #F8F9FA;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1em;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Dates List */
.dates-list {
    margin-top: 30px;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    background: white;
}

.date-info {
    flex: 1;
}

.location-badge {
    display: inline-block;
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-right: 10px;
}

.description {
    color: var(--text-light);
    font-style: italic;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #c82333;
}

.reset-buttons {
    display: flex;
    gap: 10px;
}

.btn-reset {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responses */
.response-card {
    border: 3px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    background: #F8F9FA;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.response-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.6em;
}

.timestamp {
    color: var(--text-light);
    font-size: 0.9em;
}

.response-section {
    margin-bottom: 20px;
}

.response-section strong {
    color: var(--text);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.response-section ul {
    list-style: none;
    padding-left: 20px;
}

.response-section li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.response-section li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-style: italic;
}

/* Update Message */
.update-message {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--text);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error-message {
    background: #dc3545;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

/* Footer */
.footer-note {
    margin-top: 60px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Cooking Puns */
.cooking-pun {
    margin-top: 40px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
    border: 2px dashed var(--accent);
    border-radius: 15px;
    text-align: center;
    color: var(--text);
    font-size: 1.05em;
    font-style: italic;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
    animation: fadeInUp 0.8s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2em;
    }
    
    .invitation-links {
        flex-direction: column;
        align-items: center;
    }
    
    .guest-link {
        width: 100%;
        max-width: 300px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .tagline {
        font-size: 1.4em;
    }
    
    .invitation-content {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        height: 300px;
    }
}

