/* Aperture Photography Website - Custom Styles */

/* Custom font for the headline */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Custom font for body text */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Body background for dark theme */
body {
    background-color: #0a0a0a;
    color: #e5e7eb;
}

/* Portfolio filter button active state */
.filter-btn.active {
    background-color: #fff;
    color: #111827;
}

/* Gallery item transitions */
.gallery-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Video container for responsive videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Timeline styles for services page */
.timeline-item:before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 1px;
    height: 100%;
    background-color: #4b5563;
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: -28px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid #101010;
}

/* Map styling for dark theme */
.map-iframe {
    filter: grayscale(1) invert(0.9) contrast(0.9);
}

/* FAQ Accordion styles */
.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-question.open svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

/* Print shop styles */
.print-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.print-overlay {
    transition: opacity 0.3s ease-in-out;
}

/* Horizontal scroll styles for index-2.html */
.scroll-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.scroll-container::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

/* Article content styles for single post pages */
.article-content h2 {
    font-size: 1.875rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.article-content p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

.article-content a {
    color: #ffffff;
    text-decoration: underline;
}

.article-content a:hover {
    color: #9ca3af;
}

.article-content blockquote {
    border-left: 4px solid #ffffff;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-style: italic;
    color: #d1d5db;
}

.article-content ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 0.5rem;
    font-size: 1.125rem;
    color: #d1d5db;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content ul li {
    margin-bottom: 0.5rem;
}

.sidebar-widget {
    background-color: rgba(31, 41, 55, 0.5);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Navigation active states */
.nav-link.active {
    font-weight: 700;
    border-bottom: 2px solid #ffffff;
}

.nav-link:not(.active) {
    border-bottom: 2px solid transparent;
}

/* Dropdown menu styles */
#home-dropdown-menu .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* Mobile menu active states */
.mobile-link.active {
    font-weight: 700;
    color: #ffffff;
}

/* Continuous scrolling animation for the image carousel */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 60s linear infinite;
}

.group:hover .animate-scroll {
    animation-play-state: paused;
}

/* Main hero background */
body {
    background-color: #0a0a0a;
    color: #e5e7eb; /* Default text color */
}

#hero {
    background-image: radial-gradient(circle at top, rgba(51, 65, 85, 0.4), transparent 60%);
}
.hero-content {
    margin-top: 8rem;
}

/* Portfolio filter styles */
.filter-btn {
    background-color: rgba(55, 65, 81, 0.5);
    color: #e5e7eb;
    border: 1px solid rgba(75, 85, 99, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background-color: rgba(75, 85, 99, 0.7);
    border-color: rgba(156, 163, 175, 0.5);
}

.filter-btn.active {
    background-color: #fff;
    color: #111827;
    border-color: #fff;
}

/* Portfolio gallery item transition */
.gallery-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* FAQ Accordion styles */
.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-question.open svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}