/* ==========================================================================
   Page styles: masmc/masmc.html
   Global/shared styles live in assets/css/style.css (and tailwind.css).
   ========================================================================== */

/* Advanced Glassmorphism & SaaS Theme Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}
.dark .glass-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.glass-card:hover {
    border: 1px solid rgba(196, 30, 58, 0.4);
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lake Sebu Nature Gradients */
.nature-gradient-bg {
    background: radial-gradient(circle at 80% 0%, rgba(196, 30, 58, 0.1) 0%, transparent 50%), /* Marist Red */
                radial-gradient(circle at 10% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 40%), /* Forest Green */
                radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%); /* Lake Blue */
}

/* T'nalak Cultural Weave Pattern Background (SVG) */
.tnalak-pattern {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h18v2H22v18H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2z' fill='%23c41e3a' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.dark .tnalak-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h18v2H22v18H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2z' fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Utilities */
.text-gradient-primary {
    background: linear-gradient(135deg, #c41e3a 0%, #ff4b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-nature {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Ken Burns Effect for Gallery */
@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(1%, 1%); }
}
.animate-ken-burns {
    animation: kenBurns 10s ease-in-out infinite alternate;
}
#gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
#gallery-lightbox.active #lightbox-img {
    transform: scale(1);
}

/* 3D Tilt & Floating Effects (Dribbble Inspired) */
.tilt-card {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.tilt-card:hover {
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.15);
    border-color: rgba(196, 30, 58, 0.5) !important;
}

.floating-icon {
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.neon-glow {
    position: relative;
}
.neon-glow::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, #c41e3a, #ff4b6b, #10b981, #3b82f6);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}
.neon-glow:hover::after {
    opacity: 0.4;
}

/* Glass Card Refinement */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark .glass-card {
    background: rgba(10, 10, 15, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
