/* Custom CSS for PJ Metzger Website */

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: rgba(33, 37, 41, 0.95);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-link {
    margin: 0 0.5rem;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(33, 37, 41, 0.9), rgba(33, 37, 41, 0.8)), url('https://source.unsplash.com/random/1920x1080/?web,design') no-repeat center center/cover;
    display: flex;
    align-items: center;
    margin-top: -76px; /* To offset the navbar height */
    padding-top: 76px;
}

/* Divider */
.divider {
    height: 4px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Service Cards */
.service-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    transition: transform var(--transition-speed);
}

.card:hover .service-icon {
    transform: translateY(-10px);
}

.card {
    transition: transform var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
}

/* Contact Icons */
.contact-icon {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: all var(--transition-speed);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Media Queries */
@media (max-width: 767px) {
    .hero-section {
        text-align: center;
    }
    
    .divider {
        margin: 0 auto;
    }
}