/* ============================================
   Connor Fields Speaking — Custom Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    --plum-50: #fdf4f8;
    --plum-100: #fce7f3;
    --plum-200: #fbcfe8;
    --plum-300: #f9a8d4;
    --plum-400: #f472b6;
    --plum-500: #db2777;
    --plum-600: #be185d;
    --plum-700: #9d174d;
    --plum-800: #831443;
    --plum-900: #500724;
    --plum-950: #2d0312;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #500724;
    overflow-x: hidden;
}

/* ============================================
   Geometric Background Shapes (Hero)
   ============================================ */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--amber-400) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--plum-400) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: var(--amber-400);
    top: 30%;
    right: 5%;
    border-radius: 30px;
    transform: rotate(45deg);
    opacity: 0.08;
    animation: float-medium 12s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--plum-500);
    top: 60%;
    left: 5%;
    opacity: 0.06;
    animation: float-medium 18s ease-in-out infinite;
}

.geo-dot-group {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--amber-400) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 20%;
    left: 15%;
    opacity: 0.3;
    animation: float-slow 10s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(40px, -40px) rotate(55deg); }
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(80, 7, 36, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-link {
    position: relative;
}

#mobileMenu {
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    position: relative;
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(80, 7, 36, 0.12);
}

/* ============================================
   Topic Items
   ============================================ */
.topic-item {
    position: relative;
}

/* ============================================
   Scroll Reveal Animations
   (Progressive Enhancement — content is visible by default)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #c4b5cd;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: var(--amber-400);
    color: var(--plum-950);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .geo-triangle {
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 100px solid var(--plum-500);
    }
    
    .geo-dot-group {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar,
    .geo-shape,
    button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
