/* Introduction & Featured Products Section (Shop) */
.introduction {
    background: #f9f6f2;
    padding: 48px 0 32px 0;
    border-bottom: 1.5px solid #e8e2d3;
}
.introduction .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.introduction h2 {
    color: #bfa16a;
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    margin-bottom: 16px;
}
.introduction p {
    color: #4a3c28;
    font-size: 1.13rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.featured-products {
    background: #fff;
    padding: 48px 0 32px 0;
}
.featured-products .container {
    max-width: 1100px;
    margin: 0 auto;
}
.featured-products h2 {
    color: #bfa16a;
    font-family: 'Merriweather', serif;
    font-size: 1.7rem;
    margin-bottom: 24px;
    text-align: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fffbe7;
    border: 1.5px solid #ffe08a;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(191,161,106,0.08);
    padding: 18px 14px 20px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
}
.product-card:hover {
    box-shadow: 0 4px 24px rgba(191,161,106,0.14);
    border-color: #bfa16a;
    transform: translateY(-4px) scale(1.02);
}
.product-card img {
    width: 100%;
    max-width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
    background: #f5f5f5;
}
.product-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #4a3c28;
    margin-bottom: 6px;
    font-family: 'Merriweather', serif;
}
.product-category {
    font-size: 0.98rem;
    color: #bfa16a;
    margin-bottom: 8px;
    font-weight: 600;
}
.product-description {
    font-size: 0.97rem;
    margin-bottom: 12px;
    color: #555;
}
.quote-btn {
    padding: 9px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}
.quote-btn:hover {
    background-color: #388e3c;
    transform: scale(1.04);
}
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #bfa16a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 18px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 700px) {
    .introduction,
    .featured-products {
        padding: 28px 0 14px 0;
    }
    .product-card img {
        max-width: 100%;
        height: 120px;
    }
    .product-grid {
        gap: 14px;
    }
}

/* Shop Section - Full Image Display */
.shop-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
    font-family: 'Open Sans', sans-serif;
}

.search-box button {
    padding: 0 20px;
    background-color: #6F4E37;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background-color: #2C3E50;
}

.category-filter select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    min-width: 200px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Full Image Display Styles */
.product-image {
    flex: 3 1 0%;
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    flex: 1 1 0%;
    width: 100%;
    padding: 16px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #6F4E37;
    font-family: 'Merriweather', serif;
}

.product-category {
    font-size: 0.9rem;
    color: #E67E22;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 8px;
    flex: 1;
    color: #555;
}

.quote-btn {
    width: 100%;
    padding: 10px;
    background-color: #00ff2a;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quote-btn:hover {
    background-color: #2C3E50;
}

.quote-btn i {
    font-size: 1.1rem;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e0e0e0;
    border-top-color: #6F4E37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: #777;
}

.no-products i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #6F4E37;
}

/* Pagination Styles */
.pagination {
    display: none;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #6F4E37;
}

.pagination-btn.active {
    background-color: #E67E22;
    color: white;
    border-color: #E67E22;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .shop-controls {
        flex-direction: column;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .category-filter select {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        aspect-ratio: 4 / 3;
    }
}
@media (max-width: 576px) {
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item {
        aspect-ratio: 4 / 3; /* Professional 4:3 ratio */
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
    }
    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-image {
        aspect-ratio: 4 / 3;
    }
    .product-card {
        font-size: 0.95rem;
    }
    .product-title {
        font-size: 1rem;
    }
    .product-description {
        font-size: 0.9rem;
    }
}
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
}