/* ============================================
   The Wood Guys Tasmania - Master Stylesheet
   Design: Rustic Artisan Heritage
   ============================================ */

/* ============================================
   1. ROOT & TYPOGRAPHY
   ============================================ */

:root {
    /* Color Palette - Rustic Artisan Heritage */
    --primary: #5C3D2E;
    --primary-light: #8B5A3C;
    --primary-dark: #3E2723;
    --secondary: #2D5016;
    --accent: #D2691E;
    --background: #F5E6D3;
    --foreground: #3D2817;
    --card-bg: #FDFAF5;
    --border-color: #E8D9C8;
    --muted-text: #8B7355;
    --footer-bg: #5C3D2E;
    
    /* Typography */
    --font-serif: 'Georgia', serif;
    --font-sans: 'Lato', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--foreground);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* ============================================
   4. CONTAINER & LAYOUT
   ============================================ */

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(245, 230, 211, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted-text);
    margin: 0;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    font-size: 0.875rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        height: 600px;
    }
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */

.about-section {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }
}

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

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-4px);
}

/* ============================================
   8. BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* ============================================
   9. SERVICES SECTION
   ============================================ */

.services-section {
    padding: 4rem 0;
    background-color: rgba(45, 80, 22, 0.05);
}

@media (min-width: 768px) {
    .services-section {
        padding: 6rem 0;
    }
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title-center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-title {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    color: var(--foreground);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ============================================
   10. CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}


@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: rgba(210, 105, 30, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-text {
    color: var(--muted-text);
    margin: 0;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.social-section {
    background-color: rgba(45, 80, 22, 0.08);
    padding: 2rem;
    border-radius: 0.5rem;
}

.social-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-description {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.website-link {
    font-size: 0.9rem;
    color: var(--muted-text);
}

/* ============================================
   11. FOOTER
   ============================================ */

.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   12. RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .about-section,
    .services-section,
    .contact-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

/* ============================================
   13. UTILITY CLASSES
   ============================================ */

.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
