/* General Styles */
body {
    margin-top: 80px;
}

.carpenter-shops-container body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.carpenter-shops-container h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.carpenter-shops-container div {
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
}
.highlight-blue {
    background: linear-gradient(111.3deg, rgb(74, 105, 187) 9.6%, rgb(205, 77, 204) 93.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Shop Card Styles */
.carpenter-shops-container .shop-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.carpenter-shops-container .shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Video Styles */
.carpenter-shops-container .shop-video {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
}

.carpenter-shops-container .shop-info {
    padding: 15px;
}

.carpenter-shops-container .shop-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.carpenter-shops-container .shop-info .location {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.carpenter-shops-container .view-profile-btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    background-color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carpenter-shops-container .view-profile-btn:hover {
    background-color: #2980b9;
}

h2.section-heading {
    font-size: 1.6em;
    font-weight: bold;
    color: #2c3e50;
    padding: 10px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
}

/* Header Styling */
h4 {
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff; /* Blue color for emphasis */
    text-align: center;
    padding: 10px;
    background: linear-gradient(45deg, rgba(128, 210, 204, 1), rgba(220, 240, 171, 1)); /* Gradient with logo colors */
    color: #fff;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hover effect for Headers */
h4:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg, rgba(220, 240, 171, 1), rgba(128, 210, 204, 1)); /* Reverse gradient on hover */
}

/* Adjust color for specific header texts */
h4:nth-of-type(1) {
    background: linear-gradient(45deg, rgba(128, 210, 204, 1), rgba(220, 240, 171, 1));
}

h4:nth-of-type(2) {
    background: linear-gradient(45deg, rgba(220, 240, 171, 1), rgba(128, 210, 204, 1));
}

h4:nth-of-type(3) {
    background: linear-gradient(45deg, rgba(128, 210, 204, 1), rgba(220, 240, 171, 1));
}

.shop-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shop-name {
    display: flex;
    align-items: center;
    gap: 10px; /* Adds space between icons and button */
}

.website-link, .directions-icon-link {
    margin-right: 10px; /* Adds space between icons */
}

.view-profile-btn {
    margin-top: 10px; /* Adds space above the button */
}

.shop-info h3 {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.shop-info h3 .shop-name-icon {
    margin-right: 10px;
}

.website-link {
    margin-left: 10px;
}

.website-link img {
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.website-link:hover img {
    opacity: 0.7;
}

.carpenter-shops-container .shop-card .shop-info .action-row {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between the icon and the button */
    margin-top: 10px;
}

.directions-icon-link img {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.directions-icon-link img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    opacity: 0.7; /* Added opacity change for consistency */
}

/* Same effect for google.svg icon */
.website-link img, .directions-icon-link img {
    transition: opacity 0.3s ease, transform 0.3s ease; /* Ensures both icons have the same transition effects */
}

.website-link img:hover, .directions-icon-link img:hover {
    opacity: 0.7; /* Change opacity */
    transform: scale(1.1); /* Slight zoom effect */
}

.view-profile-btn {
    padding: 5px 10px;
    font-size: 14px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.view-profile-btn:hover {
    background-color: #0056b3;
}
.location {
    display: flex;
    align-items: center; /* Align the icon and text vertically */
    gap: 10px; /* Adds space between the icon and the text */
}

.location img {
    vertical-align: middle; /* Ensures the icon is aligned with the text */
}

/* General styling for the filter container */
.filter {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Styling the label */
.filter label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    .carpenter-shops-container .shop-card {
        margin: 10px auto;
        width: 100%;
    }
}

/* Laptop-specific Grid Layout */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .carpenter-shops-container div {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Creates a responsive grid */
        gap: 20px; /* Spacing between grid items */
    }
}

@media screen and (max-width: 480px) {
    .carpenter-shops-container h2 {
        font-size: 20px;
    }

    .carpenter-shops-container .shop-info h3 {
        font-size: 18px;
    }

    .carpenter-shops-container .view-profile-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}
