/* Custom styles for ExploreHull Theme */

/* Additional styling for the home template */
.newsletter-section {
    background-color: #0099cc;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

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

.newsletter-title {
    color: #fff;
    margin-bottom: 20px;
}

/* Styling for the featured cards */
.featured-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.featured-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-content p {
    flex-grow: 1;
    margin-bottom: 15px;
}

.featured-link {
    align-self: flex-start;
    font-weight: 600;
    color: #0099cc;
    position: relative;
    padding-right: 20px;
}

.featured-link:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.featured-link:hover:after {
    transform: translate(3px, -50%);
}

/* Styling for the sticky header */
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Styling for active menu items */
.menu a.active {
    background-color: #007aa3;
}

/* Additional responsive adjustments */
@media (max-width: 767px) {
    .hero-section {
        height: 400px;
    }
    
    .featured-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .newsletter-button {
        width: 100%;
    }
}

/* Styling for the social sharing section */
.social-sharing {
    margin-top: 40px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.social-sharing h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
}

.social-sharing a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 15px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-sharing a i {
    margin-right: 5px;
}

.share-twitter {
    background-color: #1DA1F2;
}

.share-facebook {
    background-color: #4267B2;
}

.share-linkedin {
    background-color: #0077B5;
}

.share-pinterest {
    background-color: #E60023;
}

/* Admin bar adjustments */
.admin-bar .site-header.sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header.sticky {
        top: 46px;
    }
}
