/* INKlined Theme Main Styles */

:root {
    --ink-charcoal: #353330;
    --ink-gold: #d0b97b;
    --ink-cream: #fff9f9;
    --ink-orange: #ff9040;
    --header-height: 88px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--ink-charcoal);
    background: var(--ink-cream);
}

/* Navigation */
.navbar-dark {
    background: transparent !important;
    border-bottom: none;
    z-index: 1020;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    text-decoration: none;
}

.custom-logo {
    width: 200px;
    height: auto;
}

.brand-badge {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ink-gold);
    color: var(--ink-charcoal);
    font-weight: 800;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--ink-gold) !important;
}

.navbar-nav .current-menu-item .nav-link,
.navbar-nav .current_page_item .nav-link {
    color: var(--ink-gold) !important;
}

.nav-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    gap: 1rem;
}

.nav-menu-toggle {
    border: none;
    border-radius: 6px;
    color: #eec54c;
    padding: 0.4rem 0.6rem;
    background: transparent;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
}

.nav-menu-toggle:focus {
    box-shadow: none;
}

.nav-menu-toggle:focus-visible {
    outline: 2px solid #eec54c;
    outline-offset: 2px;
}

.nav-menu-toggle:hover {
    color: #fff3b0;
}

.nav-menu-toggle .navbar-toggler-icon {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #eec54c;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.nav-menu-toggle .navbar-toggler-icon::before,
.nav-menu-toggle .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eec54c;
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease;
}

.nav-menu-toggle .navbar-toggler-icon::before {
    top: -6px;
}

.nav-menu-toggle .navbar-toggler-icon::after {
    top: 6px;
}

.nav-menu-toggle[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.nav-menu-toggle[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-menu-toggle[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.nav-logo .custom-logo-link,
.nav-logo .navbar-brand {
    margin: 0 auto;
}

.nav-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 3.5rem;
    justify-self: end;
}

.nav-cta .btn-cta {
    white-space: nowrap;
}

.nav-logo,
.nav-cta {
    transition: opacity 0.3s ease;
}

.nav-menu {
    width: 100%;
    padding: 1.5rem 0;
    border-top: none;
    background: transparent;
}

.nav-menu .nav-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
    margin-bottom: 0;
    width: 100%;
}

.nav-menu .nav-menu-list .nav-item {
    width: 100%;
}

.nav-menu .nav-menu-list .nav-link {
    margin: 0;
    padding: 0.5rem 0;
    text-align: left;
}

@media (max-width: 576px) {
    .nav-header {
        padding: 0.6rem 0;
    }

    .nav-menu-toggle {
        padding: 0.35rem 0.55rem;
    }

    .nav-cta .btn-cta {
        padding: 6px 16px;
        font-size: 0.875rem;
    }
}

.btn-cta {
    background: transparent;
    border: 2px solid var(--ink-gold);
    color: white !important;
    border-radius: 50px;
    padding: 8px 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--ink-gold);
    color: var(--ink-charcoal) !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 120vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: calc(8rem + var(--header-height)) 0 8rem;
    margin-top: calc(-1 * var(--header-height));
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    border: 2px solid var(--ink-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-gold);
    background-color: rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    animation: scroll-indicator-bounce 2.4s infinite;
    z-index: 1;
}

.scroll-indicator:hover,
.scroll-indicator:focus {
    background-color: rgba(208, 185, 123, 0.25);
    color: white;
    transform: translateX(-50%) translateY(4px);
    animation-play-state: paused;
}

.scroll-indicator:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes scroll-indicator-bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-indicator {
        animation: none;
    }
}

.eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.95;
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0.3em 0;
}

.hero-copy {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary-custom {
    background: var(--ink-gold);
    border: 2px solid var(--ink-gold);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--ink-gold);
    border-color: var(--ink-gold);
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--ink-gold);
    color: #ffeeb9;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    background: var(--ink-gold);
    color: var(--ink-charcoal);
}

/* Section styles */
.section-padding {
    padding: 80px 0;
}

.section-kicker {
    color: var(--ink-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* About section */
.about-section {
    background: white;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--ink-charcoal);
    margin: 5px;
    font-size: 0.9rem;
}

/* Services section */
.services-section {
    background: var(--ink-charcoal);
    color: white;
}

.service-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    color: var(--ink-gold);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Standards section */
.panel-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
}

.panel-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Portfolio section */
.portfolio-section {
    background: white;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Testimonial section */
.testimonial-card {
    background: linear-gradient(180deg, #fff, rgba(255,255,255,0.95));
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.06);
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--ink-gold);
    object-fit: cover;
}

/* Footer */
footer,
.site-footer {
    background: var(--ink-charcoal);
    color: white;
    padding: 50px 0 20px;
}

footer h4,
.site-footer h4 {
    color: var(--ink-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer a,
.site-footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover,
.site-footer a:hover {
    color: var(--ink-gold);
}

.legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
}

/* WordPress Specific Styles */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--ink-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

/* Page Templates */
.page-header {
    background: var(--ink-charcoal);
    color: white;
    padding: 100px 0 60px;
    margin-bottom: 60px;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    color: var(--ink-charcoal);
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.entry-content h3 {
    color: var(--ink-charcoal);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.entry-content p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Blog Posts */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.blog-card .post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 30px;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 15px;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

/* Forms */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.wpcf7 input[type="submit"] {
    background: var(--ink-gold);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: #ff7020;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .hero {
        min-height: 100vh;
        padding: calc(6rem + var(--header-height)) 0 6rem;
    }

    .scroll-indicator {
        bottom: 2rem;
        width: 3rem;
        height: 3rem;
    }

    .portfolio-item img {
        height: 220px;
    }
    
    .navbar-nav {
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
    
    .btn-cta {
        margin-top: 20px;
        display: inline-block;
    }
}