/* ========================================
   841 Brighton Place — Custom Styles
   ======================================== */

/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #f6f6f7;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0c10;
}
::-webkit-scrollbar-thumb {
    background: #3a3c44;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B4A;
}

/* ========================================
   Navbar
   ======================================== */
.navbar-scrolled {
    background: rgba(10, 12, 16, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

/* ========================================
   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);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   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-link {
    display: block;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    padding-left: 12px;
}

/* ========================================
   Geometric Accent Shapes
   ======================================== */
.geo-shape-1 {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.15), rgba(255, 107, 74, 0.05));
    border-radius: 24px;
    transform: rotate(45deg);
    pointer-events: none;
}

.geo-shape-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 74, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================
   Form Styles
   ======================================== */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #5f616b;
}

/* ========================================
   Card Hover Effects
   ======================================== */
.rounded-2xl,
.rounded-3xl {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}

/* ========================================
   Image Loading Placeholder
   ======================================== */
img {
    background: linear-gradient(135deg, #1e2028 0%, #2a2c34 100%);
}

/* ========================================
   Subtle Pattern Overlay
   ======================================== */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
    background-size: 40px 40px;
}
