/* ========================================
   HOMEPAGE STYLES - Glickfield Legal Group
   Color Palette: #b38b32 (Gold), #062c4a (Navy Blue)
   ======================================== */

/* ========================================
   GLOBAL WRAPPER STRUCTURE
   ======================================== */
img {
    max-width: 100%;
    height: auto;
}

.wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

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

/* Typography */
.section-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #062c4a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 20px;
    color: #4a4a4a;
    margin-bottom: 50px;
    font-weight: 400;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(6, 44, 74, 0.85) 0%, rgba(6, 44, 74, 0.75) 50%, rgba(179, 139, 50, 0.7) 100%),
        url('https://glickfieldlegalgroup.com/wp-content/themes/glickfieldandmeeks/assets/images/images/Attorney-Scales-of-Justice-scaled.jpg') center center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 0;
}

.hero-section .wrap {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #fff;
    text-align: center;
}

.hero-tagline {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-hero {
    background: #b38b32;
    color: #fff;
    padding: 18px 50px;
    border: 2px solid #b38b32;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #fff;
    color: #062c4a;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-hero:focus {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* ========================================
   PRACTICE AREAS SECTION
   ======================================== */
.practice-areas-section {
    background: #fff;
    padding: 100px 0;
}

.practice-cards-row {
    margin-top: 40px;
}

.practice-card {
    background: #fff;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    overflow: hidden;
}

.practice-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
    border-color: #b38b32;
}

.practice-card:focus-within {
    outline: 3px solid #062c4a;
    outline-offset: 2px;
}

.practice-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.practice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.practice-card:hover .practice-image img {
    transform: scale(1.1);
}

.practice-content {
    padding: 40px 30px;
    text-align: center;
}

.practice-category {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.practice-category.criminal {
    color: #062c4a;
}

.practice-category.family {
    color: #b38b32;
}

.practice-category.injury {
    color: #062c4a;
}

.practice-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #062c4a;
}

.practice-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.practice-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    font-size: 15px;
    position: relative;
    padding-left: 30px;
}

.practice-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #b38b32;
}

.practice-list li:last-child {
    border-bottom: none;
}

.btn-practice {
    background: #062c4a;
    color: #fff;
    padding: 15px 40px;
    border: 2px solid #062c4a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-practice:hover {
    background: #fff;
    color: #062c4a;
    border-color: #062c4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 44, 74, 0.4);
}

.btn-practice:focus {
    outline: 3px solid #b38b32;
    outline-offset: 4px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #b38b32 0%, #d4a336 100%);
    color: #fff;
    padding: 70px 0;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-weight: 700;
    display: block;
    font-size: 48px;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-phone {
    background: #062c4a;
    color: #fff;
    padding: 20px 40px;
    font-size: 32px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 2px solid #062c4a;
}

.cta-phone:hover {
    background: #fff;
    color: #062c4a;
    border-color: #fff;
    transform: scale(1.05);
}

.cta-phone:focus {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.cta-text {
    font-size: 16px;
    letter-spacing: 2px;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: #f8f8f8;
    padding: 100px 0;
}

.about-firm-name {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #062c4a;
}

.about-content-row {
    margin-top: 40px;
}

.about-image {
    margin-bottom: 30px;
    height: 100%;
}

.about-image img {
    max-width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-text {
    padding: 0 20px;
}

.about-lead {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #062c4a;
    margin-bottom: 25px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.about-section h4 {
    font-size: 24px;
    font-weight: 700;
    color: #b38b32;
    margin: 30px 0 20px 0;
}

.about-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.about-benefits li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 16px;
    color: #333;
}

.about-benefits li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #b38b32;
    font-size: 18px;
}

.btn-learn-more {
    background: #062c4a;
    color: #fff;
    padding: 15px 40px;
    border: 2px solid #062c4a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #fff;
    color: #062c4a;
    border-color: #062c4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 44, 74, 0.4);
}

.btn-learn-more:focus {
    outline: 3px solid #b38b32;
    outline-offset: 4px;
}

/* ========================================
   ATTORNEYS SECTION
   ======================================== */
.attorneys-section {
    background: #fff;
    padding: 100px 0;
    position: relative;
}

.attorneys-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
    z-index: 0;
}

.attorneys-section .wrap {
    position: relative;
    z-index: 1;
}

.attorney-cards-row {
    margin-top: 60px;
}

.attorney-card {
    background: #fff;
    margin-bottom: 40px;
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 2px solid transparent;
}

.attorney-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b38b32 0%, #d4a336 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.attorney-card:hover::before {
    transform: scaleX(1);
}

.attorney-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-15px);
    border-color: #b38b32;
}

.attorney-card:focus-within {
    outline: 3px solid #062c4a;
    outline-offset: 2px;
}

.attorney-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #062c4a 0%, #0a3d5f 100%);
    position: relative;
}

.attorney-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(6, 44, 74, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.attorney-card:hover .attorney-image::after {
    opacity: 1;
}

.attorney-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.attorney-card:hover .attorney-image img {
    transform: scale(1.08);
}

.attorney-info {
    padding: 40px 35px;
    background: #fff;
}

.attorney-name {
    font-size: 28px;
    font-weight: 700;
    color: #062c4a;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 10px;
}

.attorney-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #b38b32;
    transition: width 0.4s ease;
}

.attorney-card:hover .attorney-name::after {
    width: 100px;
}

.attorney-title {
    font-size: 15px;
    color: #b38b32;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.attorney-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.attorney-contact {
    margin-bottom: 25px;
    border-top: 1px solid #e8e8e8;
    padding-top: 25px;
}

.attorney-contact p {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.attorney-contact i {
    color: #b38b32;
    margin-right: 12px;
    width: 20px;
    font-size: 16px;
    text-align: center;
}

.attorney-contact a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.attorney-contact a:hover {
    color: #b38b32;
    text-decoration: underline;
}

.attorney-contact a:focus {
    outline: 2px solid #062c4a;
    outline-offset: 2px;
}

.btn-attorney-profile {
    background: linear-gradient(135deg, #b38b32 0%, #d4a336 100%);
    color: #fff;
    padding: 15px 35px;
    border: 2px solid #b38b32;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.btn-attorney-profile:hover {
    background: #fff;
    color: #062c4a;
    border-color: #062c4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(179, 139, 50, 0.4);
}

.btn-attorney-profile:focus {
    outline: 3px solid #062c4a;
    outline-offset: 4px;
}

/* Attorney Stats/Highlights */
.attorney-highlights {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.attorney-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attorney-highlights li {
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.attorney-highlights li::before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #b38b32;
    font-size: 12px;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta-section {
    background: linear-gradient(135deg, #b38b32 0%, #d4a336 100%);
    color: #fff;
    padding: 100px 0;
}

.final-cta-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.final-cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 600;
}

.final-cta-phone {
    background: #062c4a;
    color: #fff;
    padding: 20px 50px;
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 50px;
    transition: all 0.3s ease;
    border: 2px solid #062c4a;
}

.final-cta-phone:hover {
    background: #fff;
    color: #062c4a;
    border-color: #fff;
    transform: scale(1.05);
}

.final-cta-phone:focus {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.contact-form-row {
    margin-top: 40px;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
}

/* Contact Form 7 Styling */
.final-cta-section .wpcf7-form input[type="text"],
.final-cta-section .wpcf7-form input[type="email"],
.final-cta-section .wpcf7-form input[type="tel"],
.final-cta-section .wpcf7-form select,
.final-cta-section .wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
}

.final-cta-section .wpcf7-form input::placeholder,
.final-cta-section .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.final-cta-section .wpcf7-form select {
    color: #fff;
}

.final-cta-section .wpcf7-form select option {
    color: #1a1a1a;
}

.final-cta-section .wpcf7-form input[type="submit"],
.final-cta-section .wpcf7-form button[type="submit"] {
    background: #062c4a;
    color: #fff;
    padding: 18px 60px;
    border: 2px solid #062c4a;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.final-cta-section .wpcf7-form input[type="submit"]:hover,
.final-cta-section .wpcf7-form button[type="submit"]:hover {
    background: #fff;
    color: #062c4a;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.final-cta-section .wpcf7-form input[type="submit"]:focus,
.final-cta-section .wpcf7-form button[type="submit"]:focus {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* Contact Form Responsive */
.final-cta-section .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.final-cta-section .form-group {
    flex: 1;
}

.final-cta-section .form-group.full {
    flex: 1 1 100%;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1199px) {
    section {
        padding: 70px 0;
    }

    .hero-tagline {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 36px;
    }

    .practice-title {
        font-size: 32px;
    }

    .about-firm-name {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }

    .cta-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
    }

    .cta-subtitle {
        font-size: 36px;
    }

    .practice-card {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }

    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-section {
        padding: 100px 0;
        min-height: 500px;
    }

    .hero-tagline {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .practice-title {
        font-size: 28px;
    }

    .about-firm-name {
        font-size: 32px;
    }

    .final-cta-phone {
        font-size: 24px;
        padding: 15px 30px;
    }
}

@media (max-width: 575px) {
    .cta-phone {
        font-size: 24px;
        padding: 15px 30px;
    }

    .final-cta-phone {
        font-size: 24px;
        padding: 15px 30px;
    }

    .practice-content {
        padding: 30px 20px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.align-items-center {
    align-items: center;
}