/* --- Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.25;
}

h2 {
    font-size: 1.35rem;
    color: #0f172a;
    margin: 28px 0 14px;
}

h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 8px;
}

p {
    margin-bottom: 14px;
}

/* --- Header & Navigation --- */
.site-header {
    background: #0f172a;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
}

/* Hamburger button (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Animate hamburger to 'X' when open */
.nav-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    border-bottom-color: #38bdf8;
}

/* --- Main Content & Sections --- */
.site-content {
    flex: 1;
    padding: 36px 0 56px;
}

.page-intro {
    margin-bottom: 28px;
    max-width: 760px;
}

.hero-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 28px;
}

.hero-section p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 720px;
}

/* --- Grids & Cards --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card h2 {
    margin-top: 0;
}

.service-note {
    font-size: 0.9rem;
    color: #475569;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 0;
}

.clean-list {
    margin-left: 20px;
    margin-bottom: 16px;
}

.clean-list li {
    margin-bottom: 10px;
}

/* --- Buttons & Links --- */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: #0284c7;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0369a1;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #0f172a;
}

.btn-secondary:hover {
    background-color: #cbd5e1;
}

.text-link {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.cta-banner {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 28px;
    border-radius: 8px;
    margin-top: 32px;
    text-align: center;
}

.cta-banner h2 {
    margin-top: 0;
}

/* --- Contact Form & Alerts --- */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: #0f172a;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.contact-form button.btn {
    border: none;
    cursor: pointer;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --- Footer --- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 22px 0;
    font-size: 0.875rem;
}

/* --- Mobile Breakpoint --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding-top: 14px;
        margin-top: 14px;
        border-top: 1px solid #1e293b;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 6px;
    }

    .main-nav a {
        display: block;
        padding: 10px 8px;
        border-bottom: none;
        border-left: 3px solid transparent;
        border-radius: 4px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: #1e293b;
        border-left-color: #38bdf8;
    }

    .hero-section {
        padding: 24px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- Featured Finds Section & Photo Grid --- */
.featured-section {
    margin-top: 40px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.header-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.section-header h2 {
    margin: 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.photo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.photo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.photo-link {
    display: block;
    background: #f1f5f9;
}

.photo-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.photo-card .card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.item-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #0369a1;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.photo-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    flex: 1;
}

.photo-card h3 a {
    color: #0f172a;
    text-decoration: none;
}

.photo-card h3 a:hover {
    color: #0284c7;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.item-price {
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
}