/*
Theme Name: Albany Gold Buyers
Theme URI: https://albanygoldbuyers.com
Description: Custom theme for Albany Gold Buyers - Precious Metals Refinery
Version: 2.0
Author: UpHostly
Text Domain: albgold
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --gold-dark: #9A7B2E;
    --gold-glow: #FFB800;
    --amber: #E8910C;
    --dark: #1A1A2E;
    --dark-blue: #16213E;
    --charcoal: #2C2C3E;
    --white: #FAFAFA;
    --gray-light: #F0F0F0;
    --gray: #888;
    --text: #333;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
.site-header {
    background: var(--dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-top {
    background: linear-gradient(90deg, var(--dark-blue), #1a2744);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header-top a {
    color: var(--gold-light);
    font-weight: 500;
}

.header-main {
    padding: 16px 0;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-glow), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(201,168,76,0.3);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

.site-title span {
    color: var(--gold);
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
    display: block;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-glow), var(--gold-dark)) !important;
    color: var(--dark) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 15px rgba(255,184,0,0.3) !important;
}

.nav-cta:hover {
    opacity: 0.9;
    color: var(--dark) !important;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: 0.3s;
}

/* === HERO === */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,46,0.92) 0%,
        rgba(22,33,62,0.85) 40%,
        rgba(26,26,46,0.7) 100%
    );
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-content h1 .gold {
    color: var(--gold-glow);
    display: block;
    text-shadow: 0 0 40px rgba(255,184,0,0.3);
}

.hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.35);
    color: var(--gold-glow);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,184,0,0.12);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,184,0,0.4);
    box-shadow: 0 8px 30px rgba(255,184,0,0.1);
}

.hero-card .icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.hero-card h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin: 0;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-glow), var(--gold-dark));
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255,184,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,184,0,0.45);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--gold-glow);
    color: var(--gold-glow);
}

.btn-dark {
    background: var(--dark);
    color: var(--gold);
}

.btn-dark:hover {
    background: var(--dark-blue);
    color: var(--gold-glow);
}

/* === SECTIONS === */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === PHOTO BREAK === */
.photo-break {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.photo-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.photo-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,46,0.85) 0%,
        rgba(26,26,46,0.5) 50%,
        rgba(154,123,46,0.3) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-break-content {
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.photo-break-content h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.photo-break-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.7;
}

.photo-break-content .gold { color: var(--gold-glow); }

/* === SERVICES GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-glow), var(--amber));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: rgba(201,168,76,0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255,184,0,0.18), rgba(201,168,76,0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === REFINERY SECTION === */
.refinery-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.refinery-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(90deg, var(--dark), transparent);
    z-index: 2;
    pointer-events: none;
}

.refinery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.refinery-content {
    padding: 80px 60px 80px 0;
    position: relative;
    z-index: 3;
}

.refinery-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.refinery-content h2 .gold { color: var(--gold-glow); }

.refinery-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.refinery-content .highlight-list {
    list-style: none;
    margin: 24px 0;
}

.refinery-content .highlight-list li {
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
}

.refinery-content .highlight-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold-glow);
    font-weight: 700;
}

.refinery-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.refinery-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

/* === WHY CHOOSE US === */
.why-us {
    background: var(--gray-light);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.why-item {
    text-align: center;
    padding: 20px;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
    line-height: 1;
}

.why-item h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* === PHOTO GALLERY STRIP === */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 0;
}

.gallery-strip img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 0.5s;
}

.gallery-strip .gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-strip .gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-strip .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.4) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-strip .gallery-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* === VIDEO SECTION === */
.video-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0D1B2A 100%);
    overflow: hidden;
}

.video-section .section-header h2 { color: var(--white); }
.video-section .section-header p { color: rgba(255,255,255,0.5); }
.video-section .section-label { color: var(--gold-glow); }

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,184,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--dark);
    color: var(--white);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-glow), var(--amber), var(--gold-dark));
}

.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.5); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255,184,0,0.25);
}

.testimonial-stars {
    color: var(--gold-glow);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--gold-light);
    font-size: 0.9rem;
}

.testimonial-location {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-glow) 40%, var(--amber) 80%, var(--gold-dark) 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.03) 20px,
        rgba(255,255,255,0.03) 40px
    );
    animation: shimmer 20s linear infinite;
}

@keyframes shimmer {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(26,26,46,0.7);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.cta-phone {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    display: block;
    margin-bottom: 8px;
}

.cta-phone:hover { color: var(--dark-blue); }

.cta-sub {
    font-size: 0.9rem;
    color: rgba(26,26,46,0.6);
}

/* === PROCESS === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
    counter-increment: step;
}

.process-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold-glow), var(--gold-dark));
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255,184,0,0.25);
}

.process-step h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* === FOOTER === */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-item .icon {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* === PAGE CONTENT (subpages) === */
.page-hero {
    background: linear-gradient(135deg, var(--dark), var(--dark-blue));
    padding: 60px 0 40px;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--white);
}

.page-hero p {
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

.page-content {
    padding: 60px 0;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark);
    margin: 40px 0 16px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p { margin-bottom: 16px; color: #555; }

.page-content ul {
    margin: 0 0 16px 20px;
    color: #555;
}

.page-content li { margin-bottom: 6px; }

/* Two column layout for subpages */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.sidebar-card {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 120px;
}

.sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.sidebar-card .phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    display: block;
    margin: 12px 0;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content h1 { font-size: 2.4rem; }
    .hero-visual { order: -1; }
    .refinery-grid { grid-template-columns: 1fr; }
    .refinery-content { padding: 60px 0; }
    .refinery-image { min-height: 300px; }
    .refinery-section::before { display: none; }
    .video-grid { grid-template-columns: 1fr; }
    .gallery-strip { grid-template-columns: 1fr 1fr; }
    .gallery-strip img { height: 200px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top { display: none; }

    .menu-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 16px;
    }

    .main-nav.active { display: block; }

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

    .main-nav a { padding: 12px 16px; }

    .hero { min-height: auto; }
    .hero .container { padding-top: 50px; padding-bottom: 50px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-visual { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero-card { padding: 20px 16px; }

    section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .photo-break { height: 300px; }
    .photo-break-content h2 { font-size: 1.8rem; }

    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-phone { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 0.7rem; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-strip { grid-template-columns: 1fr; }
}
