/* 
 * Main Stylesheet for BNKOps Website
 * Version: 2.0.0
 * Date: May 2025
 */

/* ==================== 
   Base Styling 
   ==================== */
:root {
    /* Trans Pride Theme Colors */
    --trans-blue: #5BCEFA;
    --trans-pink: #F5A9B8;
    --trans-white: #FFFFFF;

    /* Primary dark purple theme */
    --primary-color: #7B2CBF;
    --secondary-color: #9D4EDD;
    --accent-color: #C77DFF;
    
    /* Additional theme colors */
    --dark-purple: #3C096C;
    --light-purple: #E0AAFF;
    
    /* UI Colors */
    --light-color: #F8F9FA;
    --dark-color: #240046;
    --text-color: #F8F9FA;
    --body-bg: #10002B;
    --footer-bg: #240046;
    --card-bg: #3C096C;
    
    /* Utility */
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
    
    /* Post-it note colors */
    --postit-blue: var(--trans-blue);
    --postit-pink: var(--trans-pink);
    --postit-white: var(--trans-white);
    --postit-purple: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    background-image: linear-gradient(to bottom, var(--dark-purple), var(--body-bg));
    min-height: 100vh;
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--trans-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--trans-pink);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--trans-pink);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--trans-white), var(--trans-pink), var(--trans-blue));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    color: var(--light-purple);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ==================== 
   Post-it Notes Styling
   ==================== */
.post-it {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 2; /* Add z-index to ensure post-its stay above emoji stickers */
    margin-bottom: 20px;
    transform: rotate(0deg);
}

.post-it-blue {
    background-color: var(--postit-blue);
    border-top: 8px solid #4AADDF;
    color: #444;
}

.post-it-pink {
    background-color: var(--postit-pink);
    border-top: 8px solid #E797A7;
    color: #444;
}

.post-it-white {
    background-color: var(--postit-white);
    border-top: 8px solid #E7E7E7;
    color: #444;
}

/* Add text shadow to post-its for better readability */
.hero .post-it p {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.post-it-purple {
    background-color: var(--primary-color);
    border-top: 8px solid var(--accent-color);
    color: white;
}

.tilt-left-sm {
    transform: rotate(-2deg);
}

.tilt-right-sm {
    transform: rotate(2deg);
}

.tilt-left-md {
    transform: rotate(-4deg);
}

.tilt-right-md {
    transform: rotate(4deg);
}

.post-it:hover {
    transform: scale(1.03) rotate(0deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* ==================== 
   Buttons
   ==================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--trans-white), var(--trans-pink), var(--trans-blue));
    z-index: -1;
    transition: transform 0.5s;
    transform: translateX(-100%);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:hover {
    color: var(--dark-purple);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover, .btn-secondary:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* ==================== 
   Navigation
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(16, 0, 43, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    border-bottom: 1px solid rgba(123, 44, 191, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--trans-white);
    text-shadow: 0 0 10px rgba(91, 206, 250, 0.5), 0 0 20px rgba(245, 169, 184, 0.3);
    position: relative;
}

.logo a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--trans-white));
    border-radius: 3px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--light-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--trans-blue), var(--trans-pink));
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--trans-pink);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: var(--transition);
    display: block;
}

/* ==================== 
   Hero Section
   ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(16, 0, 43, 0.8), rgba(36, 0, 70, 0.9)), url('../img/hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Add z-index to ensure content stays above emoji stickers */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--trans-blue) 0%, var(--trans-pink) 50%, var(--trans-white) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--trans-white);
    text-shadow: 0 0 15px rgba(123, 44, 191, 0.8);
    position: relative;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--trans-blue), var(--trans-pink), var(--trans-white));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--trans-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.emoji-sticker {
    position: absolute;
    font-size: 3rem;
    z-index: -1; /* Changed from 0 to -1 to ensure it's behind other elements */
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    pointer-events: none; /* So they don't interfere with clicks */
    opacity: 0.8;
}

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

/* Polaroid styling */
.polaroid {
    background-color: white;
    padding: 15px 15px 45px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    margin: 20px auto;
    transform: rotate(-3deg);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    flex-shrink: 0; /* Prevent shrinking in flexbox */
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.polaroid-inner {
    position: relative;
    overflow: hidden;
}

.polaroid-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.polaroid:hover .polaroid-img {
    transform: scale(1.03);
}

.polaroid-caption {
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

.polaroid-caption p {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==================== 
   Services Section
   ==================== */
.services {
    background-color: var(--body-bg);
    position: relative;
    z-index: 5;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.1) 0%, transparent 60%),
                     radial-gradient(circle at 80% 70%, rgba(245, 169, 184, 0.1) 0%, transparent 60%);
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    color: var(--text-color);
    position: relative;
    z-index: 2; /* Add z-index to ensure cards stay above emoji stickers */
    overflow: hidden;
    border-top: 4px solid transparent;
}

.service-card:nth-child(3n+1) {
    border-color: var(--trans-blue);
}

.service-card:nth-child(3n+2) {
    border-color: var(--trans-pink);
}

.service-card:nth-child(3n+3) {
    border-color: var(--trans-white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--trans-white));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var (--trans-white);
}

/* ==================== 
   About Section
   ==================== */
.about {
    background-color: var(--dark-purple);
    position: relative;
}

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

.about-text {
    color: var(--text-color);
}

/* Add specific styling for the about text card */
.about-text .post-it {
    border-left: 4px solid var(--trans-pink);
    padding: 25px 30px;
    margin-bottom: 0;
}

.about-text .post-it p:last-child {
    margin-bottom: 0;
}

.about-text p:last-child {
    margin-bottom: 0;
}

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

.stat-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    color: var(--text-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* ==================== 
   Contact Section
   ==================== */
.contact {
    background-color: var(--body-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 90% 10%, rgba(123, 44, 191, 0.2) 0%, transparent 60%),
                     radial-gradient(circle at 20% 90%, rgba(245, 169, 184, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2; /* Change from 1 to 2 for consistency with other elements */
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--trans-pink);
    margin-right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(123, 44, 191, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-item:hover i {
    background-color: var(--primary-color);
    color: var(--trans-white);
    transform: scale(1.1);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--trans-blue);
}

.contact-item p {
    color: var (--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(60, 9, 108, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
    box-shadow: 0 0 10px rgba(123, 44, 191, 0.1) inset;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 249, 250, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--trans-pink);
    outline: none;
    box-shadow: 0 0 15px rgba(245, 169, 184, 0.3);
}

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

/* ==================== 
   Footer
   ==================== */
footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 70px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink), var(--trans-white), var(--trans-pink), var(--trans-blue));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--trans-white);
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--trans-blue), var(--trans-pink));
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-purple);
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--trans-pink);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(60, 9, 108, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--trans-blue), var(--trans-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 169, 184, 0.2);
    color: var (--light-purple);
}

/* ==================== 
   Sitemap Page
   ==================== */
.sitemap-section {
    padding-top: 150px;
    min-height: calc(100vh - 300px);
}

.sitemap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sitemap-group {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.sitemap-group h2 {
    color: var(--trans-pink);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sitemap-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.sitemap-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--trans-blue);
}

.sitemap-list li a {
    color: var(--text-color);
    transition: var(--transition);
}

.sitemap-list li a:hover {
    color: var(--trans-pink);
}

.sitemap-list ul {
    margin-top: 10px;
    margin-left: 20px;
}

/* ==================== 
   Error Page (404)
   ==================== */
.error-page {
    background-color: var(--body-bg);
}

.error-container {
    padding-top: 150px;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.error-container .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--trans-blue), var(--trans-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.error-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--trans-white);
}

.error-content p {
    color: var(--light-purple);
}

.error-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

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

.error-illustration i {
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.3;
}
