/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure all images have sharp corners */
img {
    border-radius: 0 !important;
}

/* Add grey stroke to work_2_placeholder.jpg */
.work-item img[src*="work_2_placeholder.jpg"] {
    border: 0.25px solid #cccccc;
}

/* Align campaigns gif flush left within frame */
.work-item img[src*="Main_campaigns.gif"] {
    object-position: left center !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
    font-size: 0.9rem;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-family: "halyard-display", Inter, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: calc(2rem - 0.25in);
    text-align: center;
}

/* Apply Halyard font specifically to WORK section titles */
.work-section .section-title {
    font-family: "halyard-display", Inter, sans-serif;
    font-weight: 700;
}

/* Header/Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1920 / 664;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

video.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #d2bda5 !important;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 2.0rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    text-align: left;
    flex: 0 0 auto;
    font-family: "halyard-display", Inter, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: "halyard-display", Inter, sans-serif;
}

.nav-menu a:hover {
    color: #0092f9;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0092f9;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Intro Info Blocks */
.intro-blocks {
    background: #ddff00;
    padding: 2rem 0;
}

.block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-block {
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.info-block h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #000000;
    font-weight: 600;
}

.info-block p {
    color: #000000;
    font-size: 0.9rem;
}

/* WORK Section */
.work-section {
    background: #ffffff;
    padding: calc(5rem - 0.25in) 0 calc(5rem - 0.625in) 0;
}

.work-section .container {
    padding: 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 400px);
    column-gap: 0.625in;
    row-gap: 0.5in;
    justify-content: center;
    width: calc(800px + 0.625in + 1in);
    padding: 0.5in;
    margin: 0 auto;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 400px;
    margin-bottom: 0;
}

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

.work-item img,
.work-item video {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}
.work-item:nth-child(3),
.work-item:nth-child(4) {
    transform: translateY(-0.125in);
}


.work-item:hover img,
.work-item:hover video {
    transform: scale(1.1);
}

.work-overlay {
    position: static !important;
    background: transparent !important;
    color: black !important;
    padding: 0 !important;
    margin-top: 0.1875in !important;
    transform: none !important;
    transition: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.work-item:hover .work-overlay {
    transform: none !important;
}

.work-overlay h3 {
    font-size: 1rem;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        padding: 0.5in 0.5in;
        justify-items: center;
        gap: 0.5in;
    }

    .work-item {
        width: 100%;
        max-width: 400px;
    }
}

/* Editorial Header Styles */
.editorial-header {
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
}

.editorial-header-image {
    width: 100%;
    max-width: 1200px;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Editorial & Lifestyle Image Grid - 4 Across Even Spacing */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.editorial-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

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

.editorial-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* All images same size for 4-across grid */
.editorial-grid-item { 
    height: 200px; 
    width: 100%; /* All images same width in grid */
}

@media (max-width: 768px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

/* ABOUT Section */
.about-section {
    background: #ead2fc;
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    height: 100%;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
    transform: translateX(-30px);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #000000;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #000000;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    opacity: 1;
    line-height: 1.2;
}

/* CASE STUDIES Section */
.case-studies-section {
    background: #f75647;
    padding: 4.5rem 0 5rem 0;
    color: white;
}

.case-studies-section .section-title {
    color: white;
    margin-bottom: 3.5rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-study-card {
    background: #fbcbab !important;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.case-study-card:hover {
    transform: translateY(-10px);
    background: #fbcbab !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.case-study-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #f5574d;
}

.case-study-content p {
    margin-bottom: 1.5rem;
    color: black;
}

.case-study-btn {
    background: white;
    color: #f5574d;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.case-study-btn:hover {
    background: #f5574d;
    color: white;
}

/* CONTACT Section */
.contact-section {
    background: #cfbeab;
    padding: 5rem 0;
    color: black;
}

.contact-section .section-title {
    color: black;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: black;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: black;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: black;
    gap: 0.5rem;
}

.contact-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: black;
}

.contact-item a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0092f9;
}

/* Global Back to Portfolio Button */
.back-button {
    display: inline-block;
    margin: 3rem auto;
    padding: 0.8rem 2rem;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.back-button:hover {
    background: #333333;
    transform: translateY(-2px);
}

.social-links {
    display: none;
}

/* Retail Grid Styles */
.retail-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.retail-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.retail-image-item {
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.retail-image-item:hover {
    transform: scale(1.02);
}

.retail-image-item img {
    transition: opacity 0.3s ease;
}

.retail-image-item img:hover {
    opacity: 0.5;
}

/* Responsive retail grids */
@media (max-width: 768px) {
    .retail-grid-2, .retail-grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: normal;
}

.submit-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: 5% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.close-lightbox {
    color: #fff;
    font-size: 2rem;
    align-self: flex-end;
    cursor: pointer;
}

/* Case Study Modal */
.case-study-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

/* Full Case Study Modal */
.full-case-study-modal {
    display: none;
    position: fixed;
    z-index: 10010 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    overflow-y: auto;
}

.full-modal-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.close-full-modal {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(0,0,0,0.8);
    color: white;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-full-modal:hover {
    background: rgba(0,0,0,1);
    transform: scale(1.1);
}

.full-case-study-content {
    width: 100%;
    min-height: 100vh;
}

/* Work Modal */
.work-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.work-modal-content {
    background: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
    overflow-y: auto;
}

.work-modal-content.product-packaging-modal {
    background: #ffffff;
}

.close-work-modal {
    position: fixed;
    top: 80px;
    right: 30px;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close-work-modal:hover {
    background: rgba(0,0,0,0.8);
}

.work-modal-header {
    display: none !important;
}

.work-modal-header h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
    color: #000000 !important;
    font-weight: 600 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.work-modal-header p {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0;
}

.work-modal-body {
    padding: 0 0 96px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.work-modal-image {
    margin-bottom: 2rem;
    text-align: center;
}

.work-modal-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.work-modal-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.work-modal-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.work-modal-details ul {
    list-style: none;
    padding: 0;
}

.work-modal-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #333333;
}

.work-modal-details li:last-child {
    border-bottom: none;
}

.case-study-modal .modal-content {
    background: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.case-study-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.case-study-modal .close-modal:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Case Study Content Styling */
.case-study-header {
    padding: 3rem 3rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.case-study-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.case-study-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

.case-study-hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.case-study-section {
    padding: 2rem 3rem;
    border-bottom: 1px solid #eee;
}

.case-study-section:last-child {
    border-bottom: none;
}

.case-study-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.case-study-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.process-step h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.partner-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.partner-card h3 {
    font-size: 1.2rem;
    color: #0092f9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.impact-stats .stat-item:not(:last-child) {
    margin-right: -50px;
}

.stat-item {
    text-align: center;
    background: #fb5a93;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
    padding-top: 60px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.case-study-quote {
    background: #f8f9fa;
    border-left: 4px solid #0092f9;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #333;
}

.results-list {
    list-style: none;
    padding: 0;
}

.results-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.results-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0092f9;
    font-weight: bold;
    font-size: 1.2rem;
}

.results-list li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-study-modal .modal-content {
        margin: 1% auto;
        max-width: 95%;
    }
    
    .case-study-header {
        padding: 2rem 1.5rem;
    }
    
    .case-study-header h1 {
        font-size: 2rem;
    }
    
    .case-study-section {
        padding: 1.5rem;
    }
    
    .feature-grid,
    .process-steps,
    .partners-grid,
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Image Modal Styles - Updated v3 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10005 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95) !important; /* Dark background */
    overflow: hidden;
}

.image-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    max-width: 80%;
    line-height: 1.4;
}

/* Large Single Image Layout Styles */
.single-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
}

.large-image-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.large-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.image-counter {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow-left {
    left: 2rem;
}

.nav-arrow-right {
    right: 2rem;
}

.nav-arrow i {
    color: white;
    font-size: 1.5rem;
}

.image-placeholder-large {
    width: 80vw;
    height: 60vh;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        justify-content: center;
        padding-top: 0;
    }
    
    .image-modal-content {
        padding: 1rem;
    }
    
    .image-modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-image {
        max-width: 95%;
        max-height: 70%;
    }
    
    .modal-caption {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .single-image-container {
        padding: 1rem;
    }
    
    .large-image {
        max-height: 70vh;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow-left {
        left: 1rem;
    }
    
    .nav-arrow-right {
        right: 1rem;
    }
    
    .nav-arrow i {
        font-size: 1.2rem;
    }
    
    .image-counter {
        bottom: -2rem;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Product & Packaging Individual Grid Styles */
.product-title-overlay {
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.product-title-overlay h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    text-align: left;
}

.product-header {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 2rem;
    margin-top: 0;
}

.product-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

.product-description {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
}

.product-description p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.product-packaging-container {
    padding: 3rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.product-main-image-container {
    width: 650px;
    height: 490px;
    margin-bottom: 1rem;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    display: block;
}

.product-thumbnails-horizontal {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    max-width: 650px;
    width: 650px;
    padding: 0;
    white-space: nowrap;
}

.product-thumbnails-horizontal::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnails-horizontal::-webkit-scrollbar-track {
    background: transparent;
}

.product-thumbnails-horizontal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.product-thumbnail-horizontal {
    width: 150px;
    height: 100px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 0 !important;
    overflow: hidden;
}

.product-thumbnail-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    transition: opacity 0.3s ease;
}

.product-thumbnail-horizontal:hover img {
    opacity: 0.8;
}

.product-grid-description {
    text-align: left !important;
    margin-top: 1rem !important;
    padding: 0 1rem !important;
    max-width: 650px !important;
    align-self: flex-start !important;
}

.product-grid-description h3 {
    font-size: 1rem !important;
    font-weight: bold !important;
    margin-bottom: 0.5rem !important;
    color: #333 !important;
}

.product-grid-description p {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    color: #666 !important;
}

.product-grid-description .photo-credit {
    font-size: 0.8rem !important;
    font-style: italic !important;
    color: #999 !important;
    margin-bottom: 0.25rem !important;
    margin-top: 0.5rem !important;
}

.product-grid-description .photo-credit + .photo-credit {
    margin-top: 0.1rem !important;
}

/* Standalone grids (no thumbnails) */
.product-grid-item.standalone {
    align-items: flex-start !important;
}

.product-grid-item.standalone .product-grid-description {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Tight spacing for grids 1-5, 9-11, 13-15, and 19-20 */
.product-grid-item.tight-spacing {
    margin-bottom: -2.5rem !important;
}

/* Extra spacing for grid 6 */
.product-grid-item.extra-spacing {
    margin-top: 72px !important;
}

/* Medium spacing for grid 12 (0.5" down) */
.product-grid-item.medium-spacing {
    margin-top: 48px !important;
}

/* Small spacing for grids 16, 17, and 18 (0.25" down) */
.product-grid-item.small-spacing {
    margin-top: 24px !important;
}

/* Quarter spacing for grids 1 and 14 (0.25" up) */
.product-grid-item.quarter-spacing {
    margin-top: -24px !important;
}

/* Reduced spacing for grid 9 (closer to grid 8) */
.product-grid-item.reduced-spacing {
    margin-top: -48px !important;
}

/* Mobile responsive styles for product grids */
@media (max-width: 768px) {
    .product-main-image-container {
        width: 100%;
        max-width: 350px;
        height: 280px;
    }
    
    .product-thumbnail-horizontal {
        width: 80px;
        height: 60px;
    }
    
    .product-packaging-container {
        gap: 3rem;
        padding: 2rem 0.5rem;
    }
}

/* Digital carousel styles */
.digital-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.digital-carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.digital-carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.digital-carousel-slide iframe {
    width: 100%;
    height: 100%;
}

.digital-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    cursor: pointer;
}

.digital-carousel-indicator.digital-current {
    background: #000;
}

.digital-placeholder {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
    display: block;
}

.digital-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.digital-play-icon {
    display: none;
}


