/* ============================================
   Ole G's Gunsmithing — Custom Styles
   Palette: Deep Navy (#0A1628) + Warm Gold (#C9A84C)
   Fonts: Playfair Display + Lato
============================================ */

:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1A2D4A;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #B8943F;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #5A5A5A;
    --text-light: #8A8A8A;
    --border: #E0D8CC;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-family: 'Playfair Display', Georgia, serif;
}

.logo-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: none;
}

.logo--light {
    color: var(--white);
}

.logo--light .logo-sub {
    color: rgba(255, 255, 255, 0.6);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

.main-nav a:not(.btn):hover {
    color: var(--navy);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

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

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAV TOGGLE
============================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
============================================ */
.hero {
    background: var(--cream-light);
    padding-top: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 100px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-badge-number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-badge-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 500;
}

.hero-wave {
    color: var(--cream-light);
    margin-top: -1px;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ============================================
   SECTION HEADERS
============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-eyebrow--light {
    color: var(--gold);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title--light {
    color: var(--white);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-subtitle--light {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SERVICES
============================================ */
.services {
    background: var(--cream-light);
    padding: 100px 0;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   ABOUT
============================================ */
.about {
    background: var(--white);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-group {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.experience-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-lead {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content > p:not(.about-lead) {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.value-icon {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   WHY US
============================================ */
.why-us {
    background: var(--navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

.why-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

/* ============================================
   GALLERY
============================================ */
.gallery {
    background: var(--cream-light);
    padding: 100px 0;
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   CTA
============================================ */
.cta {
    background: var(--navy-light);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ============================================
   CONTACT
============================================ */
.contact {
    background: var(--white);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: var(--cream-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-card a {
    color: var(--gold-dark);
    transition: color var(--transition);
}

.contact-card a:hover {
    color: var(--navy);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.contact-form-hint {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--navy);
}

.form-success svg {
    color: var(--gold);
}

.form-success p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0 0;
}

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

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
        padding: 60px 0 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .why-grid {
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .logo-sub {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--cream-light);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 100;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav a:not(.btn) {
        font-size: 16px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 60px 0 60px;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-height: 400px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -20px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .why-us {
        padding: 60px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
