/* Indian Festival Theme CSS */
:root {
    --primary-color: #D4AF37;  /* Royal Gold */
    --accent-color: #800020;   /* Deep Maroon */
    --background-color: #FFF5E6;
    --text-color: #333333;
    --border-pattern: repeating-linear-gradient(
        45deg,
        var(--primary-color) 0,
        var(--primary-color) 2px,
        transparent 2px,
        transparent 8px
    );
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 100% 150%, var(--primary-color) 24%, white 25%, white 28%, var(--primary-color) 29%, var(--primary-color) 36%, white 36%, white 40%, transparent 40%, transparent),
        radial-gradient(circle at 0    150%, var(--primary-color) 24%, white 25%, white 28%, var(--primary-color) 29%, var(--primary-color) 36%, white 36%, white 40%, transparent 40%, transparent),
        radial-gradient(circle at 50%  100%, white 10%, var(--primary-color) 11%, var(--primary-color) 23%, white 24%, white 30%, var(--primary-color) 31%, var(--primary-color) 43%, white 44%, white 50%, var(--primary-color) 51%, var(--primary-color) 63%, white 64%, white 71%, transparent 71%, transparent),
        radial-gradient(circle at 100% 50%, white 5%, var(--primary-color) 6%, var(--primary-color) 15%, white 16%, white 20%, var(--primary-color) 21%, var(--primary-color) 30%, white 31%, white 35%, var(--primary-color) 36%, var(--primary-color) 45%, white 46%, white 49%, transparent 50%, transparent),
        radial-gradient(circle at 0    50%, white 5%, var(--primary-color) 6%, var(--primary-color) 15%, white 16%, white 20%, var(--primary-color) 21%, var(--primary-color) 30%, white 31%, white 35%, var(--primary-color) 36%, var(--primary-color) 45%, white 46%, white 49%, transparent 50%, transparent);
    background-size: 100px 50px;
    background-attachment: fixed;
}

.recipe-card {
    max-width: 800px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--border-pattern);
}

.recipe-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h1 {
    color: var(--accent-color);
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
}

.description {
    color: var(--text-color);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.festive-border {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), transparent);
}

.time-info {
    display: flex;
    justify-content: space-around;
    background-color: rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid var(--primary-color);
}

.time-item {
    text-align: center;
    position: relative;
    padding: 10px;
}

.time-item::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--primary-color);
}

.time-item:last-child::after {
    display: none;
}

.time-label {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.recipe-section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.recipe-section:hover {
    transform: translateY(-5px);
}

h2 {
    color: var(--accent-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
}

ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 10px;
}

li::before {
    content: '✦';
    color: var(--primary-color);
    position: absolute;
    left: -20px;
}

.tip {
    background-color: rgba(212, 175, 55, 0.1);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.tip::before {
    content: '💡';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.serving-suggestion {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Festival Animation Classes */
.festival-light {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-card {
        margin: 10px;
        padding: 20px;
    }

    .time-info {
        flex-wrap: wrap;
    }

    .time-item {
        width: 50%;
        margin-bottom: 15px;
    }

    .time-item::after {
        display: none;
    }

    h1 {
        font-size: 2em;
    }
}