/*
Theme Name: Smithfield Complete
Theme URI: https://smithfielddevelopment.com
Author: Custom Theme
Description: Complete Wilkinson-style theme for Smithfield Development - ready to use
Version: 1.0
License: GPL v2 or later
*/

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    color: #333;
    text-decoration: none;
}

/* Header */
.site-header {
    background: #fff;
    padding: 20px 40px;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo img {
    width: 200px;
    height: auto;
}

.site-logo h1 {
    font-size: 24px;
    font-weight: normal;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #333;
    padding: 10px 0;
}

.main-navigation a:hover {
    color: #888;
}

/* Hero Background Section */
.hero-background-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    max-width: 90%;
    text-align: center;
}

.hero-tagline {
    font-size: 36px;
    font-style: italic;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Content */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.content-wrapper.wide {
    max-width: 1200px;
}

.page-header {
    text-align: center;
    padding: 40px 20px 20px;
}

.page-title {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
}

.page-divider {
    width: 80px;
    height: 2px;
    background: #333;
    margin: 0 auto 40px;
}

.page-content {
    padding: 0 20px;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 40px 0 20px;
    text-align: left;
}

.page-content h3 {
    font-size: 20px;
    font-weight: normal;
    margin: 30px 0 15px;
    text-align: left;
}

.page-content a {
    color: #0066cc;
    text-decoration: underline;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Category Grid for Our Work page */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 900px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.category-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-logo img {
        width: 150px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 15px;
        width: 100%;
    }
    
    .hero-background-section {
        height: 300px;
    }
    
    .hero-content {
        padding: 25px 30px;
        max-width: 85%;
    }
    
    .hero-tagline {
        font-size: 20px;
    }
    
    .content-wrapper {
        padding: 20px 15px 40px;
    }
    
    .page-content p {
        font-size: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-image {
        height: 250px;
    }
    
    .category-title {
        font-size: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        width: 130px;
    }
    
    .hero-background-section {
        height: 250px;
    }
    
    .hero-content {
        padding: 20px 25px;
    }
    
    .hero-tagline {
        font-size: 18px;
    }
}
