/* Color Variables */
:root {
    --primary-yellow: #FFD700;
    --secondary-coral: #FF6B6B;
    --accent-mint: #4ECDC4;
    --background-cream: #FFF8DC;
    --text-dark: #2C3E50;
    --success-green: #52C41A;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    /* Summer vibes colors */
    --tropical-orange: #FF8C42;
    --sunset-pink: #FF6B9D;
    --ocean-blue: #4ECDC4;
    --sunshine-yellow: #FFE66D;
    --palm-green: #95E1D3;
}

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka One', cursive;
    color: var(--text-dark);
}

.page-title {
    font-family: 'Fredoka One', cursive;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: 3rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-coral));
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--white) !important;
}

.brand-text {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 16px !important;
    margin: 0 4px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--sunshine-yellow), var(--background-cream), var(--palm-green), var(--ocean-blue));
    background-size: 300% 300%;
    animation: summerGradient 6s ease-in-out infinite;
    padding: 80px 0;
    border-radius: 0 0 50px 50px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 230, 109, 0.3);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-yellow), var(--secondary-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Comic Neue', cursive;
}

.hero-buttons .btn {
    border-radius: 30px;
    font-weight: 600;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Hero Image Container with Lemonade Theme */
.hero-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.lemonade-background {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--sunshine-yellow), var(--tropical-orange), var(--sunset-pink), var(--ocean-blue), var(--palm-green));
    background-size: 300% 300%;
    border-radius: 25px;
    z-index: 1;
    overflow: hidden;
    animation: summerGradient 4s ease-in-out infinite, backgroundShimmer 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.4);
}

.hero-image {
    position: relative;
    z-index: 2;
    border: 4px solid #FFD700;
}

/* Floating Lemon Slices */
.lemon-slice {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
    z-index: 1;
}

.lemon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.lemon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.lemon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.lemon-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

.lemon-5 {
    top: 50%;
    left: 2%;
    animation-delay: 1.5s;
}

/* Bubbles for Fizzy Effect */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubble 5s ease-in-out infinite;
    z-index: 1;
}

.bubble-1 {
    width: 20px;
    height: 20px;
    top: 80%;
    left: 20%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    top: 70%;
    right: 25%;
    animation-delay: 1.5s;
}

.bubble-3 {
    width: 25px;
    height: 25px;
    bottom: 60%;
    left: 80%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    top: 30%;
    left: 85%;
    animation-delay: 0.5s;
}

.bubble-5 {
    width: 18px;
    height: 18px;
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes bubble {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-60px) scale(0.8);
        opacity: 0;
    }
}

@keyframes backgroundShimmer {
    0%, 100% {
        background: linear-gradient(45deg, #FFD700, #FFF8DC, #FFEB3B, #FFD700);
    }
    50% {
        background: linear-gradient(45deg, #FFEB3B, #FFD700, #FFF8DC, #FFEB3B);
    }
}

@keyframes summerGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Cards */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-color: var(--accent-mint);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

/* Menu Cards */
.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.menu-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success-green);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.menu-card-body {
    padding: 1.5rem;
}

.menu-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.menu-card-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Forms */
.order-form, .volunteer-form {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-coral));
    color: var(--white);
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem 1.5rem;
    border: none;
}

.card-header h4 {
    margin: 0;
    font-family: 'Fredoka One', cursive;
}

/* Lemonade Selector */
.lemonade-selector {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    height: 100%;
}

.lemonade-selector:hover {
    border-color: var(--accent-mint);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.lemonade-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.price-quantity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--success-green);
}

.quantity-selector {
    width: 140px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 0;
}

.quantity-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.minus-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.minus-btn:hover {
    background: linear-gradient(45deg, #ee5a52, #e55039);
    color: white;
}

.plus-btn {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.plus-btn:hover {
    background: linear-gradient(45deg, #44a08d, #3d8b7d);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    background: white;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--dark);
    border-radius: 0;
    box-shadow: inset 0 0 0 2px var(--mint);
    cursor: text;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

.quantity-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 3px var(--warning);
}

/* Order Summary */
.order-summary-card {
    background: linear-gradient(135deg, var(--accent-mint), var(--primary-yellow));
    color: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.total-display {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

/* Payment Info */
.payment-info {
    margin: 2rem 0;
}

.alert {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    color: var(--text-dark);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-green), #3CB371);
    color: var(--white);
}

.btn-coral {
    background: linear-gradient(135deg, var(--secondary-coral), #FF4757);
    color: var(--white);
}

.btn-mint {
    background: linear-gradient(135deg, var(--accent-mint), #26D0CE);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    background: transparent;
}

.btn-outline-coral {
    border: 2px solid var(--secondary-coral);
    color: var(--secondary-coral);
    background: transparent;
}

.btn-outline-mint {
    border: 2px solid var(--accent-mint);
    color: var(--accent-mint);
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Confirmation Page */
.confirmation-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    text-align: center;
}

.confirmation-header {
    margin-bottom: 2rem;
}

.confirmation-header h1 {
    color: var(--success-green);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.order-details {
    text-align: left;
    margin-bottom: 2rem;
}

.detail-card, .info-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
}

.steps-list {
    text-align: left;
    font-size: 1.1rem;
    line-height: 2;
}

.steps-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Dashboard */
.order-item, .volunteer-item, .consent-item {
    background: var(--white);
    transition: all 0.3s ease;
}

.order-item:hover, .volunteer-item:hover, .consent-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Volunteer Guidelines */
.volunteer-info-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.guideline-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--accent-mint), var(--primary-yellow));
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.info-banner h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Additional Info Section */
.additional-info {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #34495E);
    color: var(--white);
    padding: 3rem 0 2rem;
    border-radius: 50px 50px 0 0;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer .text-warning {
    color: var(--primary-yellow) !important;
}

.footer .text-coral {
    color: var(--secondary-coral) !important;
}

.footer .text-mint {
    color: var(--accent-mint) !important;
}

/* Volunteer Benefits */
.volunteer-benefits {
    list-style: none;
    padding: 0;
}

.volunteer-benefits li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Dashboard Actions */
.dashboard-actions {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

/* Info Section */
.info-section {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .confirmation-card {
        padding: 2rem 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .menu-card-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .price-quantity {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Custom Badge Colors */
.bg-warning {
    background-color: var(--primary-yellow) !important;
    color: var(--text-dark) !important;
}

.bg-coral {
    background-color: var(--secondary-coral) !important;
}

.bg-mint {
    background-color: var(--accent-mint) !important;
}

/* Text Colors */
.text-coral {
    color: var(--secondary-coral) !important;
}

.text-mint {
    color: var(--accent-mint) !important;
}

/* Team Section */
.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 100%;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-color: var(--accent-mint);
}

.team-photo-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    border-color: var(--secondary-coral);
    transform: scale(1.05);
}

.team-name {
    font-family: 'Fredoka One', cursive;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-role {
    color: var(--secondary-coral);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Specific styling for Adhrit's photo */
.adhrit-photo {
    object-position: center 20% !important;
}

/* Specific styling for Aadhya's photo */
.aadhya-photo {
    object-position: center 30% !important;
}

/* Specific styling for Abhi Naidu's photo */
.abhi-photo {
    object-position: center 25% !important;
}

/* Specific styling for Likhith's photo */
.likitith-photo {
    object-position: center 35% !important;
}

/* Specific styling for Saish's photo */
.saish-photo {
    object-position: center 25% !important;
}

/* Organizational Chart Styles */
.org-chart {
    position: relative;
}

.ceo-card {
    position: relative;
    border: 3px solid var(--primary-yellow) !important;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #fff 100%);
}

.ceo-card::after {
    content: "👑";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    background: var(--secondary-coral);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-card {
    position: relative;
}

.org-line-vertical {
    position: absolute;
    top: 400px;
    left: 50%;
    width: 2px;
    height: 60px;
    background: repeating-linear-gradient(
        to bottom,
        var(--secondary-coral) 0px,
        var(--secondary-coral) 8px,
        transparent 8px,
        transparent 16px
    );
    transform: translateX(-50%);
    z-index: 1;
}

.org-line-horizontal {
    position: absolute;
    top: 460px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--secondary-coral) 0px,
        var(--secondary-coral) 8px,
        transparent 8px,
        transparent 16px
    );
    z-index: 1;
}

/* Connecting lines to individual reports */
.report-card::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    width: 2px;
    height: 30px;
    background: repeating-linear-gradient(
        to bottom,
        var(--secondary-coral) 0px,
        var(--secondary-coral) 6px,
        transparent 6px,
        transparent 12px
    );
    transform: translateX(-50%);
}

/* Team Section Responsive */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .org-line-vertical,
    .org-line-horizontal {
        display: none;
    }
    
    .report-card::before {
        display: none;
    }
}
