/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin-top: 100px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, 
        rgba(10, 10, 30, 0.95) 0%, 
        rgba(25, 25, 60, 0.95) 25%, 
        rgba(40, 20, 80, 0.95) 50%, 
        rgba(15, 30, 70, 0.95) 75%, 
        rgba(5, 5, 25, 0.95) 100%);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2147483644 !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 30px rgba(102, 126, 234, 0.3), 
                0 0 60px rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Navigation space particles */
.navbar .nav-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.navbar .nav-particles::before,
.navbar .nav-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: navParticleFloat 4s infinite linear;
}

.navbar .nav-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        0 0 6px rgba(0, 212, 255, 0.6),
        20px 10px 0 rgba(102, 126, 234, 0.4),
        40px -5px 0 rgba(118, 75, 162, 0.3),
        60px 15px 0 rgba(0, 212, 255, 0.5);
}

.navbar .nav-particles::after {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    box-shadow: 
        0 0 6px rgba(102, 126, 234, 0.6),
        -30px 5px 0 rgba(0, 212, 255, 0.4),
        -60px -10px 0 rgba(118, 75, 162, 0.3),
        -90px 8px 0 rgba(0, 212, 255, 0.5);
}

@keyframes navParticleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.7;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 160px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
    z-index: 2147483643;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 15px 20px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 212, 255, 0.6);
    position: fixed;
    top: 20px;
    left: 40px;
    z-index: 2147483647 !important;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.nav-logo img {
    height: 120px;
    width: 120px;
    transition: all 0.3s ease;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-logo h2 {
    color: #00d4ff;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 
                 0 0 20px rgba(0, 212, 255, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
}

.nav-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* User Dropdown Menu */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 9999 !important;
}

.user-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
}

.user-menu .nav-link::after {
    display: none; /* Remove the underline effect for user menu */
}

.user-menu .nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-menu:hover .nav-link i {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 10, 30, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 20px rgba(102, 126, 234, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2147483647 !important;
    margin-top: 10px;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(10, 10, 30, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.user-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #00d4ff;
    padding-left: 25px;
}

.user-dropdown-item.logout {
    color: #ff6b6b;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.user-dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff8a8a;
}

.user-dropdown-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Portal-style dropdown that renders at body level */
.user-dropdown-portal {
    position: fixed;
    background: rgba(10, 10, 30, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 20px rgba(102, 126, 234, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2147483647 !important;
    pointer-events: auto;
}

.user-dropdown-portal:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.user-dropdown-portal::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(10, 10, 30, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
    color: #b0b0b0;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.camera-icon {
    font-size: 8rem;
    color: #667eea;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.space-camera {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-stars {
    position: absolute;
    top: -20px;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.floating-stars i {
    position: absolute;
    color: #667eea;
    opacity: 0.6;
    animation: twinkle 2s ease-in-out infinite;
}

.floating-stars i:nth-child(1) {
    top: 20px;
    left: 30px;
    font-size: 1.5rem;
    animation-delay: 0s;
}

.floating-stars i:nth-child(2) {
    top: 50px;
    right: 20px;
    font-size: 1rem;
    animation-delay: 0.5s;
}

.floating-stars i:nth-child(3) {
    bottom: 30px;
    left: 50px;
    font-size: 1.2rem;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* New Astronaut-Style Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

.rocket {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 3rem;
    color: #ff6b6b;
    transform: rotate(-45deg);
    animation: rocket-drift 6s ease-in-out infinite;
}

.rocket::before {
    content: "🚀";
    position: absolute;
    font-size: 3rem;
}

.space-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="0.5" fill="rgba(0,212,255,0.4)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.2)"/></svg>') repeat;
    animation: drift 20s linear infinite;
}

.mission-quote {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 20px;
    position: relative;
    animation: fadeInUp 1s ease 0.1s both, quotePulse 4s ease-in-out infinite 2s;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

.mission-quote p {
    font-size: 2rem;
    color: #00d4ff;
    font-style: italic;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.mission-quote i {
    color: #667eea;
    font-size: 2.5rem;
    opacity: 0.8;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
}

.mission-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.status-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    text-align: center;
}

.status-label {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.status-value {
    display: block;
    font-size: 1.1rem;
    color: #00d4ff;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.space-station {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8rem;
    color: #00d4ff;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.floating-elements {
    position: absolute;
    top: -50px;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.floating-elements i {
    position: absolute;
    opacity: 0.7;
    animation: float-elements 4s ease-in-out infinite;
}

.floating-elements i:nth-child(1) {
    top: 20px;
    left: 30px;
    font-size: 2rem;
    color: #ff6b6b;
    animation-delay: 0s;
}

.floating-elements i:nth-child(2) {
    top: 80px;
    right: 20px;
    font-size: 1.5rem;
    color: #ffd93d;
    animation-delay: 1s;
}

.floating-elements i:nth-child(3) {
    bottom: 60px;
    left: 50px;
    font-size: 1.2rem;
    color: #ffffff;
    animation-delay: 2s;
}

.floating-elements i:nth-child(4) {
    bottom: 20px;
    right: 60px;
    font-size: 1.8rem;
    color: #00d4ff;
    animation-delay: 3s;
}

/* Button Updates */
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, #667eea, #00d4ff);
    border: 2px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.5);
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

@keyframes rocket-drift {
    0%, 100% { transform: rotate(-45deg) translateY(0px); }
    50% { transform: rotate(-45deg) translateY(-20px); }
}

@keyframes drift {
    0% { transform: translateX(0px); }
    100% { transform: translateX(-100px); }
}

@keyframes float-elements {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes quotePulse {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
        border-color: rgba(0, 212, 255, 0.5);
    }
    50% { 
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.6);
        border-color: rgba(0, 212, 255, 0.8);
    }
}

/* Sections */
section {
    padding: 120px 0 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.team-story {
    background: rgba(102, 126, 234, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

.team-story h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.team-story p {
    line-height: 1.8;
    color: #555;
}

.team-story strong {
    color: #667eea;
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    color: #666;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.image-placeholder p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: white;
}

.astronaut-theme {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.astronaut-theme::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.astronaut-theme::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
}

.astronaut-theme i {
    animation: rocket-float 2s ease-in-out infinite;
}

.astronaut-theme small {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

@keyframes rocket-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Crew Section */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.crew-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crew-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.crew-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    position: relative;
}

/* Animal-specific styling */
.crew-card:nth-child(1) .crew-icon i {
    color: #ff6b9d; /* Pink for flamingo */
}

.crew-card:nth-child(2) .crew-icon i {
    color: #4caf50; /* Green for leaf (giraffe) */
}

.crew-card:nth-child(3) .crew-icon i {
    color: #8d6e63; /* Brown for tiger */
}

.crew-card:nth-child(4) .crew-icon {
    position: relative;
}

.crew-card:nth-child(4) .crew-icon i {
    color: #4fc3f7; /* Blue for fish */
}

.crew-card:nth-child(4) .crew-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 8px;
    background: #8d6e63;
    border-radius: 4px;
    margin-top: 15px;
    margin-left: 5px;
}

.crew-card:nth-child(5) .crew-icon i {
    color: #795548; /* Brown for raccoon */
}

.crew-card:nth-child(6) .crew-icon i {
    color: #8bc34a; /* Light green for tree (monkey) */
}

.crew-card:nth-child(7) .crew-icon i {
    color: #757575; /* Gray for anonymous */
}

.crew-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.crew-card p {
    color: #666;
    line-height: 1.6;
}

/* Adventures Section */
.adventures {
    background: #f8f9fa;
}

.adventure-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.adventure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.adventure-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.adventure-item:hover {
    transform: translateY(-5px);
}

.adventure-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
}

.adventure-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.adventure-item:hover .adventure-overlay {
    transform: translateY(0);
}

.adventure-overlay h4 {
    margin-bottom: 0.5rem;
}

.adventure-overlay p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Apéro Section */
.apero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.apero-tips h3 {
    color: #333;
    margin-bottom: 1rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tip-item i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
}

.tip-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.tip-item p {
    color: #666;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Apéro Form */
.apero-invitation {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}



/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0c0c0c 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400;
}

.footer-section p {
    color: #ffffff;
    font-weight: 400;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    padding-top: 1.5rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    font-weight: 500;
    color: #ffffff;
}

@keyframes footerGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
    }
}

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

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

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

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

/* Quick Signup Styles */
.quick-signup-section {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.quick-signup-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.quick-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.quick-signup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.quick-signup-btn.btn-secondary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.quick-signup-btn.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.quick-signup-btn.btn-signout {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.quick-signup-btn.btn-signout:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.signup-divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.signup-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.signup-divider span {
    background: rgba(0, 0, 0, 0.8);
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal overflow and white bar */
    body {
        overflow-x: hidden;
        margin-right: 0;
        width: 100%;
    }
    
    html {
        overflow-x: hidden;
    }
    
    .nav-logo {
        position: fixed;
        top: 10px;
        left: 10px;
        padding: 15px 20px;
        z-index: 2147483647 !important;
    }
    
    .nav-logo img {
        height: 60px;
        width: 60px;
    }
    
    .nav-container {
        padding: 0 20px 0 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Hide desktop nav-menu on mobile */
    .nav-menu {
        display: none;
    }
    
    /* Simple, reliable mobile menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 30, 0.95);
        backdrop-filter: blur(10px);
        z-index: 9999;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 100px;
    }
    
    .mobile-menu.active {
        display: flex;
        transform: translateY(0);
    }
    
    .mobile-menu.active .mobile-menu-close {
        display: flex;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: none;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .mobile-nav-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 300px;
    }
    

    
    /* Remove the overlay background since menu is now a side panel */
    .nav-menu::before {
        display: none;
    }

    .mobile-nav-item {
        width: 100%;
        text-align: center;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
        gap: 12px;
    }
    
    .mobile-nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }
    
    .mobile-nav-link i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }
    
    /* Special styling for logout button */
    #mobileLogoutLink {
        background: rgba(220, 53, 69, 0.2) !important;
        border: 1px solid rgba(220, 53, 69, 0.3);
    }
    
    #mobileLogoutLink:hover {
        background: rgba(220, 53, 69, 0.3) !important;
        border-color: rgba(220, 53, 69, 0.5);
    }
    
    /* Special styling for login button */
    #mobileAuthLink {
        background: rgba(102, 126, 234, 0.2) !important;
        border: 1px solid rgba(102, 126, 234, 0.3);
    }
    
    #mobileAuthLink:hover {
        background: rgba(102, 126, 234, 0.3) !important;
        border-color: rgba(102, 126, 234, 0.5);
    }
    
    /* Hide mobile menu on desktop */
    @media (min-width: 769px) {
        .mobile-menu {
            display: none !important;
        }
    }



    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 2147483647;
        background: rgba(10, 10, 30, 0.9);
        border: 2px solid rgba(102, 126, 234, 0.3);
        border-radius: 8px;
        padding: 8px;
        backdrop-filter: blur(10px);
        margin-left: auto;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    


    /* Mobile User Menu */
    .user-menu {
        width: 100%;
        margin: 1rem 0;
    }

    .user-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        height: 60px;
        font-size: 1.3rem;
        font-weight: 500;
        color: #ffffff;
        text-decoration: none;
        border: 2px solid rgba(102, 126, 234, 0.3);
        border-radius: 10px;
        background: rgba(102, 126, 234, 0.1);
        transition: all 0.3s ease;
        margin: 0 auto;
    }

    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 1rem;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(102, 126, 234, 0.2);
        border-radius: 10px;
        width: 100%;
        max-width: 300px;
        margin: 1rem auto 0;
        backdrop-filter: blur(10px);
    }

    .user-dropdown::before {
        display: none;
    }

    .user-menu:hover .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .user-dropdown-item {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
        font-size: 1.2rem;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid rgba(102, 126, 234, 0.2);
        transition: all 0.3s ease;
    }
    
    .user-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .user-dropdown-item:hover {
        background: rgba(102, 126, 234, 0.2);
        color: #667eea;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .mission-status {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .mission-quote {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .mission-quote p {
        font-size: 1.5rem;
    }

    .mission-quote i {
        font-size: 2rem;
    }

    .space-station {
        font-size: 6rem;
    }

    .floating-elements {
        width: 200px;
        height: 200px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .camera-icon {
        font-size: 4rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat h4 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 100px 0 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .mission-quote {
        padding: 1.5rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .mission-quote p {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .mission-quote i {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.fade-in {
    animation: fadeInUp 1s ease;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Public Events Section */
.public-events {
    background: linear-gradient(135deg, #2a2a4e 0%, #26325e 50%, #1c1c2c 100%);
    padding: 120px 0 80px 0;
}

/* Past Events Section */
.past-events {
    background: linear-gradient(135deg, #1c1c2c 0%, #2a2a4e 50%, #26325e 100%);
    padding: 80px 0 120px 0;
}

.past-events .section-header h2 {
    color: #ffffff !important;
}

.past-events .section-header p {
    color: #ffffff !important;
}

.past-events-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.past-event-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.past-event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffa726);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.past-event-item:hover::before {
    opacity: 1;
}

.past-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.past-event-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.past-event-content h3 i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.past-event-date {
    color: #00d4ff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.past-event-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.past-event-content .btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.past-event-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, #ff5252 0%, #ff9800 100%);
}

@media (max-width: 768px) {
    .past-events-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .past-event-item {
        padding: 1.5rem;
    }
    
    .past-event-content h3 {
        font-size: 1.3rem;
    }
}

.public-events .section-header h2 {
    color: #ffffff !important;
}

.public-events .section-header p {
    color: #ffffff !important;
}

/* Past event styling */
.public-event-card.past-event {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.03);
}

.past-event-badge {
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: normal;
}

.public-event-card.past-event h3 {
    color: #ffffff;
}

.public-events-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 2rem;
}

.loading-events {
    grid-column: 1 / -1;
    text-align: center;
    color: #ffffff;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.loading-events i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.no-public-events {
    grid-column: 1 / -1;
    text-align: center;
    color: #ffffff;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.no-public-events i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(102, 126, 234, 0.8);
}

.public-event-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.public-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #00d4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.public-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.public-event-card:hover::before {
    opacity: 1;
}

.public-event-card h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.public-event-card h3 i {
    color: #667eea;
}



.public-event-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.public-event-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.public-event-info-item i {
    width: 20px;
    color: rgba(102, 126, 234, 0.8);
    text-align: center;
}

.public-event-description {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.public-event-signup {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.public-event-signup h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.signup-form label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.signup-form input {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.signup-form input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.signup-form .btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.signup-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.signup-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.signup-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #4CAF50;
    text-align: center;
    font-weight: 500;
}

.signup-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #f44336;
    text-align: center;
    font-weight: 500;
}

.participants-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.participants-count i {
    color: #667eea;
}

/* Responsive design for public events */
@media (max-width: 768px) {
    .public-events-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .public-event-card {
        padding: 1.5rem;
    }
    
    .public-event-card h3 {
        font-size: 1.2rem;
    }
    
    .public-event-signup {
        padding: 1rem;
    }
}

/* Event visibility icons */
.event-visibility-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.event-visibility-icon i {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.event-visibility-icon i:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.event-card {
    position: relative;
}

/* Custom confirmation dialog */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-confirm-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-confirm-dialog {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.custom-confirm-overlay.show .custom-confirm-dialog {
    transform: translateY(0);
}

.custom-confirm-dialog h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.custom-confirm-dialog p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.custom-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.custom-confirm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.custom-confirm-btn.cancel {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-confirm-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.custom-confirm-btn.confirm {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
}

.custom-confirm-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Drinks Inventar Section Styles */
.drinks-inventory-section {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    padding: 80px 20px 50px 20px;
    min-height: 100vh;
}

.drinks-inventory-container {
    max-width: 1200px;
    margin: 0 auto;
}

.drinks-inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 10px;
    position: relative;
}

.drinks-inventory-header .header-content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
}

.drinks-inventory-header .header-content {
    text-align: center;
    max-width: 600px;
    padding: 10px;
}

.drinks-inventory-header .header-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.drinks-inventory-header .header-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.drinks-inventory-header .back-btn,
.drinks-inventory-header .drinks-btn {
    flex-shrink: 0;
    align-self: flex-start;
}

.drinks-inventory-header .drinks-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.drinks-inventory-header .drinks-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.drink-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.drink-form-container h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.drink-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.components-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.components-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.components-section h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0;
}

.inventory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.inventory-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.inventory-link i {
    font-size: 0.8rem;
}

.component-group {
    margin-bottom: 1.5rem;
}

/* Add spacing between component rows */
.component-row {
    margin-bottom: 8px;
}

/* Move Beschreibung title closer to drink name field */
.form-group:has(#drinkDescription) label {
    margin-top: -30px;
}

/* Move Zubereitung title up */
.form-group:has(#instructions) label {
    margin-top: -30px;
}

/* Reduce Beschreibung field height by 50% */
.form-group:has(#drinkDescription) textarea {
    min-height: 60px;
    height: 60px;
}

.component-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.component-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.component-row select,
.component-row input {
    padding: 0.75rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.component-row select:focus,
.component-row input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.component-row select option {
    background: #1a1a2e;
    color: #ffffff;
}

.saved-drinks-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.saved-drinks-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.saved-drinks-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.saved-drink-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drink-info h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.drink-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.drink-components {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.component-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.drink-actions {
    display: flex;
    gap: 1rem;
}

.edit-btn, .delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
}

.delete-btn {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: #ffffff;
}

.edit-btn:hover, .delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.empty-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 2rem;
}

/* Mobile responsive styles for Drinks Inventar */
@media (max-width: 768px) {
    .drinks-inventory-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .drinks-inventory-header .header-content h2 {
        font-size: 2rem;
    }
    
    .component-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .saved-drink-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .drink-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Inventory Management Styles */
.inventory-management-section {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    padding: 80px 20px 50px 20px;
    min-height: calc(100vh - 120px);
}

.inventory-management-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.inventory-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 3rem;
    border: 2px solid red;
    padding: 10px;
    gap: 10px;
}

.inventory-header .header-content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid orange;
    padding: 10px;
}

.inventory-header .header-content {
    text-align: center;
    max-width: 600px;
    border: 2px solid yellow;
    padding: 10px;
}

.inventory-header .header-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.inventory-header .header-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.inventory-header .back-btn,
.inventory-header .drinks-btn {
    flex-shrink: 0;
    align-self: flex-start;
}

.inventory-header .drinks-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.add-component-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.add-component-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.add-component-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.add-component-form label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.add-component-form input,
.add-component-form select {
    padding: 0.75rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.add-component-form input:focus,
.add-component-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.add-component-form select option {
    background: #1a1a2e;
    color: #ffffff;
}

.components-list-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.components-list-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.components-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.component-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.component-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
}

.component-item.inactive {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.02);
}

.component-info h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.component-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.component-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.component-category,
.component-sort,
.component-base,
.component-status {
    background: rgba(102, 126, 234, 0.2);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.component-status {
    background: rgba(76, 175, 80, 0.2);
}

.component-item.inactive .component-status {
    background: rgba(244, 67, 54, 0.2);
}

.component-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #ffffff;
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.edit-dialog {
    max-width: 500px;
    width: 90%;
}

.edit-component-form {
    text-align: left;
}

.edit-component-form .form-group {
    margin-bottom: 1.5rem;
}

.edit-component-form label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.edit-component-form input,
.edit-component-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.edit-component-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.edit-component-form input:focus,
.edit-component-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

/* Mobile responsive styles for Inventory Management */
@media (max-width: 768px) {
    .inventory-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .inventory-header .header-content h2 {
        font-size: 2rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .tab-btn {
        white-space: nowrap;
        min-width: auto;
    }
    
    .add-component-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .component-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .component-actions {
        width: 100%;
        justify-content: center;
    }
    
    .component-meta {
        justify-content: center;
    }
}

/* Button Styles - Consistent with lauter-bloedsinn.html */
.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.save-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.calculate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.reset-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.add-drink-btn {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.add-drink-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.4);
}

/* Shopping List Styles */
.shopping-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.shopping-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.shopping-list-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
}

.inventory-link-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.inventory-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.inventory-link-btn i {
    font-size: 0.8rem;
}

.print-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.print-btn i {
    font-size: 0.8rem;
}

.estimate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.estimate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.estimate-btn i {
    font-size: 0.8rem;
}

.estimate-btn.completed {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.estimate-btn.completed:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.estimate-btn.completed i {
    color: white;
}

.estimate-btn.completed .fa-redo {
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.8;
}

.estimate-btn.completed .fa-check {
    margin-left: 4px;
}

/* Cost Estimate Styles */
.cost-estimate-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.cost-estimate-section h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.estimate-totals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.estimate-option {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.estimate-option.budget {
    border-color: #ff6b6b;
}

.estimate-option.standard {
    border-color: #4ecdc4;
}

.estimate-option.premium {
    border-color: #45b7d1;
}

.estimate-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.estimate-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
}

.estimate-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.estimate-notes {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
}

.estimate-notes p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.estimate-warning {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    color: #ffc107;
    font-size: 0.9rem;
    line-height: 1.4;
}

.estimate-warning i {
    margin-right: 0.5rem;
    color: #ffc107;
}

/* Detailed Breakdown Styles */
.estimate-breakdown {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.estimate-breakdown h5 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-breakdown {
    margin-bottom: 1.5rem;
}

.category-breakdown h6 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.3rem;
}

.items-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.item-breakdown {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #00d4ff;
}

.item-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.item-quantity {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.item-calculation {
    color: #ccc;
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border-left: 2px solid #00d4ff;
}

.item-prices {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.item-prices .price {
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-right: 0.5rem;
}

.item-prices .price.budget {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.item-prices .price.standard {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.item-prices .price.premium {
    background: rgba(69, 183, 209, 0.2);
    color: #45b7d1;
    border: 1px solid rgba(69, 183, 209, 0.3);
}

.shopping-category {
    margin-bottom: 1.5rem;
}

.shopping-category h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shopping-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shopping-item:last-child {
    border-bottom: none;
}

.shopping-item-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.shopping-item-quantity {
    color: #00d4ff;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.shopping-item-breakdown {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
    line-height: 1.4;
    text-align: left;
    width: 100%;
    display: none;
}

.event-name-item {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
}

.event-name-value {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.5px;
} 