/* ========================================
   Austin Headshot Pros - Custom Styles
   Supplements Tailwind CDN
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* --- HERO MASONRY BACKGROUND --- */
.hero-masonry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 4px;
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-masonry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) saturate(0.7);
    transition: filter 0.6s ease;
}
.hero-masonry .tall { grid-row: span 2; }
.hero-masonry .wide { grid-column: span 2; }

@media (max-width: 1024px) {
    .hero-masonry { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 640px) {
    .hero-masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; }
}

/* --- PORTFOLIO MASONRY --- */
.portfolio-grid {
    columns: 4;
    column-gap: 12px;
}
.portfolio-grid .portfolio-item {
    break-inside: avoid;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.portfolio-grid .portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-grid .portfolio-item:hover img {
    transform: scale(1.05);
}
.portfolio-grid .portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.portfolio-grid .portfolio-item:hover .overlay {
    opacity: 1;
}

@media (max-width: 1024px) { .portfolio-grid { columns: 3; } }
@media (max-width: 768px) { .portfolio-grid { columns: 2; column-gap: 8px; } .portfolio-grid .portfolio-item { margin-bottom: 8px; } }

/* --- SERVICE CARDS --- */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #2a2a2a;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover img {
    transform: scale(1.08);
}
.service-card .img-wrap {
    overflow: hidden;
}
.service-card .price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(212, 168, 83, 0.95);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
}

/* --- NAV --- */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
}
.nav-bar.scrolled {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* --- SPECIALTIES SCROLL --- */
.specialties-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.specialties-scroll::-webkit-scrollbar { display: none; }
.specialties-scroll .spec-item {
    flex: 0 0 auto;
    padding: 24px 48px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #999;
    border-right: 1px solid #333;
    transition: color 0.3s, background 0.3s;
    white-space: nowrap;
    cursor: default;
}
.specialties-scroll .spec-item:hover {
    color: #d4a853;
    background: rgba(212, 168, 83, 0.05);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: #2a2a2a;
    border-left: 3px solid #d4a853;
    padding: 32px;
    border-radius: 0 8px 8px 0;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4rem;
    color: #d4a853;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- FILTER BUTTONS --- */
.filter-btn {
    padding: 8px 20px;
    border: 1px solid #444;
    border-radius: 100px;
    background: transparent;
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}
.filter-btn:hover, .filter-btn.active {
    border-color: #d4a853;
    color: #d4a853;
    background: rgba(212, 168, 83, 0.08);
}

/* --- MOBILE NAV --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

/* --- CTA BUTTONS --- */
.btn-amber {
    display: inline-block;
    background: #d4a853;
    color: #1a1a1a;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #d4a853;
}
.btn-amber:hover {
    background: transparent;
    color: #d4a853;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.25);
}
.btn-outline {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

/* --- CONTACT GRID IMAGE --- */
.contact-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 120px);
    gap: 4px;
    border-radius: 8px;
    overflow: hidden;
}
.contact-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-image-grid .span-2 {
    grid-row: span 2;
}

/* --- HOW IT WORKS STEPS --- */
.step-card {
    position: relative;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.12);
    color: #d4a853;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* --- LOCATION CARDS --- */
.location-card {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 28px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}
.location-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 168, 83, 0.3);
}

/* --- PROSE OVERRIDES FOR GUIDE CONTENT --- */
.prose h2 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.prose h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.prose p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.prose ul, .prose ol {
    color: #b0b0b0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.prose li {
    margin-bottom: 0.5rem;
}
.prose a {
    color: #d4a853;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.prose a:hover {
    color: #e4be73;
}
.prose strong {
    color: white;
}

/* --- FAQ ACCORDION --- */
details summary {
    list-style: none;
}
details summary::-webkit-details-marker {
    display: none;
}
