/* Custom styles for The Jag Lab - Bootstrap 5 overrides */

:root {
    --bs-body-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Letter spacing utility */
.letter-spacing {
    letter-spacing: 2px;
}

/* Hero/Page header shared styles */
.hero-section,
.page-header-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before,
.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container,
.page-header-bg .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.page-header-bg h1 {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    white-space: nowrap;
}

/* Home page hero - taller */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
}

.hero-section p.lead {
    font-size: clamp(1.1rem, 3vw, 1.5rem) !important;
}

/* Mobile hero section - smaller to show full background */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 0;
        aspect-ratio: 16 / 9;
        background-size: contain;
        background-position: center;
    }
}

/* Tablet hero section - iPad fix */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding: 0;
        aspect-ratio: 16 / 9;
        background-size: contain;
        background-position: center;
    }
    
    .hero-section h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .hero-section p.lead {
        font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
    }
}

/* Custom card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Section title underline */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #000;
    margin: 1rem auto 0;
}

/* Feature check icons */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #000;
}

/* Navbar active state - desktop only */
@media (min-width: 992px) {
    .navbar-dark .nav-link.active {
        border-bottom: 2px solid #fff;
    }
}

/* Navbar active state - mobile */
@media (max-width: 991.98px) {
    .navbar-dark .nav-link.active {
        border-left: 3px solid #fff;
        padding-left: 0.75rem;
    }
}

/* Form inputs */
.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.15);
}

/* Button overrides for black/white theme */
.btn-dark {
    background-color: #000;
    border-color: #000;
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
}

.btn-outline-light:hover {
    color: #000;
}

/* Image hover effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* About image styling */
.about-image {
    position: relative;
}

.about-image img {
    object-fit: cover;
}


