/* Custom Styles */

html {
    scroll-behavior: smooth;
}

.nav-link {
    font-family: 'Cabin', sans-serif;
    text-transform: uppercase;
    color: white;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF9831;
}

/* Keynote bullets */
ul.keynote-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

ul.keynote-list li::before {
    content: "\f0a9"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #FF9831;
}

.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
}
.aspect-w-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Blog Modal Content Styling */
#blogModalContent h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #212529;
}

#blogModalContent p {
    margin-bottom: 1rem;
}

#blogModalContent ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#blogModalContent blockquote {
    border-left: 4px solid #FF9831;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 1rem;
    margin: 1.5rem 0;
}

a.substack-link {
    color: #FF9831;       /* Scott Orange */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a.substack-link:hover {
    color: #fec503;       /* The "Nice" Gold/Yellow from original CSS */
    text-decoration: underline;
}

/* Legal Modal Styling */
#legalModalContent h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

#legalModalContent p {
    margin-bottom: 1rem;
}

/* Prevent scroll chaining (scrolling background when modal ends) */
.modal-scroll-fix {
    overscroll-behavior: contain;
}

/* Animation for Load More */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}



/* --- BUTTON DESIGN SYSTEM --- */

/* Base Button Style (Shared by all) */
.btn-scott {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-width: 2px;
    border-style: solid;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem; /* Matches Tailwind 'rounded-md' */
}

/* SIZE: Large (Hero, Blog, Contact) */
.btn-lg {
    padding: 1rem 2.5rem; /* py-4 px-10 */
    font-size: 1.25rem;   /* text-xl */
}

/* SIZE: Medium (Navigation, Modals) */
.btn-md {
    padding: 0.5rem 1.25rem; /* py-2 px-5 */
    font-size: 1rem;         /* text-base */
}

/* STYLE 1: Primary Orange (The main CTA) */
/* Look: Orange BG, White Text -> Hover: Transparent BG, Orange Text */
.btn-primary {
    background-color: #FF9831;
    border-color: #FF9831;
    color: white;
}
.btn-primary:hover {
    background-color: transparent;
    color: #FF9831;
    transform: scale(1.05); /* Slight pop */
}

/* STYLE 2: Ghost White (Hero Secondary) */
/* Look: Transparent BG, White Border -> Hover: White BG, Black Text */
.btn-ghost-white {
    background-color: transparent;
    border-color: white;
    color: white;
}
.btn-ghost-white:hover {
    background-color: white;
    color: #212529; /* Dark Text */
    border-color: white;
}

/* STYLE 3: Inverse (For Orange Background Sections) */
/* Look: White BG, Orange Text -> Hover: Dark BG, White Text */
.btn-inverse {
    background-color: white;
    border-color: white;
    color: #FF9831;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.btn-inverse:hover {
    background-color: #212529; /* Dark Scott Color */
    border-color: #212529;
    color: white;
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* STYLE 4: Dark (Modals/Load More) */
.btn-dark {
    background-color: #212529;
    border-color: #212529;
    color: white;
}
.btn-dark:hover {
    background-color: #FF9831;
    border-color: #FF9831;
    color: white;
}