/* 
 * Tristan Roberts Audio - Main Stylesheet
 * Version 1.0
 */

/* Global Styles */
:root {
    --primary-color: #f0ad4e;
    --secondary-color: #343a40;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease-in-out;
}

a:hover {
    color: #d49032;
}

/* Navbar Styling */
.navbar {
    transition: all var(--transition-speed) ease-in-out;
    padding: 15px 0;
}

.navbar-scrolled {
    padding: 8px 0;
    background-color: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
    left: 15%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

/* Video Background for future use */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Service Boxes */
.service-box {
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out;
    border-bottom: 3px solid transparent;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-features {
    text-align: left;
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    font-weight: bold;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-pricing {
    margin-top: auto;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Portfolio Section */
.portfolio-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all var(--transition-speed) ease-in-out;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.track-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

audio {
    width: 100%;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
}

audio::-webkit-media-controls-panel {
    background-color: rgba(240, 173, 78, 0.2);
}

.services-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 15px;
    margin-top: 10px;
}

/* Testimonials Section */
.testimonial-box {
    background-color: #fff;
    border-radius: 8px;
    transition: all var(--transition-speed) ease-in-out;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    padding: 0 10px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
    color: #555;
}

/* Contact Section */
.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: rgb(0, 0, 0) !important;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease-in-out;
}

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

footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
}

footer .social-link:hover {
    background-color: var(--primary-color);
    color: rgb(0, 0, 0) !important;
}

/* Form Styling */
.form-control {
    border: 1px solid #cccccc;
    padding: 12px;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    transition: all var(--transition-speed) ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(240, 173, 78, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all var(--transition-speed) ease-in-out;
}

.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: rgb(0, 0, 0);
}

.btn-warning:hover {
    background-color: #e69b2e;
    border-color: #e69b2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Page Header (for internal pages) */
.page-header {
    padding-top: 100px;
    background: linear-gradient(to right, var(--dark-color), #3a3f44);
}

/* Discography Page Specific Styles */
.stats-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-tag {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.filter-tag i {
    margin-left: 5px;
    cursor: pointer;
}

.discography-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.discography-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.discography-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.discography-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.discography-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.discography-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.certification-badges {
    margin-top: auto;
}

.streaming-links {
    display: flex;
    gap: 10px;
}

.streaming-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    color: #343a40;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease-in-out;
}

.streaming-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.recent-post-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* Blog Page Specific Styles */
.blog-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease-in-out;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.featured-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.post-meta {
    color: #6c757d;
    font-size: 0.85rem;
}

.post-tag {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    transition: all var(--transition-speed) ease-in-out;
}

.post-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
    color: #343a40;
    border-radius: 50%;
    margin-right: 5px;
    transition: all var(--transition-speed) ease-in-out;
}

.share-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.author-img {
    width: 80px;
    height: 80px;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
    color: #343a40;
    border-radius: 50%;
    margin-right: 8px;
    transition: all var(--transition-speed) ease-in-out;
}

.author-social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.comment-img img {
    width: 50px;
    height: 50px;
}

.reply-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* About Page Specific Styles */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--primary-color);
}

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

.timeline-year {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.approach-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-speed) ease-in-out;
}

.approach-box:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.approach-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.credits-list .list-group-item {
    border-radius: 8px;
    margin-bottom: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.equipment-category ul li {
    margin-bottom: 8px;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .service-box {
        min-height: auto;
        padding: 30px;
        margin-bottom: 20px;
    }
    
    #hero {
        min-height: 70vh;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 15px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .page-header {
        padding-top: 80px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline-year {
        left: -40px;
        width: 35px;
        height: 35px;
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .social-links {
        flex-wrap: wrap;
    }
    
    .portfolio-item {
        margin-bottom: 20px;
    }
    
    .stats-summary .stat-number {
        font-size: 1.5rem;
    }
    
    .stats-summary .stat-label {
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}
