/* ========================================
   COLLECTION PAGE STYLES - OPTIMIZED FOR 100% ZOOM
   ======================================== */

/* ========== COLLECTION PAGE HERO - WITH SIMPLIFIED SLASHES ========== */
.collection-hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background: radial-gradient(ellipse at 20% 30%, #2B4150 0%, #2B4150 25%, #207C7E 55%, #1D95D1 100%) !important;
}

.collection-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Simplified angled slashes - UPDATED SIZE AND POSITIONING */
.collection-hero-pattern {
    position: absolute;
    top: -3%;
    left: 40%;
    right: -10%;
    bottom: -3%;
    overflow: hidden;
    background-image: url('https://arrowheadprstg.wpengine.com/wp-content/uploads/2026/01/subelement.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 750px;
    opacity: 1;
    z-index: 2;
}

/* Remove all pseudo-elements from pattern */
.collection-hero-pattern::before,
.collection-hero-pattern::after {
    display: none;
}

/* Remove middle block */
.collection-hero-background::before {
    display: none;
}

/* Remove segmented lines */
.collection-hero-segmented-lines,
.collection-hero-segmented-lines::before,
.collection-hero-segmented-lines::after {
    display: none;
}

/* Hero wrapper to control content width and alignment */
.collection-hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .collection-hero-wrapper {
        padding: 0 40px;
    }
}

/* Content aligns left within wrapper */
.collection-hero-content {
    max-width: 750px;
    margin: 0;
    text-align: left;
}

/* Hero Label (h1) - REDUCED SIZE */
.collection-hero-label {
    color: #6EB510;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Title (h2) - REDUCED SIZE */
.collection-hero-title {
    color: #FFFFFF;
    font-family: 'Urbanist', sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px 0;
    max-width: 650px !important;
    animation: fadeInTyping 1.2s ease-out;
}

/* Typing animation - clip-path version */
@keyframes fadeInTyping {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

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

/* Hero Subtitle - REDUCED SIZE */
.collection-hero-subtitle {
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 16px 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Description - REDUCED SIZE */
.collection-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 40px 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Hero CTA button with fade in */
.collection-hero-cta {
    margin-top: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Button - REDUCED SIZE */
.collection-hero-cta .btn-collection-hero {
    display: inline-block;
    background: #2b4150;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 194, 207, 0.3);
    position: relative;
    overflow: hidden;
}

.collection-hero-cta .btn-collection-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.collection-hero-cta .btn-collection-hero:hover {
    background: #2b4150;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(92, 194, 207, 0.4);
    color: #FFFFFF;
}

.collection-hero-cta .btn-collection-hero:hover::before {
    left: 100%;
}

/* ========== RESPONSIVE HERO PATTERN ========== */

/* Small to Medium Desktop (1000px - 1400px) - Move pattern further right */
@media (min-width: 1000px) and (max-width: 1400px) {
    .collection-hero-pattern {
        left: 45% !important;
        right: -12% !important;
        background-position: 100% center !important;
    }
}

/* Hide SVG pattern on screens less than 1000px */
@media (max-width: 999px) {
    .collection-hero-pattern {
        display: none !important;
    }
    
    /* Ensure all pseudo-elements are hidden */
    .collection-hero-pattern::before,
    .collection-hero-pattern::after,
    .collection-hero-background::before,
    .collection-hero-segmented-lines,
    .collection-hero-segmented-lines::before,
    .collection-hero-segmented-lines::after {
        display: none !important;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .collection-hero-title {
        font-size: 42px;
    }
    
    .collection-hero-subtitle {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .collection-hero-section {
        padding: 80px 0;
    }
    
    .collection-hero-label {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .collection-hero-title {
        font-size: 40px;
    }
    
    .collection-hero-subtitle {
        font-size: 16px;
    }
    
    .collection-hero-description {
        font-size: 16px;
    }
    
    .collection-hero-cta .btn-collection-hero {
        font-size: 16px;
        padding: 14px 32px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .collection-hero-title {
        font-size: 40px;
    }
}

/* ========== ACCESSIBILITY ========== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .collection-hero-label,
    .collection-hero-title,
    .collection-hero-subtitle,
    .collection-hero-description,
    .collection-hero-cta {
        animation: none;
    }
}

/* ========== CARDS SECTION ========== */
.collection-cards-section {
    padding: 100px 0;
    background: #F8F8F8;
}

.collection-cards-section .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .collection-cards-section .container {
        padding: 0 40px;
    }
}

.collection-cards-grid {
    display: grid;
    gap: 40px;
    margin: 0 auto;
}

/* 4 columns by default */
.collection-cards-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

/* 3 columns option */
.collection-cards-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

/* ========== INDIVIDUAL CARD - CLEAN LAYOUT ========== */
.collection-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.collection-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.collection-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Image at Top - REDUCED HEIGHT */
.collection-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #E5E5E5;
}

.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Remove overlay for clean look */
.collection-card-overlay {
    display: none;
}

/* Card Content Below Image - REDUCED PADDING */
.collection-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

/* Card Title - REDUCED SIZE */
.collection-card-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #2B4150;
    margin: 0 0 14px 0;
    transition: color 0.3s ease;
}

.collection-card:hover .collection-card-title {
    color: #1d95d1;
}

/* Card Description - REDUCED SIZE */
.collection-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Arrow at Bottom - IMPROVED */
.collection-card-arrow {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1d95d1 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.3s ease;
}

.collection-card-arrow::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 12px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 1L19 6M19 6L14 11M19 6H1' stroke='%231d95d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-card-arrow {
    color: #1d95d1 !important;
}

.collection-card:hover .collection-card-arrow::after {
    transform: translateX(5px);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 1L19 6M19 6L14 11M19 6H1' stroke='%231d95d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* ========== CTA SECTION ========== */
.collection-cta-section {
    position: relative;
    padding: 100px 0;
    background: #F5F5F5;
    text-align: center;
}

.collection-cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .collection-cta-section .container {
        padding: 0 40px;
    }
}

.collection-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Heading - REDUCED SIZE */
.collection-cta-heading {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #2B4150;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* CTA Description - REDUCED SIZE */
.collection-cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2B4150;
    margin-bottom: 36px;
    opacity: 0.8;
}

/* CTA Button - REDUCED SIZE */
.btn-collection-cta {
    display: inline-block;
    background: #6EB510;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(110, 181, 16, 0.3);
}

.btn-collection-cta:hover {
    background: #1D95D1;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(29, 149, 209, 0.4);
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
    .collection-cards-grid[data-columns="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collection-cards-grid[data-columns="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collection-hero-title {
        font-size: 42px;
    }
    
    .collection-hero-subtitle {
        font-size: 18px;
    }
    
    .collection-cta-heading {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .collection-cards-grid[data-columns="4"],
    .collection-cards-grid[data-columns="3"] {
        grid-template-columns: 1fr;
    }
    
    .collection-card-image {
        height: 200px;
    }
    
    .collection-hero-title {
        font-size: 40px;
    }
    
    .collection-hero-subtitle {
        font-size: 16px;
    }
    
    .collection-hero-description {
        font-size: 16px;
    }
    
    .collection-hero-cta .btn-collection-hero {
        font-size: 16px;
        padding: 14px 32px;
    }
    
    .collection-cta-section {
        padding: 80px 0;
    }
    
    .collection-cta-heading {
        font-size: 28px;
    }
    
    .collection-cta-description {
        font-size: 16px;
    }
    
    .collection-card-title {
        font-size: 18px;
    }
    
    .collection-card-description {
        font-size: 14px;
    }
}