/* Custom CSS for Celtic Fiddlers Website - 2025 Redesign */

/* General Styles */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #444;
    --light-grey: #f3f4f6;
    --border-color: #ddd;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: "Source Sans Pro", sans-serif;
    color: var(--text-color);
    line-height: 1.7;
}

a {
    transition: all 0.3s ease;
}

.section-padding {
    padding: 80px 0;
}

.section-title h2 {
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.section-divider {
    position: relative;
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 15px auto 30px;
}

.section-divider .divider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 0 10px;
    font-size: 20px;
    color: var(--primary-color);
}

.section-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #666;
}

/* Hero Carousel */
.hero-carousel-section {
    position: relative;
}

.carousel-item {
    height: 80vh;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    bottom: 100px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.photographer-credit {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* Calendar Section */
.event-container {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.event-table {
    border-collapse: separate;
    border-spacing: 0;
}

.event-table thead th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.event-table thead th:first-child {
    border-top-left-radius: 8px;
}

.event-table thead th:last-child {
    border-top-right-radius: 8px;
}

.event-table tbody tr {
    transition: all 0.3s ease;
}

.event-table tbody tr:hover {
    background-color: rgba(26, 115, 232, 0.1);
}

.event-table td {
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.event-link {
    color: var(--primary-color);
    font-weight: 600;
}

.cancelled-event td {
    color: var(--danger-color);
    text-decoration: line-through;
}

.no-events-message {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

/* Biography Section */
.biography-section {
    background-color: var(--light-color);
}

.bio-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    height: 100%;
}

.bio-card p {
    margin-bottom: 15px;
    text-indent: 5%;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline {
    position: relative;
    max-height: 500px;
    overflow-y: auto;
    padding: 0 20px;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
}

.timeline-content {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-full {
    position: relative;
    padding: 20px;
}

.timeline-full:before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
}

.view-more-timeline {
    text-align: center;
    margin-top: 20px;
}

/* Album Sections */
.latest-album-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.album-cover-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.album-cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.album-cover:hover .album-overlay {
    opacity: 1;
}

.album-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.album-metadata {
    margin-bottom: 20px;
}

.album-metadata p {
    margin-bottom: 10px;
    color: #666;
}

.tracklist h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.track-list-container {
    max-height: 250px;
    overflow-y: auto;
}

.track-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.track-item:hover {
    background-color: rgba(26, 115, 232, 0.05);
}

.track-number {
    display: inline-block;
    width: 30px;
    color: var(--primary-color);
    font-weight: 600;
}

.play-btn {
    padding: 10px 25px;
    border-radius: 30px;
}

/* Album Cards */
.album-card {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-year {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* Band Member Section */
.member-card {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.member-card:hover img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-info {
    padding: 15px;
    text-align: center;
}

.member-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.member-instruments {
    color: #666;
    font-size: 14px;
}

.member-info-btn {
    padding: 8px 20px;
    border-radius: 30px;
}

/* Gallery Section */
.gallery-container {
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: all 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 24px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Section */
.contact-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.contact-info h4,
.quick-contact h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-details li {
    margin-bottom: 15px;
    color: #666;
}

.contact-details i {
    width: 25px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-grey);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.form-control {
    height: 50px;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

textarea.form-control {
    height: auto;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 60vh;
    }

    .carousel-caption {
        bottom: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 50vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .timeline:before {
        left: 15px;
    }

    .timeline-dot {
        left: 5px;
    }

    .timeline-item {
        padding-left: 30px;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 40vh;
    }

    .carousel-caption {
        bottom: 20px;
        padding: 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
