/* Custom styles for Rock Native Trailer Rentals */

/* Hero section styling */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1200x600') center/cover no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    margin-top: 56px; /* Account for fixed navbar */
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section spacing */
section {
    padding: 80px 0;
}

/* Gallery section */
#gallery .card-img {
    height: 250px;
    object-fit: cover;
}

/* Requirements section */
#requirements i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

/* Included section */
#included .card {
    transition: transform 0.3s ease;
}

#included .card:hover {
    transform: translateY(-5px);
}

/* Reviews section */
#reviews .card {
    transition: transform 0.3s ease;
}

#reviews .card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer ul li {
    margin-bottom: 10px;
}

footer .form-control {
    border-radius: 0;
}

footer .btn {
    border-radius: 0;
}

/* Trailer cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* About section */
#about {
    background-color: #f8f9fa;
}

/* Contact section */
#contact {
    background-color: #ffffff;
}

/* Form styling */
.form-control {
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Footer */
footer {
    background-color: #212529;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 40vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom utility classes */
.text-primary {
    color: #0d6efd !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Navigation adjustments */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* SEO and accessibility improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar-brand img {
  height: 85px;        /* shrink logo */
  width: auto;         /* keep proportions */
  max-width: 150px;    /* prevent it from stretching too wide */
  object-fit: contain; /* ensures no distortion */
}

.navbar {
  padding-top: 0rem;   /* default is .5rem */
  padding-bottom: 0rem;
}
body {
  padding-top: 70px; /* adjust if your navbar is taller */
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

<style>
  .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
</style>
