/*
Theme Name: JW Photo
Theme URI: https://example.com/jwphoto
Author: Your Name
Author URI: https://example.com
Description: A custom photography theme for Jason Whitman Photography
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jwphoto
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #888;
    font-weight: 400;
}

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

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

/* Container */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Header Styles */
.site-header {
    background: #fff;
    padding: 30px 40px;
    text-align: center;
    border-bottom: none;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image img,
.logo-image .custom-logo {
    height: 100px;
    width: auto;
}

.logo-image a {
    display: block;
    line-height: 0;
}

.site-title-wrapper {
    text-align: left;
    display: none;
}

.site-title {
    font-size: 32px;
    font-weight: normal;
    margin: 0;
    color: #000;
    font-family: Georgia, serif;
}

.site-tagline {
    font-size: 16px;
    font-style: italic;
    color: #333;
    margin: 5px 0 0 0;
}

/* Navigation */
.main-navigation {
    background: #000;
    padding: 0;
    position: relative;
}

.main-navigation > div > ul,
.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.main-navigation > div > ul > li,
.main-navigation > ul > li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 15px 30px;
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: #333;
}

/* Dropdown Menus - Hide by default */
.main-navigation ul ul,
.main-navigation ul.sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-direction: column;
    z-index: 1000;
}

/* Show dropdown on hover */
.main-navigation li:hover > ul,
.main-navigation li:hover > .sub-menu {
    display: flex !important;
}

.main-navigation ul ul li,
.main-navigation .sub-menu li {
    width: 100%;
    display: block;
}

.main-navigation ul ul a,
.main-navigation .sub-menu a {
    color: #666;
    padding: 12px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation ul ul a:hover,
.main-navigation .sub-menu a:hover {
    background: #f5f5f5;
    color: #000;
}

/* Content Area */
.site-content {
    padding: 40px;
    min-height: 400px;
    background: #fff;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Home Page Specific - Remove all padding */
.home .site-content,
.page-template-front-page .site-content {
    padding: 0;
}

.home .content-wrapper,
.page-template-front-page .content-wrapper {
    max-width: 100%;
}

/* What We Do Section */
.what-we-do {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.what-we-do h2 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 400;
    color: #666;
    margin-bottom: 60px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.services {
    display: flex;
    justify-content: center;
    gap: 100px;
    max-width: 1100px;
    margin: 0 auto;
}

.service {
    flex: 1;
    max-width: 450px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.service h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

/* Slider Area */
.hero-slider {
    background: #b8b8b8;
    min-height: 600px;
    height: auto;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slider-image {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-image.active {
    opacity: 1;
    z-index: 2;
}

.slider-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}

.slider-placeholder {
    height: 500px; 
    background: #b8b8b8; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #666; 
    font-size: 18px;
}

/* Posts and Pages */
.blog-posts-wrapper {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

article {
    margin-bottom: 60px;
    padding: 0 0 40px 0;
    border-bottom: 1px solid #eee;
}

.page article {
    border-bottom: none;
    padding: 0;
}

article:last-of-type {
    border-bottom: none;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 400;
}

.entry-title a {
    color: #000;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #666;
}

.entry-meta {
    margin-bottom: 20px;
    font-size: 13px;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

.entry-content p {
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #333;
}

.pagination {
    padding: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
}

.pagination a:hover,
.pagination .current {
    background: #000;
    color: #fff;
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 40px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Footer */
.site-footer {
    background: #fff;
    color: #666;
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid #eee;
}

.site-footer p {
    margin: 0;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        padding: 20px;
    }
    
    .site-logo {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-image img {
        height: 70px;
    }
    
    .main-navigation > div > ul,
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation a {
        padding: 12px 20px;
    }
    
    .main-navigation ul ul,
    .main-navigation .sub-menu {
        position: static;
        display: none !important;
        box-shadow: none;
        background: #222;
    }
    
    .main-navigation li:hover > ul,
    .main-navigation li:hover > .sub-menu {
        display: flex !important;
    }
    
    .main-navigation ul ul a,
    .main-navigation .sub-menu a {
        background: #222;
        color: #ccc;
        padding-left: 40px;
    }
    
    .services {
        flex-direction: column;
        gap: 50px;
    }
    
    .what-we-do {
        padding: 50px 20px;
    }
    
    .what-we-do h2 {
        font-size: 32px;
    }
    
    .site-content {
        padding: 20px;
    }
    
    .home .site-content {
        padding: 0;
    }
}
