/* ============================================
   Fellowship Cafe — Custom Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: #db2777;
    top: -200px;
    right: -150px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: #f59e0b;
    bottom: 10%;
    left: -100px;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: #db2777;
    top: 50%;
    right: 5%;
}

.geo-rect {
    position: absolute;
    opacity: 0.03;
}

.geo-rect--1 {
    width: 150px;
    height: 150px;
    background: #f59e0b;
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    position: absolute;
    opacity: 0.03;
}

.geo-triangle--1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #db2777;
    top: 60%;
    right: 10%;
    transform: rotate(-15deg);
}

/* Hexagon shapes */
.geo-hex {
    position: absolute;
    opacity: 0.06;
}

.geo-hex--1 {
    width: 120px;
    height: 120px;
    background: #f59e0b;
    top: 15%;
    left: 8%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.geo-hex--2 {
    width: 80px;
    height: 80px;
    background: #db2777;
    bottom: 20%;
    right: 12%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.geo-hex--3 {
    width: 60px;
    height: 60px;
    background: #f59e0b;
    top: 40%;
    right: 5%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Dot pattern */
.geo-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(219, 39, 119, 0.08);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #be185d !important;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ============================================
   Mobile Menu
   ============================================ */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    display: block;
}

.mobile-nav-link:hover {
    color: #be185d !important;
    padding-left: 1rem !important;
}

/* ============================================
   Button & Link Hover Effects
   ============================================ */
a {
    text-decoration: none;
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf4f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #db2777, #f59e0b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* ============================================
   Selection
   ============================================ */
::selection {
    background: #fbcfe8;
    color: #500724;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
