/* ==============================
   Pages Styling
   ============================== */

.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.navbar-dark {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Boat Hero Slider */
.boat-hero-slider {
    position: relative;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-static-bg {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-header-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.section-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.9));
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-header-overlay h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-header-overlay p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* Rating Badge */
.rating-badge {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.rating-stars {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.rating-text {
    font-size: 1rem;
    color: #666;
}

.rating-link {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.rating-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.reviews-header h3 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 2rem;
}

.google-rating-display {
    margin: 20px 0;
}

.rating-stars-large {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.rating-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.rating-divider {
    color: #999;
    font-size: 1.5rem;
}

.google-reviews-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.google-reviews-link:hover {
    color: #1a73e8;
    text-decoration: underline;
}

/* Photo Gallery */
.photo-gallery {
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
}

/* Modal Styles */
#galleryModal .modal-content {
    background: transparent;
    border: none;
}

#galleryModal .modal-body img {
    border-radius: 10px;
}

/* Boat Cards */
.boat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.boat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.boat-icon {
    font-size: 3rem;
    color: #2d2d2d;
    margin-bottom: 20px;
}

.boat-card h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.boat-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Reviews Section */

.review-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.review-card .stars {
    color: #ffc107;
}

.review-card p {
    color: #333;
    font-style: italic;
    margin-bottom: 10px;
}

.review-author {
    margin-top: 10px;
}

.review-author strong {
    color: #1a1a1a;
}

.review-card small {
    color: #666;
    font-weight: 600;
}

/* Back to Home Section */
.back-to-home-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-home-section .btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-home-section .btn:hover {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d2d2d, #404040);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #404040, #555555);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Responsive adjustments for pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 60px 20px 40px;
    }
    
    .section-logo {
        max-width: 220px;
        margin-bottom: 20px;
    }
    
    .hero-static-bg {
        height: 400px;
    }
    
    .hero-header-overlay h1 {
        font-size: 2.5rem;
    }
    
    .hero-header-overlay p {
        font-size: 1.1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .rating-stars-large {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    .rating-number {
        font-size: 1.5rem;
    }
    
    .rating-info {
        font-size: 1rem;
        flex-wrap: nowrap;
    }
    
    .google-reviews-link {
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .section-logo {
        max-width: 180px;
        margin-bottom: 15px;
    }
    
    .hero-static-bg {
        height: 350px;
    }
    
    .hero-header-overlay h1 {
        font-size: 1.8rem;
    }
    
    .hero-header-overlay p {
        font-size: 1rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
    
    .rating-stars-large {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .rating-number {
        font-size: 1.3rem;
    }
    
    .rating-info {
        font-size: 0.9rem;
        gap: 8px;
    }
}

/* ==============================
   Featured Car Cards
   ============================== */

.featured-car-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.featured-highlight {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.featured-highlight:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.car-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.car-image-container img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-car-card:hover .car-image-container img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.truck-badge {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

.suv-badge {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.luxury-badge {
    background: rgba(241, 196, 15, 0.95);
    color: #1a1a1a;
}

.car-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.car-year {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
}

.car-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item {
    display: flex;
    align-items: center;
    color: #2d2d2d;
    font-size: 0.9rem;
}

.spec-item i {
    margin-right: 10px;
    color: #666;
    width: 20px;
}

.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(0, 0, 0, 0.08);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    color: #404040;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
}

.feature-tag i {
    font-size: 0.7rem;
}

.car-details .btn {
    margin-top: auto;
    transition: all 0.3s ease;
}

.car-details .btn:hover {
    background: white !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for car cards */
@media (max-width: 992px) {
    .car-image-container img {
        height: 220px;
    }
    
    .car-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .car-image-container img {
        height: 200px;
    }
    
    .car-details {
        padding: 20px;
    }
    
    .car-specs {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .car-image-container img {
        height: 180px;
    }
    
    .car-title {
        font-size: 1.2rem;
    }
    
    .car-year {
        font-size: 0.85rem;
    }
    
    .spec-item {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

/* ==============================
   Coming Soon Card
   ============================== */

.coming-soon-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.coming-soon-icon i {
    font-size: 3rem;
    color: white;
}

.coming-soon-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

@media (max-width: 768px) {
    .coming-soon-card {
        padding: 40px 30px;
    }
    
    .coming-soon-icon {
        width: 80px;
        height: 80px;
    }
    
    .coming-soon-icon i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .coming-soon-card {
        padding: 30px 20px;
    }
    
    .coming-soon-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .coming-soon-icon i {
        font-size: 2rem;
    }
}
