/* 
    HUNTWIST ARCHERY - EDITORIAL STYLE SHEET
    Palette: Teal (#0d9488), Slate Grey (#1e293b), Cream (#f8fafc)
*/

:root {
    --color-teal: #0d9488;
    --color-teal-dark: #0f766e;
    --color-slate: #1e293b;
    --color-slate-light: #334155;
    --color-cream: #f8fafc;
    --color-white: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --spacing-container: 1280px;
    --spacing-section: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* UTILITIES */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-slate);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-teal);
}

.dot {
    color: var(--color-teal);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-slate);
    color: var(--color-slate);
}

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

.btn-full {
    width: 100%;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
    padding: 1.25rem 0;
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-slate);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-slate-light);
}

.nav-links a:hover {
    color: var(--color-teal);
}

.btn-nav {
    padding: 0.6rem 1.25rem;
    background-color: var(--color-slate);
    color: var(--color-white) !important;
}

.btn-nav:hover {
    background-color: var(--color-teal);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-slate);
    transition: 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-slate);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 2rem;
}

/* HERO */
.hero {
    padding-top: 100px; /* Account for navbar */
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--color-cream);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--color-slate);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 20px 20px 0px var(--color-teal);
}

/* ABOUT */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-block p {
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

.image-block img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* SERVICES */
.services {
    background-color: var(--color-slate);
    color: var(--color-white);
}

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

.services .section-sub {
    color: rgba(255,255,255,0.7);
}

.section-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255,255,255,0.08);
}

.service-card .icon {
    color: var(--color-teal);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* CONTACT */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    flex-direction: column;
}

.contact-list .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-list .value {
    font-size: 1.1rem;
    color: var(--color-slate);
    font-weight: 500;
}

.link-hover:hover {
    color: var(--color-teal);
}

.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-slate);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #ecfdf5;
    color: #065f46;
    border-radius: 4px;
    text-align: center;
}

/* MAP */
.map-section {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.6;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 41, 59, 0.4);
}

.map-overlay p {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
}

/* FOOTER */
.footer {
    background-color: var(--color-slate);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer p {
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-white);
    font-size: 0.95rem;
}

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

.footer-copy {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ANIMATIONS */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero-container,
    .split-layout,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
