/*
 Theme Name:   DBD Property Management Pro Theme
 description:  A Custom Genesis Child theme developed for DBD Estate Services
 Author:       Nicholas Batik
 Version:      1.0.0
 Template:     genesis
 Text Domain:  custom
*/

/* Theme Name: Probate Property Pro */
/* ... other metadata ... */

@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');

html {
    scroll-behavior: smooth;
}

.scroll {
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    scroll-margin-top: 40px;
    padding: 0.5em 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: #fff;
}
.navbar {
    background: #1B263B;
}
.navbar-brand, .nav-link {
    color: #333 !important;
}
.nav-link:hover {
    color: #D4A017 !important;
}
h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Lora', serif; */
    font-family: 'Didact Gothic', 'Helvetica Neue', 'Arial', 'sans-serif';
    color: #1B263B;
}
.btn-primary {
    background: #D4A017;
    border-color: #D4A017;
}
.btn-primary:hover {
    background: #b38b14;
    border-color: #b38b14;
}
.container {
    max-width: 1200px;
}

.navbar-logo {
    background-image: url(assets/images/logo/DBDLLC-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 70px;
    width: 50%;
    text-indent: -9999px;
}

.navbar-brand {
}


/* Hero Section
---------------------------------------------------- */

.site-inner {
    clear: both;
    padding-top: 70px;
    word-wrap: break-word;
}

.site-inner, .wrap {
    margin: 0 auto;
    max-width: 1200px;
}

.hero-section {
    margin-bottom: 100px;
    margin-top: -75px;
    position: relative;
}

.hero-section-column {
    padding: 35px;
    position: relative;
}

.hero-section-column.right::before {
    background: #f4f4f4;
    content: "";
    display: block;
    right: 0;
    height: calc(100% - 140px);
    position: absolute;
    top: 70px;
    width: 142%;
    z-index: -1;
}

.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-title {
    clear: both;
    font-size: 18px;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.flexible-widgets .widget-title, .flexible-widgets .entry-title {
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #699CD3;
    text-align: center;
    padding-top: 2em;
}

.textwidget {
    text-align: center;
    word-wrap: break-word;
    display: block;
    font-size: 1.5rem;
    margin: 0 7em;
}

.five-sixths, .four-sixths, .one-fourth, .one-half, .one-sixth, .one-third, .three-fourths, .three-sixths, .two-fourths, .two-sixths, .two-thirds {
    float: left;
    margin-left: 2.564102564102564%;
}

.one-half, .three-sixths, .two-fourths {
    width: 48.717948717948715%;
}

.first {
    clear: both;
    margin-left: 0;
}

.hero-section-column.right {
    position: relative;
    text-align: right;
}

.hero-title {
    font-size: 48px;
    font-size: 3.3rem;
    letter-spacing: -.02em;
    line-height: 1.3;
    margin-bottom: 35px;
    margin-left: -35px;
    font-weight: 700;
    font-family: 'Didact Gothic', 'Helvetica Neue', Arial, sans-serif;
}

.hero-portrait {
    box-shadow: 0 20px 80px rgba(0, 0, 0, .2);
    border: 10px solid #fff;
    margin-right: 15px;
    max-width: 400px;
    vertical-align: middle;
    width: 100%;
    height: auto;
}

/* Blog Section */
.blog-section {
    background: #f8f8f8;
}
.blog-section h2 {
    font-family: 'Lora', serif;
    color: #1B263B;
}
.blog-section .card {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.blog-section .card-img-top {
    height: 200px;
    object-fit: cover;
}
.blog-section .card-title a {
    color: #1B263B;
    text-decoration: none;
}
.blog-section .card-title a:hover {
    color: #007bff;
}

/* Service Page */

.service-main {
    font-size: 1.3em;
    padding-bottom: 1.2em;
}

.service-img {
    width: 320px;
    float: left;
    padding-bottom: 1em;
}

.single img.alignleft {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
    width: 50%;
}

.single img.alignright {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
    width: 50%;
}

.service-summary {
    background: aliceblue;
    padding: 2em;
    margin-bottom: 2em;
}

.service-summary h2 {
    color: #007bff !important;
}

.service-inro {
    font-size: 1.1em;
}

.lightbox {
    /* Default to hidden */
    display: none;

    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    /* A bit of padding around image */
    padding: 1em;

    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
    display: block;
}

.lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;

    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.photoswipe-gallery {
    max-width: 1260px;
    margin: 0 auto;
}
.photoswipe-item img {
    transition: opacity 0.3s;
}
.photoswipe-item img:hover {
    opacity: 0.8;
}

.image-nav-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

img.center {
    width: 100%;
    margin: 0 auto;
    padding: 1em 25%;
}

.related-case-studies {
    padding-top: 2em;
}

.case-study h4 {
    text-indent: 0em;
    display: list-item;
    margin-left: 2em;
}

.related-case-studies h3 {
    border-bottom: 1px solid gray;
}

.case-study {
    margin-top: 0.5em;
}

.service-section {
    background: transparent;
    padding: 0;
    margin-bottom: 2em;
}

.more {
    text-align: right;
}

.archive-synopsis {
    margin-left: 3em;
    padding-bottom: 1em;
}

#contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#contact-form p {
    margin-bottom: 15px;
}

#contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#contact-form textarea {
    height: 100px;
}

#contact-form input[type="submit"] {
    background-color: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

#contact-form input[type="submit"]:hover {
    background-color: #005a87;
}

.required {
    color: red;
}

p.form-success {
    font-size: 1.1em;
    font-weight: bold;
    color: green;
    padding-top: 1em;
}

p.form-fail {
    font-size: 1.1em;
    font-weight: bold;
    color: red;
    padding-top: 1em;
}

.article h2 {
    padding-top: 1em;
}

.crop {
    width: 368px;
    height: 221px;
    overflow: hidden;
}

/* Footer Style */

section .footer {
    margin-bottom: 0;
    padding-bottom: 0;
    background-color: #bbb;
    position: relative;
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-overlay {
    background: rgba(27, 38, 59, 0.7); /* Navy overlay */
    width: 100%;
    padding: 50px 0;
    text-align: center;
}

h3.footer-text {
    color: #fff;
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
}