/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Karolina
 Template: Divi
 Version: 1.0.0
*/

.custom-albums-section {
    font-family: 'Inter', sans-serif;
    margin: 0 auto;
    padding: 20px 0;
}

/* Filteri */
.album-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4b5563;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #8D001C;
    border-color: #8D001C;
    color: white;
}

/* Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Base Kartica */
.album-item {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

/* Start from scratch kartica */
.album-card-scratch {
    border: 2px dashed #8D001C; /* Svetlo crvena isprekidana */
    background-color: #FFE5E5;
    min-height: 450px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.album-card-scratch:hover {
    transform: scale(1.02);
}
.scratch-content {
    color: #8D001C;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
	font-family: Font Family/Body;
	font-weight: 700;
	font-style: bold;
	font-size: paragraph md/font size;
	line-height: paragraph md/line height;
	letter-spacing: 0%;
	font-family: 'Plus Jakarta Sans';
}

/* Standardna Kartica */
.album-card {
    background: white;
   border: 1px solid #DADBDD;
}

.card-image-wrapper {
    position: relative;
    background-color: #d1d5db; /* Siva pozadina ako je providna slika */
    border-radius: 16px 16px 0 0;
    height: 334px;
	background-size: cover;
    overflow: visible;
	background-position: center;
}

.scratch-content .plus-icon {
	font-size: 40px;
    font-weight: 100;
    position: relative;
    top: 4px;
    left: 7px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

/* Lebdeći Avatar */
.card-avatar {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid white;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.card-body {
    padding: 24px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
	font-size: 32px;
	font-family: 'Fredoka';
	font-weight: 700;
	font-style: bold;
	font-size: h4/font size;
	line-height: h4/line height;
    color: #8D001C;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 12px 0;
	padding-bottom: 0 !important;
}

.card-specs {
    color: #22252B;
	font-size: 14px;
    margin: 0 0 12px 0;
    font-weight: 600;
	font-family: 'Plus Jakarta Sans';
	font-weight: 700;
	font-style: bold;
	font-size: paragraph sm/font size;
	line-height: paragraph sm/line height;
	letter-spacing: 0%;
	padding-bottom: 0 !important;
}

.card-price {
    font-weight: 700;
    color: #8D001C;
    margin: 0 0 24px 0;
	font-family: 'Fredoka';
	font-size: 24px;
	font-weight: 700;
	font-style: bold;
	font-size: h5/font size;
	line-height: h5/line height;
	letter-spacing: 0%;
	padding-bottom: 0 !important;
}

/* Tagovi (Pills) */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag-pill {
    background-color: #fce7f3; /* Svetlo roze pozadina za tag */
    color: #4b5563;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-style: italic;
}

/* Dugme */
.card-btn {
    margin-top: auto; /* Gura dugme na dno kartice */
    background-color: #8D001C;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: opacity 0.2s;
	font-family: Font Family/Body;
	font-weight: 700;
	font-style: bold;
	font-size: paragraph md/font size;
	line-height: paragraph md/line height;
	letter-spacing: 0%;
	font-size: 16px;
	font-family: 'Plus Jakarta Sans';
}

.card-btn:hover {
    opacity: 0.9;
    color: white;
}