/*
Theme Name: T. Brown Photography
Theme URI: https://tbrownphoto.com
Author: T. Brown Photography
Description: Custom T. Brown Photography and Columbia Photo Bus website.
Version: 0.9.1
Requires at least: 6.0
Text Domain: tbrown-photography
*/
:root{--gold:#f8cb08;--cream:#f8f4eb}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:#111;font-family:Arial,Helvetica,sans-serif}
a{color:inherit}
.tb-header{background:#000;border-bottom:7px solid var(--gold);padding:14px 3%;display:flex;align-items:center;gap:30px}
.tb-brand{width:310px;max-width:27%;flex-shrink:0}
.tb-brand img{width:100%;height:auto}
.tb-header nav{display:flex;flex-wrap:wrap;justify-content:space-around;gap:12px;flex:1}
.tb-header nav a{color:#fff;text-decoration:none;font-size:clamp(12px,1.3vw,18px)}
.tb-header nav a:hover{color:var(--gold)}
.tb-button{display:inline-block;background:var(--gold);color:#000;border-radius:30px;padding:15px 25px;text-decoration:none;font-weight:800;font-size:14px;letter-spacing:.02em}
.tb-button:hover{background:#ffe35c}
.tb-section{text-align:center;padding:60px 8%}
.tb-section h2{font:italic clamp(32px,4vw,52px) Georgia,serif}
.tb-section p{max-width:900px;margin:18px auto;font-size:21px;line-height:1.6}
.tb-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:30px}
.tb-tiles a{padding:28px 12px;background:#111;color:#fff;text-decoration:none;font-weight:bold}
.tb-dark{background:#0c0c0c;color:#fff}
.tb-footer{background:#050505;color:#fff;text-align:center;padding:36px 12px}
.tb-footer a{color:var(--gold);font-weight:bold;font-size:21px}
.tb-legacy{min-height:50vh}
.tb-legacy header,.tb-legacy footer{display:none!important}
.tb-legacy .logo{display:none}
.tb-legacy .hero{min-height:65vh}
.tb-legacy .photos img,.tb-legacy img{max-width:100%}
/* Homepage: one hero definition, no conflicting aspect-ratio or sizing overrides. */
.tb-home-hero{
  min-height:440px;
  display:flex;
  align-items:center;
  padding:44px max(5%,calc((100% - 1200px)/2));
  background-image:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.66) 30%,rgba(0,0,0,.14) 67%,rgba(0,0,0,.03) 100%),url('assets/Vintage Photo Bus with Wood Paneling.png');
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  background-color:#222;
}
.tb-home-hero-copy{max-width:540px;color:#fff}
.tb-home-eyebrow{color:var(--gold);font-size:13px;font-weight:800;letter-spacing:1.6px;line-height:1.5}
.tb-home-hero h1{font:italic clamp(42px,5vw,70px)/1.08 Georgia,serif;margin:14px 0}
.tb-home-hero-copy>p:not(.tb-home-eyebrow){font-size:clamp(16px,1.5vw,19px);line-height:1.5;max-width:490px;margin:0 0 23px}
.tb-home-services{text-align:center;padding:38px 5% 48px;background:var(--cream)}
.tb-home-services h2{font:italic clamp(29px,3vw,42px) Georgia,serif;margin:0 0 10px}
.tb-home-services>p{font-size:17px;line-height:1.5;max-width:760px;margin:0 auto 26px}
.tb-home-service-grid{max-width:1250px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tb-home-service-card{display:flex;align-items:flex-end;justify-content:center;min-height:165px;padding:20px 12px;background:linear-gradient(150deg,#393939,#101010);border-bottom:5px solid var(--gold);color:#fff;text-decoration:none;text-align:center;transition:transform .2s ease}
.tb-home-service-card:hover{transform:translateY(-3px)}
.tb-home-service-card span{font:700 clamp(16px,1.6vw,22px) Arial,Helvetica,sans-serif}
.tb-home-bus{background:#0c0c0c;color:#fff;text-align:center;padding:48px 7% 58px}
.tb-home-bus-inner{max-width:850px;margin:auto}
.tb-home-bus h2{font:italic clamp(30px,3.5vw,48px) Georgia,serif;margin:10px 0 15px}
.tb-home-bus p:not(.tb-home-eyebrow){font-size:19px;line-height:1.55;margin:0 auto 25px}
@media(max-width:800px){
 .tb-header{display:block;text-align:center}
 .tb-brand{display:inline-block;max-width:85%;width:280px}
 .tb-header nav{margin-top:12px;gap:12px}
 .tb-home-hero{min-height:430px;padding:40px 6%;background-position:58% center;background-image:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.36)),url('assets/Vintage Photo Bus with Wood Paneling.png')}
 .tb-home-hero-copy{max-width:480px}
 .tb-home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tb-home-service-card{min-height:130px}
}
@media(max-width:480px){
 .tb-home-hero{min-height:470px}
 .tb-home-hero h1{font-size:43px}
 .tb-home-services{padding:34px 5%}
 .tb-home-service-grid{gap:9px}
 .tb-home-service-card{min-height:115px}
 .tb-home-bus{padding:40px 6%}
}/* Remove yellow line under header */
.tb-header {
  
  border-bottom: none !important;
}
/* Wedding photo on homepage */
.tb-home-service-grid a:first-child {
    background-image: url('https://1318230.us26.myftpupload.com/wp-content/uploads/2026/11/0146-scaled.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

/* Make wedding page writing easier to read */
body.page .tb-legacy {
    color: white;
}

body.page .tb-legacy p {
    color: white;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.8);
}

/* Add space between wedding page buttons */
.tb-legacy .yellow + .yellow {
   
   margin-left: 18px;
    margin-top: 12px;
}

/* Make Seniors page writing dark and readable */
body.page .tb-legacy .senior-story p {
    color: #222 !important;
    text-shadow: none !important;
}

/* Senior photo on homepage */
.tb-home-service-grid a:nth-child(2) {
    background-image: url('https://1318230.us26.myftpupload.com/wp-content/uploads/2026/11/TBR_0824-scaled.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

/* Family photo on homepage */
.tb-home-service-grid a:nth-child(3) {
    background-image: url('https://1318230.us26.myftpupload.com/wp-content/uploads/2026/11/07.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

/* Fix Business Portraits page text */
body.page .tb-legacy p {
    color: #222 !important;
    text-shadow: none !important;
}

/* Business Portraits photo on homepage */
.tb-home-service-grid a:nth-child(4) {
    background-image: url('https://1318230.us26.myftpupload.com/wp-content/uploads/2026/11/03-1.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

/* Make Photo Bus tagline dark and readable */
body.page .tb-legacy h2 {
    color: #222 !important;
    text-shadow: none !important;
}

/* Fix Photo Bus tagline text */
.tb-legacy .below strong {
    color: #222 !important;
    text-shadow: none !important;
}

/* Photo Bus Experience page layout */
body.page .tb-legacy .story {
    display: block !important;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

body.page .tb-legacy .story-photo {
    display: none !important;
}

body.page .tb-legacy .words {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Make Photo Bus Experience headings readable */
body.page .tb-legacy h1,
body.page .tb-legacy .closing {
    color: #222 !important;
    text-shadow: none !important;
}