/* Brooks Asset Protection & Consulting - Website Styles */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --light-gold: #f0d97d;
    --primary-gray: #4a5568;
    --dark-gray: #1a1a1a;
    --medium-gray: #6b7280;
    --light-gray: #f7f7f7;
    --silver: #c0c0c0;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f0d97d 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-gold);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .company-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text .tagline-small {
    font-size: 0.75rem;
    color: var(--silver);
    font-weight: 300;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary-gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.92) 0%, rgba(74, 85, 104, 0.92) 100%),
                url('images/bapcheader.webp') center/cover;
    color: var(--white);
    padding: 10rem 2rem 6rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.hero .tagline {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: var(--primary-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--light-gray);
}

.cta-button {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--dark-gray);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--primary-gold);
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-gold);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--dark-gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(20%);
}

.service-card h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 1.5rem;
}

.about-features li {
    padding: 0.75rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-features li::before {
    content: "✓";
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.5rem;
}

.about-image {
    background: url('images/bapc2.webp') center/cover;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-gold);
}

/* Service Area Section */
.service-area {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.service-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.service-area .section-title {
    color: var(--white);
}

.service-area .section-title::after {
    background: var(--gold-gradient);
}

.service-area .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.counties {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.county {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem 3rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.county:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.county h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.county p {
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-gold);
}

.contact-info h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.contact-details h4 {
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--medium-gray);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-gold);
}

.contact-form h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: var(--gold-gradient);
    color: var(--dark-gray);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-top: 3px solid var(--primary-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

.footer-content p strong {
    color: var(--primary-gold);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.social-links a:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .logo img {
        height: 50px;
    }
    
    .logo-text .company-name {
        font-size: 1rem;
    }
    
    .hero {
        padding: 8rem 2rem 4rem;
    }
    
    .hero-logo img {
        height: 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1.3rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .counties {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media print {
    header {
        position: static;
    }
    
    .hero {
        margin-top: 0;
        padding: 4rem 2rem;
    }
    
    .cta-button,
    .submit-button {
        display: none;
    }
}