/*
Theme Name: Ron Affee
Description: Simple theme for Ron Affee painting classes
Version: 1.0
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: 'Raleway', Georgia, serif; color: #444; line-height: 1.6;
    background: #fff url(/wp-content/themes/ronaffee-theme/images/bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { color: #2a6496; }
a:hover { color: #1a4a76; }

/* Header */
.site-header { padding: 15px 20px; text-align: center; }
.site-logo img { max-width: 300px; height: auto; }
.site-nav { margin-top: 10px; }
.site-nav ul { list-style: none; }
.site-nav li { display: inline-block; margin: 0 15px; }
.site-nav a { text-decoration: none; color: #555; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.site-nav a:hover { color: #000; }
.site-nav .current-menu-item a { color: #fff; background: #000; padding: 5px 15px; }

/* Slider */
.slider { position: relative; max-width: 976px; margin: 20px auto; overflow: hidden; }
.slider img { width: 100%; height: auto; display: block; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; padding: 10px 15px; cursor: pointer; font-size: 18px; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-nav:hover { background: rgba(0,0,0,0.8); }

/* Content */
.content { max-width: 976px; margin: 0 auto; padding: 20px; }
.content h1 { font-size: 24px; margin-bottom: 15px; }
.content p { margin-bottom: 15px; }
.phone { text-align: center; font-size: 20px; margin: 20px 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin: 20px 0; }
.gallery img { width: 100%; height: auto; display: block; cursor: pointer; }
.gallery a { display: block; }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 1000; justify-content: center; align-items: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 40px; cursor: pointer; padding: 20px; user-select: none; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { color: #ccc; }

/* Footer */
.site-footer { background: #f5f5f5; border-top: 1px solid #ddd; padding: 20px; text-align: center; margin-top: auto; font-size: 13px; color: #777; }
