/* Collections Page CSS */

/* Section 1: Hero Banner */
.collection-hero-banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.collection-hero-banner::before {
    content: '';
    display: block;
    height: 90px;
    width: 100%;
}

@media (max-width: 1024px) {
    .collection-hero-banner::before {
        height: 80px;
    }
}

@media (max-width: 640px) {
    .collection-hero-banner::before {
        height: 70px;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Hero Banner Section */
.hero-banner-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-banner-section .full-width-banner {
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

/* Banner image captions - converted to fine print like the-book.php */
.hero-banner-section .image-caption,
.collection-banner .image-caption {
    font-size: 13px;
    text-align: center;
    color: #666;
    font-style: normal;
    margin-top: 0.25rem;
    line-height: 1.4;
    font-weight: normal;
}


/* Section 2: Introduction */
.collection-intro {
    padding: 40px 0;
    background: transparent;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.main-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    position: relative;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 0 15px;
}

.intro-text-preview,
.intro-text-full {
    transition: opacity 0.3s ease;
}

.intro-toggle-btn {
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.intro-toggle-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.intro-toggle-btn .toggle-chevron {
    transition: transform 0.3s ease;
}

.research-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.research-image-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.research-image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.research-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.research-caption-preview,
.research-caption-full {
    flex: 1;
}

.research-caption {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-medium);
    text-align: center;
    margin: 0 0 1rem 0;
}

.research-toggle-btn {
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: center;
    transition: all 0.3s ease;
}

.research-toggle-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.research-toggle-btn .toggle-chevron {
    transition: transform 0.3s ease;
}

/* Print Specifications Section */
.print-specifications-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin: 30px auto 80px;
    max-width: 1000px;
}

.print-specs-heading {
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.print-specs-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-info-item {
    display: flex;
    align-items: baseline;
    padding: 10px 20px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #c8a882;
}

.spec-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    flex-shrink: 0;
    min-width: 140px;
}

.spec-value {
    color: #555;
    flex: 1;
}

.spec-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-left: 10px;
}

/* Collection Sections */
.collection-section {
    margin-bottom: 5rem;
}

.collection-header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.collection-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.signature-logo {
    height: 180px;
    margin: 1.5rem 0;
}

.collection-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.collection-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.collection-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 20px;
}

.collection-banner {
    position: relative;
    width: 100%;
    line-height: 0;
    margin: 2rem 0 0 0;
}

.full-width-banner {
    width: 100%;
    height: auto;
    display: block;
}

.banner-caption {
    text-align: center;
    padding: 15px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-medium);
    background: transparent;
    margin: 0.25rem 0 2rem 0;
    line-height: 1.4;
    position: relative;
    z-index: 10;
    width: 100%;
    display: block;
}

/* Collection Sections */
.section-collection {
    margin-bottom: 80px;
}

.collection-image {
    width: 100%;
    line-height: 0;
    margin-bottom: 30px;
}

.collection-image .full-width-banner {
    width: 100%;
    height: auto;
    display: block;
}

.collection-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.collection-title {
    font-size: 32px;
    font-weight: 600;
    color: #4a90e2;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.collection-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.collection-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.collection-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.collection-buttons .btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.collection-buttons .btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.collection-buttons .btn-primary:hover {
    background-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 127, 204, 0.3);
}

.collection-buttons .btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.collection-buttons .btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Research Stories Section */
.section-research-stories {
    padding: 40px 0;
    background: transparent;
}

.section-research-stories .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: flex-start;
}

.research-story {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.research-story img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.story-content {
    padding: 25px;
}

.story-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .research-images-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    
    .main-title {
        font-size: 2rem;
    }
    
    .main-subtitle {
        font-size: 1.1rem;
    }
    
    .collection-title {
        font-size: 1.75rem;
    }
    
    .research-images-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .collection-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .collection-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 768px) {
    /* Print Specifications Responsive */
    .print-specifications-info {
        padding: 20px 15px;
        margin: 25px 15px 50px;
    }

    .print-specs-heading {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .spec-info-item {
        flex-direction: column;
        padding: 12px 15px;
    }

    .spec-label {
        margin-bottom: 5px;
        min-width: auto;
    }

    .spec-note {
        margin-left: 0;
        margin-top: 5px;
        display: block;
    }

    .collection-intro {
        padding: 60px 0;
    }
    
    .collection-section {
        margin-bottom: 4rem;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .intro-text {
        margin-bottom: 3rem;
    }
    
    .intro-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .collection-header {
        padding: 3rem 0 1.5rem;
    }
    
    .collection-title {
        font-size: 1.5rem;
    }
    
    .collection-subtitle {
        font-size: 0.9rem;
    }
    
    .collection-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .research-image-item img {
        height: 250px;
    }
    
    .research-caption {
        padding: 20px;
    }
    
    .banner-caption {
        font-size: 11px;
        padding: 10px 15px;
        margin: 0.2rem 0 2rem 0;
    }

    /* Banner image captions fine print responsive */
    .hero-banner-section .image-caption,
    .collection-banner .image-caption {
        font-size: 12px;
        padding: 0 10px;
    }
    
    .signature-logo {
        height: 80px;
    }
}

@media (max-width: 576px) {
    
    .collection-intro {
        padding: 40px 0;
    }
    
    .collection-section {
        margin-bottom: 3rem;
    }
    
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .main-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .intro-text {
        margin-bottom: 2rem;
    }
    
    .intro-text p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .collection-header {
        padding: 2rem 0 1rem;
    }
    
    .collection-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .collection-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .collection-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .collection-buttons .btn {
        width: 180px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .research-image-item img {
        height: 200px;
    }
    
    .research-caption {
        padding: 15px;
        font-size: 13px;
    }
    
    .banner-caption {
        font-size: 10px;
        padding: 8px 12px;
        margin: 0.15rem 0 2rem 0;
    }

    /* Banner image captions fine print responsive */
    .hero-banner-section .image-caption,
    .collection-banner .image-caption {
        font-size: 11px;
        text-align: center;
        padding: 0 10px;
        line-height: 1.4;
    }
    
    .signature-logo {
        height: 120px;
    }
}

/* Collection Gallery Sections */
.collection-section .gallery-grid {
    margin: 2rem auto;
    padding: 2rem 0;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-content: center;
    place-items: start center;
}

/* Responsive adjustments for collection gallery grids */
@media (max-width: 992px) {
    .collection-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .collection-section .gallery-grid {
        grid-template-columns: 1fr;
        margin: 1.5rem auto;
        padding: 1.5rem 0;
        gap: 30px;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .collection-section .gallery-grid {
        gap: 20px;
        padding: 1rem 0;
    }
}

/* Additional fine print responsive breakpoints for banner captions */
@media (max-width: 480px) {
    .hero-banner-section .image-caption,
    .collection-banner .image-caption {
        font-size: 10px;
        padding: 0 8px;
        margin-top: 8px;
    }
}

@media (max-width: 360px) {
    .hero-banner-section .image-caption,
    .collection-banner .image-caption {
        font-size: 9px;
        padding: 0 5px;
        margin-top: 5px;
        line-height: 1.3;
    }
}

/* Collections Overview Section */
.collections-overview-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.collections-overview-header {
    text-align: center;
    margin-bottom: 60px;
}

.collections-overview-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.collections-overview-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.collections-overview-section .print-specifications-info {
    margin: 0 auto;
}

.collections-overview-section .gallery-grid {
    margin-top: 120px;
}

/* Align collection buttons to bottom */
.collections-overview-section .gallery-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.collections-overview-section .item-image-wrapper {
    height: 280px;
}

.collections-overview-section .item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
    min-height: 180px;
}

.collections-overview-section .collection-view-btn {
    margin-top: auto !important;
    align-self: center;
}

/* Responsive Design for Collections Overview */
@media (max-width: 992px) {
    .collections-overview-section {
        padding: 60px 0;
    }

    .collections-overview-title {
        font-size: 1.9rem;
    }

    .collections-overview-subtitle {
        font-size: 1rem;
    }

    .collections-overview-section .gallery-item {
        min-height: 450px;
    }

    .collections-overview-section .item-image-wrapper {
        height: 250px;
    }

    .collections-overview-section .item-content {
        min-height: 160px;
    }
}

@media (max-width: 768px) {
    .collections-overview-section {
        padding: 50px 0;
    }

    .collections-overview-header {
        margin-bottom: 40px;
    }

    .collections-overview-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .collections-overview-subtitle {
        font-size: 0.95rem;
    }

    .collections-overview-section .gallery-item {
        min-height: 400px;
    }

    .collections-overview-section .item-image-wrapper {
        height: 220px;
    }

    .collections-overview-section .item-content {
        min-height: 140px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .collections-overview-section {
        padding: 40px 0;
    }

    .collections-overview-title {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .collections-overview-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .collections-overview-section .gallery-item {
        min-height: 350px;
    }

    .collections-overview-section .item-image-wrapper {
        height: 200px;
    }

    .collections-overview-section .item-content {
        min-height: 120px;
        padding: 18px;
    }
}