/* 
 * File: attractions.css
 * Purpose: Styles for the "Explore Nearby Attractions" section on the index page.
 * Notes: Applies to the attraction cards and section layout.
 */

/* Main section styling */
.attractions-section {
    padding: 80px 0; /* Vertical padding */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); /* Subtle gradient */
    position: relative;
}

/* Background pattern for visual interest */
.attractions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/patterns/abstract-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.03; /* Very subtle */
    z-index: 0;
}



/* Individual attraction card */
.attraction-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft shadow */
    transition: all 0.4s ease; /* Smooth hover */
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Hover effect for cards */
.attraction-card:hover {
    transform: translateY(-10px); /* Lift up */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

/* Image container */
.attraction-img-container {
    overflow: hidden;
    position: relative;
    height: 250px; /* Fixed height */
}

/* Attraction image styling */
.attraction-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom */
}

/* Zoom effect on hover */
.attraction-card:hover .attraction-img {
    transform: scale(1.1);
}

/* Badge for attraction type */
.attraction-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #009688 0%, #4CAF50 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Content area styling */
.attraction-content {
    padding: 25px;
}

/* Attraction title */
.attraction-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

/* Underline for title */
.attraction-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #009688 0%, #4CAF50 100%);
    border-radius: 3px;
}

/* Description text */
.attraction-desc {
    font-size: 1rem;
    color: #6c757d; /* Gray */
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Link styling */
.attraction-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: #009688; /* Teal */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect for link */
.attraction-link:hover {
    color: #00796b; /* Darker teal */
    transform: translateX(5px);
}

/* Arrow icon in link */
.attraction-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

/* Arrow movement on hover */
.attraction-link:hover i {
    transform: translateX(3px);
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation class */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Delay classes for staggered animation */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .attractions-title {
        font-size: 2rem; /* Smaller title */
    }

    .attraction-img-container {
        height: 200px; /* Reduced height */
    }
}

@media (max-width: 576px) {
    .attractions-title {
        font-size: 1.8rem;
    }

    .attractions-section {
        padding: 60px 0; /* Less padding */
    }
}/* 
 * File: attractions.css
 * Purpose: Styles for the "Explore Nearby Attractions" section on the index page.
 * Notes: Applies to the attraction cards and section layout.
 */

/* Main section styling */
.attractions-section {
    padding: 80px 0; /* Vertical padding */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); /* Subtle gradient */
    position: relative;
}

/* Background pattern for visual interest */
.attractions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/patterns/abstract-pattern.svg') no-repeat;
    background-size: cover;
    opacity: 0.03; /* Very subtle */
    z-index: 0;
}

/* Section title styling */
.attractions-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: #2c3e50; /* Dark blue-gray */
    position: relative;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Underline effect for title */
.attractions-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #009688 0%, #4CAF50 100%); /* Teal to green */
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Individual attraction card */
.attraction-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft shadow */
    transition: all 0.4s ease; /* Smooth hover */
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Hover effect for cards */
.attraction-card:hover {
    transform: translateY(-10px); /* Lift up */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

/* Image container */
.attraction-img-container {
    overflow: hidden;
    position: relative;
    height: 250px; /* Fixed height */
}

/* Attraction image styling */
.attraction-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom */
}

/* Zoom effect on hover */
.attraction-card:hover .attraction-img {
    transform: scale(1.1);
}

/* Badge for attraction type */
.attraction-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #009688 0%, #4CAF50 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Content area styling */
.attraction-content {
    padding: 25px;
}

/* Attraction title */
.attraction-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

/* Underline for title */
.attraction-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #009688 0%, #4CAF50 100%);
    border-radius: 3px;
}

/* Description text */
.attraction-desc {
    font-size: 1rem;
    color: #6c757d; /* Gray */
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Link styling */
.attraction-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: #009688; /* Teal */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect for link */
.attraction-link:hover {
    color: #00796b; /* Darker teal */
    transform: translateX(5px);
}

/* Arrow icon in link */
.attraction-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

/* Arrow movement on hover */
.attraction-link:hover i {
    transform: translateX(3px);
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation class */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Delay classes for staggered animation */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .attractions-title {
        font-size: 2rem; /* Smaller title */
    }

    .attraction-img-container {
        height: 200px; /* Reduced height */
    }
}

@media (max-width: 576px) {
    .attractions-title {
        font-size: 1.8rem;
    }

    .attractions-section {
        padding: 60px 0; /* Less padding */
    }
}