/*
  Common Styles - Shared across all pages
  ========================================

  All buttons follow the same design pattern from index page:
  - Timing: transform 0.5s ease, color 0.5s ease
  - Hover color: #C41E3A (brand red)
  - Hover scale: 1.3 (consistent across all buttons)
*/

/* ========================================
   ICON BUTTONS (Navigation)
   ======================================== */

.icon-button,
.home-button {
    display: inline-block;
    color: black;
    font-size: 32px;
    text-decoration: none;
    transition: transform 0.5s ease, color 0.5s ease;
}

.icon-button:hover,
.home-button:hover {
    color: #C41E3A;
    transform: scale(1.3);
}

/* Home Button Specific Positioning */
.home-button {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    z-index: 1000;
}

/* Records Button (for music player) */
.records-button {
    display: inline-block;
    color: black;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.5s ease, color 0.5s ease;
    position: absolute;
    top: 40px;
    right: 40px;
    padding: 10px;
    z-index: 1000;
}

.records-button:hover {
    color: #C41E3A;
    transform: scale(1.3);
}

/* ========================================
   ACTION BUTTONS (Media Controls)
   ======================================== */

.action-btn {
    background-color: transparent;
    border: none;
    color: #f0f0f0;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    margin: 0 30px;
    transition: transform 0.5s ease, color 0.5s ease;
    transform: scale(1);
}

.action-btn-big {
    font-size: 30px;
}

.action-btn:hover {
    color: #C41E3A;
    transform: scale(1.3);
}

/* ========================================
   ARROW BUTTONS (Carousels)
   ======================================== */

.arrow-left,
.arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 2em;
    padding: 0.2em 0.5em;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(221, 221, 221, 0.8);
    color: #333;
    transition: transform 0.5s ease, color 0.5s ease, background-color 0.5s ease;
}

.arrow-left {
    left: -4rem;
}

.arrow-right {
    right: -4rem;
}

.arrow-left:hover,
.arrow-right:hover {
    background-color: rgba(187, 187, 187, 0.8);
    color: #C41E3A;
    transform: translateY(-50%) scale(1.3);
}

/* ========================================
   MODAL NAVIGATION BUTTONS
   ======================================== */

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.5s ease, color 0.5s ease;
}

.close:hover,
.close:focus {
    color: #C41E3A;
    text-decoration: none;
    transform: scale(1.3);
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.5s ease, color 0.5s ease, background-color 0.5s ease;
    user-select: none;
    -webkit-user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #C41E3A;
    transform: scale(1.3);
}

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

@media (max-width: 768px) {
    .home-button {
        top: 10px;
        left: 10px;
        font-size: 20px;
        padding: 5px;
    }

    .home-button:hover {
        transform: scale(1.3);
    }

    .icon-button {
        font-size: 24px;
    }

    .icon-button:hover {
        transform: scale(1.3);
    }

    .records-button {
        top: 10px;
        right: 10px;
        font-size: 20px;
        padding: 5px;
    }

    .records-button:hover {
        transform: scale(1.3);
    }

    .arrow-left {
        left: 0.5rem;
    }

    .arrow-right {
        right: 0.5rem;
    }

    .action-btn {
        margin: 10px;
        padding: 10px;
        font-size: 30px;
    }

    .action-btn-big {
        font-size: 40px;
    }
}
