/* Shared styles for consistency across pages */
body {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
}

/* Standardized navigation */
.nav-menu {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.1em;
    opacity: 0.8;
    transition: opacity 0.3s;
    padding: 5px 10px;
    font-weight: 300;
    position: relative;
}

.nav-menu a:hover {
    opacity: 1;
}

/* Standardized content panels */
.content-panel {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-bottom: 30px;
}

/* Page-specific background treatments (except homepage) */
.background-standard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.85 !important;
}

/* Standard overlay (not for homepage) */
.overlay-standard {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.3) 100%) !important;
    z-index: -1;
}

/* Zen-inspired design elements */
.panel-accent {
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
    margin: 30px 0;
}

.pull-quote {
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin: 30px 0;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

/* Standard typography */
h1, h2, h3 {
    font-weight: 400 !important;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    color: white !important;
}

p {
    line-height: 1.6;
    font-weight: 400 !important;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 1) !important;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-menu a {
        margin: 0 10px;
        font-size: 0.9em;
    }
    
    .content-panel {
        padding: 20px;
    }
} 

/* --- Popup styles for Tell A Friend (Additions) --- */
.popup {
    position: absolute;
    bottom: calc(100% + 15px); /* Position above the menu item */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Initial position hidden */
    width: 300px;
    background: rgba(30, 30, 30, 0.95);
    padding: 20px;
    border-radius: 12px;
    font-size: 0.9em; /* Smaller font inside popup */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9); /* Ensure text is visible */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto; /* Allow interaction */
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100; /* Ensure popup is above other content */
}

/* Arrow at bottom of popup */
.popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(30, 30, 30, 0.95);
}

/* Show popup on hover */
.tell-a-friend-link:hover .popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Final position */
}

/* Link container inside popup */
.link-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}

.copyable-link {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Source Sans Pro', sans-serif; /* Match other inputs if needed */
    font-size: 0.9em;
    outline: none;
    cursor: text;
    width: 100%; /* Ensure it takes available space */
    box-sizing: border-box; /* Include padding in width */
}

.copy-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.copy-button.copied {
    background: rgba(50, 205, 50, 0.25);
    border-color: rgba(50, 205, 50, 0.4);
    color: rgba(255, 255, 255, 0.95); /* Keep text color consistent */
}
/* --- End Popup styles --- */ 