/* ==================== ART GALLERY STYLES - NATURE THEME ==================== */

/* ==================== HEADER SECTION ==================== */
.gallery-header {
    padding-top: 6rem;
    text-align: center;
}

.section-title {
    font-family: "Cinzel", "Trajan Pro", Georgia, serif; /* Gothic/epic style */
    letter-spacing: 0.12em;
    color: #f5f5e8;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(128, 135, 146, 0.8) 50%, 
        transparent 100%);
    margin: 1.5rem auto 0;
}

/* ==================== ROCK CARD DESIGN - STONE TEXTURE ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    max-width: 1150px;
    margin: 0 auto;
}

.rock-card {
    background: linear-gradient(145deg, 
        rgba(94, 106, 123, 0.7) 0%, 
        rgba(73, 85, 99, 0.6) 50%, 
        rgba(59, 71, 86, 0.7) 100%);
    border-radius: 4px; /* Natural stone look */
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Stone texture overlay for natural feel */
.rock-card::before {
    content: '';
    position: absolute;
    inset: -5px; left: auto; right: auto; top: auto; bottom: auto;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 6px 6px;
    border-radius: inherit;
    z-index: -1;
}

/* Rock icon emoji */
.rock-card .emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 2px 6px rgba(94, 106, 123, 0.5));
}

/* Rock title */
.rock-card h3 {
    font-family: "Cinzel", "Trajan Pro", Georgia, serif; /* Gothic style */
    color: #f5f5e8;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

/* Rock message/quote */
.rock-card p {
    color: rgba(245, 245, 232, 0.9);
    font-style: italic;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Divider under rock cards */
.rock-card .divider {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(94, 106, 123, 0.5);
}

/* ==================== ROCK CARD HOVER EFFECTS - SILVER GLINT ==================== */
.rock-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        inset 0 -3px 10px rgba(79, 88, 101, 0.4),
        0 0 25px rgba(192, 192, 192, 0.1);
}

/* ==================== ROCK DETAILS MODAL (OPTIONAL) ==================== */
#rock-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 35, 24, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#rock-modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, 
        rgba(94, 106, 123, 0.8) 0%, 
        rgba(73, 85, 99, 0.7) 50%, 
        rgba(59, 71, 86, 0.8) 100%);
    border-radius: 4px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

.modal-emoji {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.modal-title {
    color: #f5f5e8;
    font-family: "Cinzel", Georgia, serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.modal-description {
    color: rgba(245, 245, 232, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.close-modal-btn {
    background: linear-gradient(90deg, 
        #b8c6cc 0%, 
        #e8ebf3 50%, 
        #a7b4bd 100%);
    color: var(--forest-green);
    border: none;
    padding: 0.8rem 2rem;
    font-family: "Cinzel", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -2px 8px rgba(79, 88, 101, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.4);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .gallery-header {
        padding-top: 5rem;
    }
    
    .section-title::after {
        width: 60%;
    }
    
    .rock-card h3 {
        font-size: 1.4rem;
    }
}
