/* Variables — edit these to match your brand */
:root {
    --color-primary: #0d6efd;
    --color-primary-dark: #0b5ed7;
    --color-secondary: #6c757d;
    --color-accent: #198754;
    --color-tan: #b89968;
    --color-tan-dark: #9a7a52;
    --color-tan-medium: #d4c4a8;
    --color-tan-light: #f5f1e8;
}

/* Typography */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navbar */
.navbar-brand {
    font-size: 1.4rem;
}

/* Hero section */
.hero {
    padding: 5rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Hero heading with serif font */
.hero-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    font-weight: 300;
}

/* Hero subtitle - smaller supporting text */
.hero-subtitle {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #ffffff;
}

/* Section heading with serif font (matches hero but in dark grey) */
.section-heading-serif {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #495057 !important;
    font-weight: 300;
}

/* Section subtitle - larger supporting text matching hero subtitle size */
.section-subtitle {
    font-size: 1.6rem;
    line-height: 1.5;
}

/* Horizontal list with separators */
.horizontal-list {
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: bold;
}

.horizontal-list span {
    display: inline;
}

.horizontal-list span:not(:last-child)::after {
    content: " · ";
    margin: 0 0.5rem;
}

@media (max-width: 1199px) {
    .hero-heading {
        font-size: 3.5rem;
    }
    .section-heading-serif {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .hero-heading {
        font-size: 3rem;
    }
    .section-heading-serif {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero {
        padding: 3rem 0;
    }
    .hero-heading {
        font-size: 2.5rem;
    }
    .section-heading-serif {
        font-size: 2.5rem;
    }
}

/* Section spacing */
.section {
    padding: 4rem 0;
}

/* Cards */
.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-4px);
}

/* Footer */
footer a:hover {
    color: white !important;
}

/* Active nav indicator */
.nav-item.active .nav-link {
    font-weight: 600;
}

/* Sparrow-style elements */
.bg-holder {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    z-index: 0;
}

.bg-holder + * {
    position: relative;
}

.hr-short {
    width: 50px;
    height: 2px;
    background: currentColor;
    opacity: 1;
    margin: 0 auto;
}

.ls {
    letter-spacing: 0.1em;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text decoration underline spacing */
.text-decoration-underline {
    text-underline-offset: 0.3em;
    text-decoration-thickness: 2px;
}

/* New Hero Section Styling */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

/* Ensure proper layering for hero overlays */
section.position-relative .bg-holder {
    z-index: 0;
}

section.position-relative > .position-absolute {
    z-index: 1;
}

section.position-relative > .container {
    z-index: 2;
}

/* Card hover effects for blog/exploring section */
article.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

article.card img {
    transition: transform 0.3s ease;
}

article.card:hover img {
    transform: scale(1.05);
}

article.card .card-img-top {
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}

/* Tan/Brown accent color utilities */
.bg-tan {
    background-color: var(--color-tan) !important;
}

.bg-tan-light {
    background-color: var(--color-tan-light) !important;
}

.text-tan {
    color: var(--color-tan) !important;
}

.btn-tan {
    background-color: var(--color-tan);
    border-color: var(--color-tan);
    color: white;
}

.btn-tan:hover {
    background-color: var(--color-tan-dark);
    border-color: var(--color-tan-dark);
    color: white;
}

.btn-outline-tan {
    color: var(--color-tan);
    border-color: var(--color-tan);
}

.btn-outline-tan:hover {
    background-color: var(--color-tan);
    border-color: var(--color-tan);
    color: white;
}

/* Four Skills Grid - Icon styling */
.card svg {
    color: var(--color-primary);
}

/* Icon circle styling for skills section */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-tan-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle svg {
    color: var(--color-tan);
}

/* Feature Icon Wrapper - For inline feature icons */
.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrapper svg {
    color: var(--color-tan);
}

/* Mobile responsive adjustments for background hero sections */
@media (max-width: 768px) {
    section[style*="min-height: 600px"] {
        min-height: 500px !important;
    }
}

/* Smaller text for skill descriptions */
.skill-description {
    font-size: 0.875rem;
}

/* Smaller skill titles */
.skill-title {
    font-size: 0.875rem;
}

/* Responsive adjustments for Start Doing Differently section */
@media (max-width: 991px) {
    section .col-lg-6[style*="background-color"] {
        min-height: 400px;
    }
}

/* Parallax Section Styling */
.parallax-section {
    min-height: 600px;
    overflow: hidden;
}

.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* Disable parallax on mobile for better performance and avoid iOS issues */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }

    .parallax-section {
        min-height: 500px;
    }
}

/* Keyword Badges - Elevated Design */
/* Commented out - Replaced with feature icon layout */
/*
.keyword-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.keyword-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--color-tan-dark);
    border: 2px solid var(--color-tan);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(184, 153, 104, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.keyword-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 153, 104, 0.25);
    background: var(--color-tan-medium);
    border-color: var(--color-tan-dark);
}
*/

/* Commented out - Replaced with simple image layout */
/*
.image-frame {
    position: relative;
}

.image-frame-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-tan);
    border-radius: 0.375rem;
    top: -20px;
    left: -20px;
    z-index: 0;
    transition: all 0.3s ease;
}

.image-frame img {
    position: relative;
    z-index: 1;
}

.image-frame:hover .image-frame-border {
    top: -25px;
    left: -25px;
    border-color: var(--color-tan-dark);
}

@media (max-width: 991px) {
    .image-frame-border {
        top: -15px;
        left: -15px;
    }

    .image-frame:hover .image-frame-border {
        top: -18px;
        left: -18px;
    }
}

@media (max-width: 575px) {
    .keyword-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}
*/
