/*
Theme Name: Douglas Arthur Inc - Child Theme
Theme URI: https://arthurinc.co.za
Description: Custom child theme for Douglas Arthur Inc Attorneys
Author: Douglas Arthur Inc
Author URI: https://arthurinc.co.za
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: douglas-arthur-child
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2d2d2d;
    --primary-light: #3d3d3d;
    --gold: #c9a959;
    --gold-light: #e8d5a3;
    --gold-dark: #a8893a;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e8e8e8;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-dark: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--off-white);
}

.section-primary {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.section-primary .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-weight: 300;
}

.gold-text {
    color: var(--gold);
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto 30px;
}

/* ===== FLOATING MENU ===== */
.floating-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(201, 169, 89, 0.2);
}

.floating-menu.scrolled {
    background: rgba(45, 45, 45, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.menu-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-logo .gold-text {
    font-size: 0.9rem;
    font-weight: 400;
}

.menu-logo .custom-logo {
    height: 50px;
    width: auto;
}

.menu-nav {
    display: flex;
    list-style: none;
    gap: 5px;
}

.menu-nav li a {
    color: rgba(255,255,255,0.8);
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    border-radius: 4px;
}

.menu-nav li a:hover,
.menu-nav li a.active {
    color: var(--gold);
    background: rgba(201, 169, 89, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #4a4a4a 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none"/><path d="M50 15 L85 35 L85 65 L50 85 L15 65 L15 35 Z" fill="none" stroke="rgba(201,169,89,0.05)" stroke-width="0.5"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.3;
}

#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(45,45,45,0.4) 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-logo-area {
    margin-bottom: 30px;
}

.hero-logo-area .custom-logo {
    max-height: 120px;
    width: auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(201, 169, 89, 0.15);
    border: 1px solid rgba(201, 169, 89, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-title-line {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Raleway', sans-serif;
}

.btn-gold {
    background: var(--gold);
    color: var(--primary);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 89, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll-indicator .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ELEMENTOR CONTENT AREA ===== */
.elementor-content-area,
.elementor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: var(--white);
}

/* ===== ABOUT SECTION ===== */
#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder .law-icon {
    font-size: 6rem;
    opacity: 0.15;
    position: absolute;
}

.about-image-placeholder .gavel-symbol {
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--primary);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-dark);
}

.about-image .experience-badge .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-image .experience-badge .label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-text .about-tagline {
    color: var(--gold);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--off-white);
    border-radius: 8px;
}

.about-stat .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.about-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ===== SERVICES SECTION ===== */
#services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(201, 169, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
}

.service-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== VALUES & MISSION SECTION ===== */
#values {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#values::before {
    content: '"';
    position: absolute;
    top: -100px;
    right: -50px;
    font-size: 500px;
    color: rgba(201, 169, 89, 0.03);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.values-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.values-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    margin-top: 30px;
}

.values-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.values-list li::before {
    content: '✦';
    color: var(--gold);
    font-size: 1rem;
}

.mission-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201, 169, 89, 0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.mission-box .quote-icon {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 10px;
    display: block;
}

.mission-box blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gold-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mission-box .mission-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.mission-box .bible-verse {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 89, 0.2);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.1rem;
}

/* ===== TEAM SECTION ===== */
#team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.team-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(201, 169, 89, 0.2);
    border: 3px solid var(--gold);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
}

.team-card-header h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-card-header .team-role {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.team-card-body {
    padding: 30px;
}

.team-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.team-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.team-qualifications .qual-badge {
    background: rgba(201, 169, 89, 0.1);
    color: var(--gold-dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: var(--off-white);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--primary);
    padding: 50px;
    border-radius: 12px;
    color: var(--white);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

.contact-info .contact-tagline {
    color: var(--gold);
    margin-bottom: 30px;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-details li .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(201, 169, 89, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.contact-details li .contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 3px;
}

.contact-details li .contact-value {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.contact-details li .contact-value a {
    color: var(--gold);
    transition: var(--transition);
}

.contact-details li .contact-value a:hover {
    color: var(--gold-light);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Raleway', sans-serif;
    transition: var(--transition);
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 89, 0.1);
}

.site-footer .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.site-footer .footer-gold {
    color: var(--gold);
}

.site-footer p {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.site-footer .footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .floating-menu {
        padding: 0 20px;
    }
    
    .menu-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(45, 45, 45, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid rgba(201, 169, 89, 0.2);
    }
    
    .menu-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-nav li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-title-line {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-grid,
    .values-grid,
    .contact-wrapper,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

