/* ==========================================
   SIMONVIEW CAPITAL - STYLESHEET
   ========================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafaf9;
}
::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}

/* Text selection color */
::selection {
    background-color: #292524;
    color: #fafaf9;
}

/* Animation Utilities */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Market pulse animation */
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.market-open {
    animation: pulse-green 2s infinite;
}

/* Background patterns */
.bg-pattern {
    background-image: radial-gradient(#44403c 1px, transparent 1px);
    background-size: 32px 32px;
}
.bg-pattern-diagonal {
    background-image: linear-gradient(45deg, #ffffff 25%, transparent 25%), 
                      linear-gradient(-45deg, #ffffff 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #ffffff 75%), 
                      linear-gradient(-45deg, transparent 75%, #ffffff 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Market Bar */
.market-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1c1917;
    color: #fafaf9;
    z-index: 60;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    background-color: rgba(250, 250, 249, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.5);
    transition: all 0.3s ease;
    margin-top: 2rem;
}
.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: #57534e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    position: relative;
}
.nav-link:hover {
    color: #1c1917;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.nav-button {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1c1917;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #d6d3d1;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s;
}
.nav-button:hover {
    background-color: #1c1917;
    color: #fafaf9;
}

/* Mobile Menu */
.mobile-menu {
    background-color: #fafaf9;
    border-bottom: 1px solid #e7e5e4;
    position: absolute;
    width: 100%;
}
.mobile-link {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #57534e;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f4;
}
.mobile-link:hover {
    color: #1c1917;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: hidden;
}
.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f5f5f4;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #57534e;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}
.btn-primary {
    position: relative;
    padding: 1rem 2rem;
    background-color: #1c1917;
    color: #fafaf9;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #292524;
}
.btn-secondary {
    padding: 1rem 2rem;
    border: 1px solid #d6d3d1;
    color: #44403c;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: #1c1917;
    color: #1c1917;
}
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Market Ticker */
.market-ticker {
    background-color: #1c1917;
    color: #fafaf9;
    padding: 1rem 0;
    border-top: 1px solid #292524;
    border-bottom: 1px solid #292524;
}

/* Sections */
.section-white {
    background-color: #ffffff;
    border-top: 1px solid #f5f5f4;
    padding: 6rem 0;
}
.section-gray {
    background-color: #fafaf9;
    padding: 6rem 0;
}
.section-dark {
    background-color: #1c1917;
    color: #fafaf9;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.section-light {
    background-color: #f5f5f4;
    border-top: 1px solid #e7e5e4;
    border-bottom: 1px solid #e7e5e4;
    padding: 5rem 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.25rem;
    color: #1c1917;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Feature Boxes */
.feature-box h3 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.25rem;
    color: #1c1917;
    margin-bottom: 0.5rem;
}
.feature-box p {
    font-size: 0.875rem;
    color: #78716c;
    line-height: 1.6;
}

/* Cards */
.card {
    background-color: #ffffff;
    padding: 2rem;
    border: 1px solid #e7e5e4;
    transition: all 0.5s;
}
.card:hover {
    border-color: #a8a29e;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card-icon {
    margin-bottom: 1.5rem;
}
.card-icon svg {
    width: 2rem;
    height: 2rem;
    color: #a8a29e;
    transition: color 0.3s;
}
.card:hover .card-icon svg {
    color: #1c1917;
}
.card-list {
    space-y: 0.75rem;
    font-size: 0.875rem;
    color: #57534e;
    font-weight: 300;
}
.card-list li {
    display: flex;
    align-items: flex-start;
}
.card-list li span {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #a8a29e;
    border-radius: 9999px;
    margin-top: 0.375rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Philosophy Items */
.philosophy-item {
    border-left: 1px solid #44403c;
    padding-left: 2rem;
    transition: border-color 0.3s;
}
.philosophy-item:hover {
    border-color: #78716c;
}
.philosophy-item h3 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}
.philosophy-item p {
    color: #a8a29e;
    font-weight: 300;
    line-height: 1.6;
}

/* Links */
.text-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1c1917;
    border-bottom: 1px solid #1c1917;
    padding-bottom: 0.25rem;
    transition: all 0.2s;
}
.text-link:hover {
    color: #57534e;
    border-color: #57534e;
}

/* Contact Box */
.contact-box {
    background-color: #fafaf9;
    padding: 2rem;
    border: 1px solid #e7e5e4;
}
@media (min-width: 768px) {
    .contact-box {
        padding: 3rem;
    }
}
.checklist {
    space-y: 0.5rem;
    font-size: 0.875rem;
    color: #57534e;
    margin-bottom: 1.5rem;
}
.checklist li {
    display: flex;
    align-items: center;
}
.checklist li::before {
    content: '';
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23a8a29e' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.email-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #1c1917;
    transition: color 0.2s;
}
.email-link:hover {
    color: #57534e;
}
.email-link span {
    border-bottom: 1px solid #1c1917;
}
.email-link:hover span {
    border-color: #57534e;
}
.email-link svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.2s;
}
.email-link:hover svg {
    transform: translateX(0.25rem);
}

/* Footer */
.footer {
    background-color: #fafaf9;
    border-top: 1px solid #e7e5e4;
    padding: 3rem 0;
}
.footer-link {
    font-size: 0.75rem;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #1c1917;
}

/* Utilities */
.hidden {
    display: none;
}