/*
Theme Name: Katzman Law Office
Description: Custom Website for Katzman Law
Version: 1.0.0
Author: Prager Microsystems, Inc.
Author URI: https://www.pragermicrosystems.com/
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-color: #1a3a52;
    --secondary-color: #b8956a;
    --accent-gold: #d4af37;
    --dark-navy: #0f2537;
    --light-bg: #ffffff;
    --cream-bg: #f8f6f3;
    --light-gray: #f5f5f5;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #e8e4df;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-navy);
    line-height: 1.3;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: var(--light-bg);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    margin: 0 20px;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(248, 246, 243, 0.90)), 
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&q=80');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    padding: 120px 0 90px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 8px 24px;
    border-radius: 30px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-navy);
}

.hero-content .subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.25;
    font-style: italic;
}

.btn-primary-custom {
    background: var(--primary-color);
    border: 3px solid var(--primary-color);
    color: #fff;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary-custom:hover {
    background: transparent;
	border: 3px solid var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 58, 82, 0.2);
}

.btn-outline-custom {
    background: var(--secondary-color);
    border: 3px solid var(--secondary-color);
    color: #fff;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline-custom:hover {
    background: transparent;
	border: 3px solid var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 58, 82, 0.2);
}

.hero-image-frame {
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 5px solid #fff;
}

/* ============================================
   SECTION STYLING
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background-color: var(--cream-bg);
	padding: 100px 0;
}

.about-content {
    padding-right: 3rem;
}

.about-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.about-features li {
    padding: 12px 0;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.1rem;
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

/* ============================================
   ATTORNEY PROFILE SECTION
   ============================================ */
.attorney-profile {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(248, 246, 243, 0.95)),
                url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
	padding: 100px 0;
}

.profile-card {
    background: var(--light-bg);
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
}

.profile-bio {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.credentials-box {
    background: var(--cream-bg);
    padding: 2rem;
    margin-top: 2rem;
    border-left: 4px solid var(--secondary-color);
}

.credentials-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.credentials-box ul {
    list-style: none;
    padding: 0;
}

.credentials-box li {
    padding: 8px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.credentials-box li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(rgb(19 44 62 / 95%), rgba(15, 37, 55, 0.90)),
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
   
.services-section {
	background-color: var(--light-bg);
	padding: 100px 0;
}

.service-card {
    background: var(--light-bg);
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-section {
    background-color: var(--cream-bg);
	padding: 100px 0;
}

.achievement-card {
    background: var(--light-bg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.achievement-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.achievement-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(248, 246, 243, 0.95)),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
	padding: 100px 0;
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 3.5rem;
    height: 100%;
}

.contact-info h3 {
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.contact-item {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.contact-item p {
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.contact-form {
    background: var(--light-bg);
    padding: 3.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.form-control {
    padding: 14px 20px;
    border: none;
    border-radius: 0;
    margin-bottom: .5rem;
    background: var(--light-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.gform_wrapper .gfield_label {
    display:none;
}

.gform_wrapper .gfield {
    margin-bottom: .25rem!important;
    padding: 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark-navy);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-content h5 {
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.footer-content p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

#scrollTop:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
	.hero-content h1 {
        font-size: 3.25rem;
    }
}

@media (max-width: 768px) {
	
	.hero-image {
        display: none;
    }
	
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }
	.hero-section {
		padding: 120px 0 30px;
	}

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 10px 0;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;

    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .profile-image {
        height: 400px;
    }
}

/* ============================================
   WORDPRESS-SPECIFIC STYLES
   ============================================ */

/* Ensure WordPress admin bar doesn't overlap */
body.admin-bar .navbar.fixed-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar.fixed-top {
        top: 46px;
    }
}

/* WordPress block alignment */
.alignwide {
    max-width: 1200px;
}

.alignfull {
    max-width: 100%;
}

/* WordPress default image alignments */
.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress gallery */
.wp-block-gallery {
    padding: 0;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */